Documentation
¶
Index ¶
Constants ¶
View Source
const ErrorBadParams = 20
View Source
const ErrorDeleteNotAllowed = 10
View Source
const ErrorFailedCloning = 60
View Source
const ErrorFailedConsulConnection = 30
View Source
const ErrorFailedConsulTxn = 31
View Source
const ErrorFailedHTTPServer = 80
View Source
const ErrorFailedJsonDecode = 51
View Source
const ErrorFailedJsonEncode = 50
View Source
const ErrorFailedMustache = 70
View Source
const ErrorFailedReadingResponse = 40
View Source
const LogDebug = "DEBUG"
View Source
const LogErr = "ERROR"
View Source
const LogInfo = "INFO"
View Source
const LogLevelDebug = 30
View Source
const LogLevelErr = 10
View Source
const LogLevelInfo = 20
Variables ¶
View Source
var ErrorLevels = map[string]int{ LogErr: LogLevelErr, LogInfo: LogLevelInfo, LogDebug: LogLevelDebug, }
Levels are the log levels we respond to=o.
Functions ¶
Types ¶
type GonsulError ¶
type GonsulError struct {
Code int
}
Click to show internal directories.
Click to hide internal directories.