Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func GetConfigModel ¶
func GetConfigModel() interface{}
Types ¶
type Model ¶ added in v1.8.10
type Model struct { Region string `mapstructure:"region" json:"region" yaml:"region" toml:"region" validate:"printascii,required"` AccessKey string `mapstructure:"accesskey" json:"accesskey" yaml:"accesskey" toml:"accesskey" validate:"printascii,required"` SecretKey string `mapstructure:"secretkey" json:"secretkey" yaml:"secretkey" toml:"secretkey" validate:"printascii,required"` Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket" toml:"bucket" validate:"printascii,omitempty"` }
type ModelStatus ¶ added in v1.9.5
type ModelStatus struct { Config Model `json:"config" yaml:"config" toml:"config" mapstructure:"config" validate:"required,dive"` HTTPClient libhtc.Options `json:"http-client" yaml:"http-client" toml:"http-client" mapstructure:"http-client" validate:"required,dive"` Monitor libreq.OptionsHealth `json:"health" yaml:"health" toml:"health" mapstructure:"health" validate:"required,dive"` }
Click to show internal directories.
Click to hide internal directories.