Documentation
¶
Index ¶
Constants ¶
View Source
const ( EnvAppEnv = "APP_ENV" EnvAppPort = "APP_PORT" EnvGrpcPort = "GRPC_PORT" EnvLogLevel = "LOG_LEVEL" EnvAPIKey = "API_KEY" EnvAPISecret = "API_SECRET" EnvServiceCertFile = "SERVICE_CERT_FILE" EnvServiceKeyFile = "SERVICE_KEY_FILE" EnvPostgresDSN = "POSTGRES_DSN" EnvPostgresHost = "POSTGRES_HOST" EnvPostgresPort = "POSTGRES_PORT" EnvPostgresUser = "POSTGRES_USER" EnvPostgresPass = "POSTGRES_PASSWORD" EnvPostgresDB = "POSTGRES_DB" EnvPostgresSSLMode = "POSTGRES_SSLMODE" )
Variables ¶
View Source
var ( ErrNotImplemented = knownErr("not implemented") ErrBadRequest = knownErr("bad request") ErrInternal = knownErr("internal error") ErrEntityInvalid = knownErr("entity state invalid") ErrEntityNotFound = knownErr("entity not found") )
Functions ¶
func IsKnownErr ¶
func SPrintData ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.