Documentation ¶
Index ¶
- func GetDatabase() (db *gorm.DB, err error)
- func GetEntityIDFromEnvironmentVariable(prefix string) (ksuid.KSUID, error)
- func GetEntityIDFromString(entityID string) (ksuid.KSUID, error)
- func GetEnvironmentVariable(key string, required bool, defaultValue string) (string, error)
- func GetErrorChannel() chan error
- func GetNatsConn() (natsConn *nats.Conn, err error)
- func GetNow() time.Time
- func GetRedisClient() (redisClient *redis.Client, err error)
- func SetLogFormat()
- func WaitForError(errors chan error, timeout time.Duration) error
- func WaitForSigInt()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDatabase ¶
func GetEnvironmentVariable ¶
func GetErrorChannel ¶
func GetErrorChannel() chan error
func GetNatsConn ¶
func GetNatsConn() (natsConn *nats.Conn, err error)
func GetRedisClient ¶
func GetRedisClient() (redisClient *redis.Client, err error)
func SetLogFormat ¶
func SetLogFormat()
func WaitForSigInt ¶
func WaitForSigInt()
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.