Documentation ¶
Index ¶
- type AppWebserviceHandler
- func (handler AppWebserviceHandler) Create(config interfaces.ConfigurationManager, res http.ResponseWriter, ...)
- func (handler AppWebserviceHandler) Default(config interfaces.ConfigurationManager, res http.ResponseWriter, ...)
- func (handler AppWebserviceHandler) Delete(config interfaces.ConfigurationManager, res http.ResponseWriter, ...)
- func (handler AppWebserviceHandler) Get(config interfaces.ConfigurationManager, res http.ResponseWriter, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppWebserviceHandler ¶
type AppWebserviceHandler struct {
AppInteractor interfaces.IAppInteractor
}
AppWebserviceHandler : REST API Handler
func (AppWebserviceHandler) Create ¶
func (handler AppWebserviceHandler) Create(config interfaces.ConfigurationManager, res http.ResponseWriter, req *http.Request)
Create is called on create app HTTP request and create the given app to the index. Implements IWebservice
func (AppWebserviceHandler) Default ¶
func (handler AppWebserviceHandler) Default(config interfaces.ConfigurationManager, res http.ResponseWriter, req *http.Request)
Default is called on /, returns the link to the documentation. Implements IWebservice
func (AppWebserviceHandler) Delete ¶
func (handler AppWebserviceHandler) Delete(config interfaces.ConfigurationManager, res http.ResponseWriter, req *http.Request)
Delete is called on delete app HTTP request and delete the given app from the index. Implements IWebservice
func (AppWebserviceHandler) Get ¶
func (handler AppWebserviceHandler) Get(config interfaces.ConfigurationManager, res http.ResponseWriter, req *http.Request)
Get is called on get app HTTP request and returns the given app if found. Implements IWebservice
Click to show internal directories.
Click to hide internal directories.