Documentation ¶
Index ¶
- Constants
- func ReadConfiguration() error
- func ReadFlags()
- func SetAWSSession(sess *session.Session)
- type AWSConfig
- type AuthConfig
- type AuthenticationConfig
- type Config
- type DynamoDBConfig
- type GRPCConfig
- type Handler
- type I18NConfig
- type MessageBrokerConfig
- type PrometheusConfig
- type RabbitMQConfig
- type RedisConfig
- type SMTPConfig
- type SQSConfig
- type ServerConfig
- type ServicesConfig
- type StorageConfig
Constants ¶
View Source
const ( RabbitMQBroker = "RabbitMQ" SQSBroker = "SQS" )
Variables ¶
This section is empty.
Functions ¶
func ReadConfiguration ¶
func ReadConfiguration() error
func SetAWSSession ¶
Types ¶
type AWSConfig ¶
type AWSConfig struct { Region string DatabaseSecretARN string DynamoDB DynamoDBConfig }
type AuthConfig ¶
type AuthConfig struct {
GRPC GRPCConfig
}
type AuthenticationConfig ¶
type Config ¶
type Config struct { Server ServerConfig Redis RedisConfig Authentication AuthenticationConfig SMTP SMTPConfig MessageBroker MessageBrokerConfig AWS AWSConfig Services ServicesConfig Prometheus PrometheusConfig I18N I18NConfig TemplateCache map[string]*template.Template }
type DynamoDBConfig ¶
type GRPCConfig ¶
type I18NConfig ¶
type I18NConfig struct { TableName string Seed bool SeedValues []*models.KeyValuePair }
type MessageBrokerConfig ¶
type MessageBrokerConfig struct { Broker string RabbitMQ RabbitMQConfig SQS SQSConfig }
type PrometheusConfig ¶
type RabbitMQConfig ¶
type RedisConfig ¶
type SMTPConfig ¶
type ServerConfig ¶
type ServicesConfig ¶
type ServicesConfig struct { Auth AuthConfig Storage StorageConfig }
type StorageConfig ¶
type StorageConfig struct { GRPC GRPCConfig ImagesPrefix string DocumentsPrefix string }
Click to show internal directories.
Click to hide internal directories.