Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Config *configuration.ConfigurationSchema
Logger *logger.Logger
DB *database.DB
Redis *redis.Client
}
func NewInfrastructure ¶
func NewInfrastructure(cf *configuration.ConfigurationSchema) *Service
func (*Service) CloseConnection ¶
func (infra *Service) CloseConnection()
func (*Service) CreateAPIService ¶
func (*Service) RollbackDB ¶
Click to show internal directories.
Click to hide internal directories.