api

package
v0.0.0-...-2252e98 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Limit string = "10"
View Source
const Offset string = "0"
View Source
const OrderDir string = "ASC"

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityRestAPI

type EntityRestAPI struct {
	// contains filtered or unexported fields
}

func NewEntityRestAPI

func NewEntityRestAPI(em *eram.EntityDbManager) *EntityRestAPI

func (*EntityRestAPI) DeleteEntity

func (api *EntityRestAPI) DeleteEntity(w rest.ResponseWriter, r *rest.Request)

func (*EntityRestAPI) GetAllEntities

func (api *EntityRestAPI) GetAllEntities(w rest.ResponseWriter, r *rest.Request)

func (*EntityRestAPI) GetEntity

func (api *EntityRestAPI) GetEntity(w rest.ResponseWriter, r *rest.Request)

func (*EntityRestAPI) PostEntity

func (api *EntityRestAPI) PostEntity(w rest.ResponseWriter, r *rest.Request)

func (*EntityRestAPI) PutEntity

func (api *EntityRestAPI) PutEntity(w rest.ResponseWriter, r *rest.Request)

Jump to

Keyboard shortcuts

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