Documentation ¶
Index ¶
- type AppConfig
- func (config AppConfig) GetAMQPConnection() *amqp.Connection
- func (config AppConfig) GetAMQPStatus() string
- func (config AppConfig) GetCacheTTL() time.Duration
- func (config AppConfig) GetRDBConnection() *gorm.DB
- func (config AppConfig) GetRDBStatus() string
- func (config AppConfig) GetRESPConnection() *redis.Client
- func (config AppConfig) GetRESPStatus(ctx context.Context) string
- func (config AppConfig) GetServerPort() string
- func (config AppConfig) IsDevelopmentMode() bool
- func (config AppConfig) SetupAMQPConnection()
- func (config AppConfig) SetupRDBConnection()
- func (config AppConfig) SetupRESPConnection()
- func (config AppConfig) SetupServerEnvironment()
- func (config AppConfig) SetupServerLog()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { }
AppConfig represent the data-struct for configuration
func (AppConfig) GetAMQPConnection ¶
func (config AppConfig) GetAMQPConnection() *amqp.Connection
func (AppConfig) GetAMQPStatus ¶
func (AppConfig) GetCacheTTL ¶
func (AppConfig) GetRDBConnection ¶
func (AppConfig) GetRDBStatus ¶
func (AppConfig) GetRESPConnection ¶
func (config AppConfig) GetRESPConnection() *redis.Client
func (AppConfig) GetServerPort ¶
func (AppConfig) IsDevelopmentMode ¶
func (AppConfig) SetupAMQPConnection ¶
func (config AppConfig) SetupAMQPConnection()
func (AppConfig) SetupRDBConnection ¶
func (config AppConfig) SetupRDBConnection()
func (AppConfig) SetupRESPConnection ¶
func (config AppConfig) SetupRESPConnection()
func (AppConfig) SetupServerEnvironment ¶
func (config AppConfig) SetupServerEnvironment()
func (AppConfig) SetupServerLog ¶
func (config AppConfig) SetupServerLog()
Click to show internal directories.
Click to hide internal directories.