Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Production bool LogLevel string `validate:"required,oneof=debug info warn error"` // GrpcServer GrpcConfig HttpServer HttpConfig Db DbConfig }
type GrpcConfig ¶
type GrpcConfig struct {
Port int `validate:"min=80"`
}
type HttpConfig ¶
type HttpConfig struct {
Port int `validate:"min=80"`
}
type MessageQueueConfig ¶
type MessageQueueConfig struct { Url string `validate:"required"` AllowReconnect bool MaxReconnect int `validate:"min=1"` TimeoutMSec int64 `validate:"min=1"` Name string `validate:"required"` FcmQueueSubject string `validate:"required"` ApnsQueueSubject string `validate:"required"` HcmQueueSubject string `validate:"required"` }
Click to show internal directories.
Click to hide internal directories.