Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { Name string `json:"name"` Protocolo string `json:"protocolo"` Host string `json:"host"` Port int `json:"port"` Gateway Gateway `json:"gateway"` Schemas []Schema `json:"schemas"` Ativo bool `json:"ativo"` }
func (*Api) GetGateway ¶
func (*Api) GetSchemaByName ¶
func (*Api) GetSchemas ¶
type Boot ¶
type Boot struct { Name string `json:"name"` Schemas []Schema `json:"schemas"` Ativo bool `json:"ativo"` }
func (*Boot) GetSchemaByHost ¶
func (*Boot) GetSchemaByName ¶
func (*Boot) GetSchemaByPort ¶
func (*Boot) GetSchemaBySID ¶
func (*Boot) GetSchemaByUser ¶
func (*Boot) GetSchemas ¶
type Config ¶
type Config struct { Boots []Boot `json:"boots"` Apis []Api `json:"apis"` Path string `json:"path"` }
func (*Config) GetApiByName ¶
func (*Config) GetBootByName ¶
type Gateway ¶
type Gateway struct { Protocolo string `json:"protocolo"` Host string `json:"host"` Port int `json:"port"` Ativo bool `json:"ativo"` }
func NewGateway ¶
func NewGateway() *Gateway
type JsonConfig ¶
type JsonConfig struct { Name string // contains filtered or unexported fields }
func NewJsonConfig ¶
func NewJsonConfig() *JsonConfig
func NewJsonConfigGlobal ¶
func NewJsonConfigGlobal() *JsonConfig
func (*JsonConfig) GetConfig ¶
func (j *JsonConfig) GetConfig() *Config
func (*JsonConfig) Load ¶
func (j *JsonConfig) Load() error
Click to show internal directories.
Click to hide internal directories.