From ecf2e9447bf6e61a50ec40fc45e67b7ed4916a3f Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Fri, 3 Feb 2023 12:27:56 +0100 Subject: [PATCH] added constants --- mist/builder.go | 3 ++- mist/constants.go | 7 +++++++ mist/mist.go | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 mist/constants.go diff --git a/mist/builder.go b/mist/builder.go index 2d20218..e37faf0 100644 --- a/mist/builder.go +++ b/mist/builder.go @@ -5,7 +5,6 @@ import ( "github.com/go-resty/resty/v2" ) - // // func BuildMist(url string, debug bool, header *HeaderConfigurator) (*MistGo, error) { @@ -40,3 +39,5 @@ func (o *MistGo) debugPrint(data interface{}) { log.Println(data) } } + +// diff --git a/mist/constants.go b/mist/constants.go new file mode 100644 index 0000000..3a97095 --- /dev/null +++ b/mist/constants.go @@ -0,0 +1,7 @@ +package mist_go + +const ( + // AUTH + SESSION = "/" + // +) \ No newline at end of file diff --git a/mist/mist.go b/mist/mist.go index 81fd1cc..c16c95f 100644 --- a/mist/mist.go +++ b/mist/mist.go @@ -14,7 +14,10 @@ type MistGo struct { } type IMistGoClient interface { + // HealthCheck() error + IsDebug() bool + // } func (o *MistGo) HealthCheck() error {