Documentation ¶
Overview ¶
Package rest exposes a REST API to CRUD and query the document store.
Index ¶
- type Handler
- func (h *Handler) DeleteDoc(req *restful.Request, resp *restful.Response)
- func (a *Handler) Filter() func(string) string
- func (h *Handler) GetDoc(req *restful.Request, resp *restful.Response)
- func (h *Handler) ListDocs(req *restful.Request, resp *restful.Response)
- func (h *Handler) PutDoc(req *restful.Request, resp *restful.Response)
- func (a *Handler) SwaggerTags() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct{}
func (*Handler) DeleteDoc ¶
func (h *Handler) DeleteDoc(req *restful.Request, resp *restful.Response)
func (*Handler) SwaggerTags ¶
SwaggerTags list the names of the service tags declared in the swagger json implemented by this service
Click to show internal directories.
Click to hide internal directories.