Documentation ¶
Index ¶
- func GenKey(isTest bool) string
- func GetValueFrom(ctx context.Context, key string) interface{}
- func GracefulShutdown(startTime time.Time)
- func LoadEnv()
- func NewDBClient(ctx context.Context, connection string, debug bool) *ent.Client
- func SecureServer(hostPort string, handler http.Handler) *http.Server
- func StoreValueIn(ctx context.Context, key string, value interface{}) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetValueFrom ¶
func GracefulShutdown ¶
func SecureServer ¶
SecureServer returns an http.Server with sane timeouts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.