Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Address string `mapstructure:"address"` Domain *url.URL `mapstructure:"-"` Token string `mapstructure:"token"` LogLevel logrus.Level `mapstructure:"-"` DBURL *url.URL `mapstructure:"-"` RedisAddress string `mapstructure:"redis_address"` TwitterUserCacheTimeout time.Duration `mapstructure:"-"` TwitterTweetCacheTimeout time.Duration `mapstructure:"-"` DisableHTTPSignatureVerify bool `mapstructure:"disable_http_signature_verify"` DisableEmbedWorker bool `mapstructure:"disable_embed_worker"` AllowedUsers []string `mapstructure:"allowed_users"` TwitterAllowedUsers []string `mapstructure:"twitter_allowed_users"` RunMigrations bool `mapstructure:"run_migrations"` SentryDSN string `mapstructure:"sentry_dsn"` SentryTraceSampleRate float64 `mapstructure:"sentry_trace_sample_rate"` }
Click to show internal directories.
Click to hide internal directories.