# Functions
CheckErr check error is nil and if not panic with message.
CheckOk check that ok and if not panic with message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Float64Ptr return pointer to int64 d.
No description provided by the author
GetJSON returns json by input object.
No description provided by the author
InitEnvironmentIfNeeded set env variables listed in file.
Int64Ptr return pointer to int64 i.
LogStartStop logs start and finish of application correct way to call is the following:
defer util.LogStartStop(config.Log, config.Version, "arp server") ().
No description provided by the author
No description provided by the author
No description provided by the author
NewDefaultMiddleware returns a new *Middleware which writes to a given logrus addedLogs.
No description provided by the author
No description provided by the author
NewHTTPError creates a new HTTPError instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PrintJSON prints object in json to console.
No description provided by the author
No description provided by the author
StringPtr return pointer to string s.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
# Variables
Log some common log for tests.
# Structs
No description provided by the author
HTTPError represents an error that occurred while handling a request.
Middleware is a middleware handler that logs the request as it goes in and the response as it goes out.
No description provided by the author