Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureMaps ¶ added in v1.0.5
type AzureMaps struct {
WksNameMap map[string]*YamlWorkspace
WksIdMap map[string]*YamlWorkspace
}
type JsonProxyLog ¶ added in v1.2.0
type JsonResponse ¶
type JsonResponse struct {
Error string `json:"error,omitempty"`
Data interface{} `json:"data,omitempty"`
}
type JsonRootLog ¶ added in v1.2.0
type JsonRootLog struct {
Info string `json:"info,omitempty"`
Debug string `json:"debug,omitempty"`
Error string `json:"error,omitempty"`
ProxyLog *JsonProxyLog `json:"proxy,omitempty"`
Time string `json:"time"`
}
type JsonVersion ¶ added in v1.0.5
type YamlConfig ¶
type YamlConfig struct {
ListenIP string `yaml:"listen_ip"`
ListenPort uint16 `yaml:"listen_port"`
Workspaces []YamlWorkspace `yaml:"workspaces"`
}
Struct to unmarshal the yaml config file used by the service at start time
type YamlWorkspace ¶
type YamlWorkspace struct {
Id string `yaml:"id"`
Name string `yaml:"name"`
Secret string `yaml:"secret"`
}
Struct to unmarshal the workspaces of the yaml config file
Click to show internal directories.
Click to hide internal directories.