package
Version:
v0.0.0-...-3413bb5
Opens a new window with list of versions in this module.
Published: May 20, 2019
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
DefaultOkString = "{\"message\":\"ok\"}"
)
CLIFlags the flags for the default httpserver
New applies the callback to the gin instance and returns the error from gin
NewTest use this to create a new test case with the httpserver and the provided callback into the function.
This should only ever be used in tests
CLIFunc the func that is parsed down to the httpserver
Source Files
¶
Click to show internal directories.
Click to hide internal directories.