Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DB DBConfig Redis RedisConfig ELastic ElasticConfig }
Config is the struct for the config
type ElasticConfig ¶
type ElasticConfig struct { ElasticConfig *elasticsearch.Config IndexContent string }
func LoadElasticConfig ¶
func LoadElasticConfig() ElasticConfig
LoadElasticConfig loads the elasticsearch configuration
type MailConfig ¶
type MailConfig struct { SMTPHost string SMTPPort string SenderName string ReceiverName string AuthEmail string AuthPassword string }
SentryConfig is the sentry configuration
func LoadMailConfig ¶
func LoadMailConfig() MailConfig
LoadMailConfig loads the sentry configuration
type RedisConfig ¶
func LoadRedisConfig ¶
func LoadRedisConfig() RedisConfig
Click to show internal directories.
Click to hide internal directories.