Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerFactory ¶
func HandlerFactory(code int, message string) http.HandlerFunc
HandlerFactory is a helper function useful for unit tests
func ParseAllJSONLog ¶
ParseAllJSONLog accepts buffer and finds and parses ALL json blobs. This is useful when mocking log.* function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.