Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Db *client.Client
Functions ¶
func RegisterPaths ¶
func RegisterPaths() *restful.WebService
Creates all the routes. This can be broken up into different web services and registered in main.go This data is used to generate the swagger docs
Types ¶
type AllNames ¶
type AllNames struct {
Results []struct {
Names *interface{} `json:"names"`
} `json:"results"`
}
type DeleteCommand ¶
type DeleteCommand struct {
Id int `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.