rest

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2018 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package rest exposes a REST API to CRUD and query the document store.

Index

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) Filter

func (a *Handler) Filter() func(string) string

Filter returns a function to filter the swagger path

func (*Handler) GetDoc

func (h *Handler) GetDoc(req *restful.Request, resp *restful.Response)

func (*Handler) ListDocs

func (h *Handler) ListDocs(req *restful.Request, resp *restful.Response)

func (*Handler) PutDoc

func (h *Handler) PutDoc(req *restful.Request, resp *restful.Response)

func (*Handler) SwaggerTags

func (a *Handler) SwaggerTags() []string

SwaggerTags list the names of the service tags declared in the swagger json implemented by this service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL