Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ACTIVE_CONF_PROFILE = "default"
ACTIVE_CONF_PROFILE
View Source
var BACKEND_AUTH_TOKEN = ""
BACKEND_AUTH_TOKEN conf
View Source
var BackendProto string = "https"
BackendProto var
View Source
var BackendURLDomain string = "api.nebulant.io"
BackendURLDomain var
View Source
var BridgeOrigin string = "https://bridge.nebulant.io"
BridgeOrigin var
View Source
var DEBUG bool = false
DEBUG conf
View Source
var FrontOrigin string = "https://builder.nebulant.io"
FrontOrigin var
View Source
var FrontOriginPre string = "https://builder.nebulant.dev"
FrontOriginPre var
View Source
var FrontUrl string = "https://builder.nebulant.io"
FrontUrl var
View Source
var PROFILING bool = false
PROFILING conf
View Source
var Version = "DEV build"
Version var
View Source
var VersionDate = ""
VersionDate var
View Source
var WSScheme string = "wss"
WSScheme var
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct {
AuthToken *string `json:"auth_token"`
}
Credential struct
var CREDENTIALS *Credential = &Credential{}
CREDENTIALS
func ReadCredential ¶
func ReadCredential(credentialName string) (*Credential, error)
ReadCredential func
type Credentials ¶
type Credentials struct { Version string `json:"version"` Credentials map[string]Credential `json:"credentials"` }
Ej:
{ "default": { "auth_token": "TOKENHASH" } }
Credentials struct
Click to show internal directories.
Click to hide internal directories.