Documentation
¶
Index ¶
- Variables
- func LoadConfig() error
- type GithubConfig
- type MenshendConfig
- func (k *MenshendConfig) GetLoginPath() string
- func (k *MenshendConfig) GetLogo() string
- func (k *MenshendConfig) GetLongDescription() string
- func (k *MenshendConfig) GetName() string
- func (k *MenshendConfig) GetServicePath() string
- func (k *MenshendConfig) GetShortDescription() string
- func (k *MenshendConfig) Host() string
- func (k *MenshendConfig) HostWithoutPort() string
- func (k *MenshendConfig) Scheme() string
- type Space
- type Uris
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigFile *string
View Source
var FlashStore *sessions.CookieStore
Functions ¶
func LoadConfig ¶
func LoadConfig() error
Types ¶
type GithubConfig ¶
type MenshendConfig ¶
type MenshendConfig struct {
HashKey string `json:"hashKey"`
BlockKey string `json:"blockKey"`
VaultPath string `json:"vaultPath"`
Uris Uris `json:"uris"`
DefaultRole string `json:"defaultRole"`
Github GithubConfig `json:"github"`
Space Space `json:"space"`
}
var Config *MenshendConfig
func (*MenshendConfig) GetLoginPath ¶
func (k *MenshendConfig) GetLoginPath() string
func (*MenshendConfig) GetLogo ¶
func (k *MenshendConfig) GetLogo() string
func (*MenshendConfig) GetLongDescription ¶
func (k *MenshendConfig) GetLongDescription() string
func (*MenshendConfig) GetName ¶
func (k *MenshendConfig) GetName() string
func (*MenshendConfig) GetServicePath ¶
func (k *MenshendConfig) GetServicePath() string
func (*MenshendConfig) GetShortDescription ¶
func (k *MenshendConfig) GetShortDescription() string
func (*MenshendConfig) Host ¶
func (k *MenshendConfig) Host() string
func (*MenshendConfig) HostWithoutPort ¶
func (k *MenshendConfig) HostWithoutPort() string
func (*MenshendConfig) Scheme ¶
func (k *MenshendConfig) Scheme() string
Click to show internal directories.
Click to hide internal directories.