types

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

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 JsonProxyLog struct {
	Status uint16 `json:"status"`
	Body   string `json:"body,omitempty"`
	Method string `json:"method"`
	URI    string `json:"uri"`
	IP     string `json:"ip,omitempty"`
}

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 JsonStats added in v1.0.5

type JsonStats struct {
	StartTime     string            `json:"start_time"`
	ResponseCodes map[string]uint32 `json:"response_codes"`
}

type JsonVersion added in v1.0.5

type JsonVersion struct {
	Version string `json:"binary_version"`
	Sha256  string `json:"binary_sha256"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL