api

package
v0.0.0-...-70c8363 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Container *restful.Container
View Source
var Cors restful.CrossOriginResourceSharing

Functions

func AddWebService

func AddWebService(ws *restful.WebService)

func CreateHandler

func CreateHandler(response *restful.Response, respData interface{}, err error)

func DeleteHandler

func DeleteHandler(response *restful.Response, err error)

func Error

func Error(response *restful.Response, err error)

func GetHandler

func GetHandler(response *restful.Response, json interface{}, err error, notFoundCode int)

func InitSwagger

func InitSwagger(path string)

func PutHandler

func PutHandler(response *restful.Response, respData interface{}, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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