Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Env ¶
Env reads specified environment variable. If no value has been found, fallback is returned.
func LoadEnvFile ¶
LoadEnvFile loads environment variables defined in an .env formatted file.
Types ¶
type Response ¶
type Response interface { // Code returns HTTP response code. Code() int // Headers returns map of HTTP headers with their values. Headers() map[string]string // Empty indicates if HTTP response has content. Empty() bool }
Response contains HTTP response specific methods.
type UUIDProvider ¶
UUIDProvider specifies an API for generating unique identifiers.
Directories ¶
Path | Synopsis |
---|---|
postgres
Package postgres contains Key repository implementations using PostgreSQL as the underlying database.
|
Package postgres contains Key repository implementations using PostgreSQL as the underlying database. |
Package logger contains logger API definition, wrapper that can be used around any other logger.
|
Package logger contains logger API definition, wrapper that can be used around any other logger. |
pkg
|
|
Click to show internal directories.
Click to hide internal directories.