Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FeverHandler ¶
func FeverHandler(d *storage.Database) http.HandlerFunc
FeverHandler returns a new Fever handler.
func GReaderHandler ¶
func GReaderHandler(d *storage.Database) http.HandlerFunc
GReaderHandler returns a new GReader handler.
Types ¶
type Api ¶
type Api interface { Handler(d *storage.Database) func(w http.ResponseWriter, r *http.Request) // contains filtered or unexported methods }
Api is an interface that REST APIs should implement.
Click to show internal directories.
Click to hide internal directories.