Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server ConfigServer `json:"server"` Database ConfigDatabase `json:"database"` Discord ConfigDiscord `json:"discord"` Email ConfigEmail `json:"email"` RabbitMQ ConfigRabbitMQ `json:"rabbitmq"` Redis ConfigRedis `json:"redis"` Session ConfigSession `json:"session"` OAuth ConfigOAuth `json:"oauth"` VATUSA ConfigVATUSA `json:"vatusa"` Storage ConfigStorage `json:"storage"` }
var Cfg *Config
func ParseConfig ¶
type ConfigDatabase ¶
type ConfigDiscord ¶
type ConfigEmail ¶
type ConfigOAuth ¶
type ConfigOAuth struct { BaseURL string `json:"base_URL"` ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` MyBaseURL string `json:"my_base_URL"` Endpoints ConfigOAuthEndpoints `json:"endpoints"` }
type ConfigOAuthEndpoints ¶
type ConfigRabbitMQ ¶
type ConfigRedis ¶
type ConfigServer ¶
type ConfigSession ¶
type ConfigSession struct {
Cookie ConfigSessionCookie `json:"cookie"`
}
type ConfigSessionCookie ¶
type ConfigStorage ¶
type ConfigVATUSA ¶
type ConfigVATUSA struct {
APIKey string `json:"api_key"`
}
Click to show internal directories.
Click to hide internal directories.