Documentation
¶
Index ¶
Constants ¶
View Source
const ( ResourceGateway = "gateway" ResourceNode = "node" ResourceSource = "source" ResourceField = "field" )
View Source
const (
EncodePrefix = "BASE64/"
)
Variables ¶
This section is empty.
Functions ¶
func GetQuickIDValueFunc ¶
Types ¶
type Config ¶
type Config struct { URL string `json:"url" yaml:"url" mapstructure:"url"` Insecure bool `json:"insecure" yaml:"insecure" mapstructure:"insecure"` Username string `json:"username" yaml:"username" mapstructure:"username"` Password string `json:"password" yaml:"password" mapstructure:"password"` // encode as base64 LoginTime string `json:"loginTime" yaml:"loginTime" mapstructure:"loginTime"` ExpiresIn string `json:"expiresIn" yaml:"expiresIn" mapstructure:"expiresIn"` }
Config used across to access the mycontroller
func (*Config) EncodePassword ¶
func (c *Config) EncodePassword()
EncodePassword encodes and update the password
func (*Config) GetPassword ¶
GetPassword decodes and returns the password
Click to show internal directories.
Click to hide internal directories.