Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version = "0.9.2" GroupMember = 100 GroupSysAdmin = 1 )
Variables ¶
View Source
var ( VersionHash = Version Prefix = "/opt/hooto/iam" UserRegistrationDisabled = false Config = &ConfigCommon{} )
Functions ¶
func SetupConfig ¶
func SetupConfig(prefix string, cfg *ConfigCommon) error
Types ¶
type ConfigCommon ¶
type ConfigCommon struct { InstanceID string `json:"instance_id" toml:"instance_id"` HttpPort uint16 `json:"http_port,omitempty" toml:"http_port,omitempty"` ServiceName string `json:"service_name" toml:"service_name"` AccessKeys []*hauth.AccessKey `json:"access_keys" toml:"access_keys"` WebUiBannerTitle string `json:"-" toml:"-"` ServiceLoginFormAlertMsg string `json:"-" toml:"-"` }
Click to show internal directories.
Click to hide internal directories.