Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Prefix string PrefixWebUI string Version = "0.9.0" Config ConfigCommon )
Functions ¶
func IamAppInstance ¶
func IamAppInstance() iamapi.AppInstance
func InitIamAccessKeyData ¶
Types ¶
type ConfigCommon ¶
type ConfigCommon struct {
InstanceId string `json:"instance_id" toml:"instance_id"`
SecretKey string `json:"secret_key" toml:"secret_key"`
HttpPort uint16 `json:"http_port,omitempty" toml:"http_port,omitempty"`
Data *kvgo.Config `json:"data,omitempty" toml:"data,omitempty"`
IamServiceUrl string `json:"iam_service_url,omitempty" toml:"iam_service_url,omitempty"`
PprofHttpPort uint16 `json:"pprof_http_port,omitempty" toml:"pprof_http_port,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigCommon) AccessKeyAuth ¶
func (cfg *ConfigCommon) AccessKeyAuth() (iamapi.AccessKeyAuth, error)
func (*ConfigCommon) Sync ¶
func (cfg *ConfigCommon) Sync() error
Click to show internal directories.
Click to hide internal directories.