Documentation ¶
Index ¶
Constants ¶
View Source
const ( // -- ERRORS -- // connection DBWriteConnectionError = "Cannot connect to the write database!" DBReadConnectionError = "Cannot connect to the read database!" DBMasterConnectionError = "Cannot connect to the master database!" DBSlaveConnectionError = "Cannot connect to the slave database!" DBURLParseError = "Cannot parse database connection URL!" // CRUD DBQueryError = "Cannot query the database!" DBUpsertError = "Cannot upsert into the database!" DBInsertError = "Cannot insert into the database!" DBDeleteError = "Cannot delete from the database!" DBCountEstimateError = "Cannot estimate count the database!" PostgresTxContext = "Postgres Transaction" // migration DBMigrationError = "Cannot migrate to latest database schema!" // -- DEBUG -- DBConnectionHealthy = "Connection to database is healthy." // write DBWriteAvailability = "DBWriteAvailability" DBWriteError = "DBWriteError" DBWriteUser = "DBWriteUser" DBWriteAddress = "DBWriteAddress" DBWriteName = "DBWriteName" DBWriteConnection = "Connected to Write Database." // read DBReadAvailability = "DBReadAvailability" DBReadError = "DBReadError" DBReadUser = "DBReadUser" DBReadAddress = "DBReadAddress" DBReadName = "DBReadName" DBReadConnection = "Connected to Read Database." // -- ORM -- PGQueryBuilderError = "Cannot build query filter for PG driver!" DBContextTimeoutExceedUpperBound = "DB query timeout context exceed read/write upper bound!" )
View Source
const ( HTTPReadReqBodyError = "Bad Request, could not read request body!" HTTPJSONParseError = "Bad Request, could not parse JSON body!" HTTPURLContext = "HTTP URL" HTTPErrorMessageAttribute = "HTTP Error Message" HTTPStatusAttribute = "HTTP Return Code" HTTPURLAttribute = "HTTP Request URL" )
View Source
const ( HandlerNameContext = "Handler Name" LogInitError = "Cannot initialize logging module!" ContextLogFieldKey = "Log Fields" EmptyVarError = "Could not use empty variable!" IntConversionError = "Could not convert to an integer!" )
View Source
const ( // -- ERRORS -- // connection RDConnectionError = "Cannot connect to the RD database!" RDURLParseError = "Cannot parse redis connection URL!" // -- DEBUG -- RDConnectionHealthy = "Connection to redis is healthy." )
View Source
const ( // Errors RPCListenError = "gRPC failed to listen" RPCServeError = "gRPC failed to serve" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.