Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DB DB `json:"db"` UserPicture UserPictureSettings `json:"user_picture"` Auth Auth `json:"auth"` AppPort int `json:"app_port"` ClientURL string `json:"client_url"` ServerURL string `json:"server_url"` Domains []string `json:"domains"` }
Config application config
func ParseConfig ¶
ParseConfig parse config file to Config structure
type OAuthInfo ¶
type OAuthInfo struct { Conf *oauth2.Config `json:"-"` ClientID string `json:"id"` ClientSecret string `json:"secret"` Name string `json:"name"` Scope string `json:"scope"` TokenEndpoint string `json:"token_endpoint"` AuthEndpoint string `json:"auth_endpoint"` InfoEndpoint string `json:"info_endpoint"` }
type UserPictureSettings ¶
Click to show internal directories.
Click to hide internal directories.