Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfig ¶
type APIConfig struct { BaseURL string `mapstructure:"base-url" json:"base-url"` BindAddress string `mapstructure:"bind-address" json:"bind-address"` MaxContentLength uint64 `mapstructure:"max-content-length" json:"max-content-length"` EnableLilliput bool `mapstructure:"enable-lilliput" json:"enable-lilliput"` MaxThumbnailSize uint `mapstructure:"max-thumbnail-size" json:"max-thumbnail-size"` DiscordToken string `mapstructure:"discord-token" json:"discord-token"` TwitchClientID string `mapstructure:"twitch-client-id" json:"twitch-client-id"` TwitchClientSecret string `mapstructure:"twitch-client-secret" json:"twitch-client-secret"` YoutubeApiKey string `mapstructure:"youtube-api-key" json:"youtube-api-key"` TwitterBearerToken string `mapstructure:"twitter-bearer-token" json:"twitter-bearer-token"` ImgurClientID string `mapstructure:"imgur-client-id" json:"imgur-client-id"` OembedFacebookAppID string `mapstructure:"oembed-facebook-app-id" json:"oembed-facebook-app-id"` OembedFacebookAppSecret string `mapstructure:"oembed-facebook-app-secret" json:"oembed-facebook-app-secret"` OembedProvidersPath string `mapstructure:"oembed-providers-path" json:"oembed-providers-path"` }
Click to show internal directories.
Click to hide internal directories.