Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { Token *Token `mapstructure:"token"` OAuth2 *OAuth2 `mapstructure:"oauth2"` Github *Github `mapstrucutre:"github"` }
func (*Auth) AuthenticationRequired ¶
type OAuth2 ¶
type OAuth2 struct { AuthUrl string `mapstructure:"auth_url"` TokenUrl string `mapstructure:"token_url"` RedirectUrl string `mapstructure:"redirect_url"` UserUrl string `mapstructure:"user_url"` Credentials string `mapstructure:"credentials"` Scopes []string `mapstructure:"scopes"` Secret string `mapstructure:"secret"` }
type Service ¶
type Service struct { Port uint16 `mapstructure:"port"` Autodetect bool `mapstructure:"autodetect_ip"` AutoDiscovery bool `mapstructure:"auto_discovery"` HostIP string `mapstructure:"host_ip"` ServerURL string `mapstructure:"server_url"` DeviceManager map[string]Manager `mapstructure:"managers"` Hooks []Hook `mapstructure:"hooks"` Auth Auth `mapstructure:"auth"` }
Click to show internal directories.
Click to hide internal directories.