Documentation
¶
Index ¶
- Constants
- type EntityRestAPI
- func (api *EntityRestAPI) DeleteEntity(w rest.ResponseWriter, r *rest.Request)
- func (api *EntityRestAPI) GetAllEntities(w rest.ResponseWriter, r *rest.Request)
- func (api *EntityRestAPI) GetEntity(w rest.ResponseWriter, r *rest.Request)
- func (api *EntityRestAPI) PostEntity(w rest.ResponseWriter, r *rest.Request)
- func (api *EntityRestAPI) PutEntity(w rest.ResponseWriter, r *rest.Request)
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)
Click to show internal directories.
Click to hide internal directories.