Documentation
¶
Index ¶
- type BaseControllers
- func (controller BaseControllers) AddToRouter(router *http.ServeMux)
- func (controller BaseControllers) Delete() http.Handler
- func (controller BaseControllers) Get() http.Handler
- func (controller BaseControllers) GetAll() http.Handler
- func (controller BaseControllers) Patch() http.Handler
- func (controller BaseControllers) Post() http.Handler
- type Controllers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseControllers ¶
type BaseControllers struct {
Resource models.BaseResource
Controller string
Variable string
}
func (BaseControllers) AddToRouter ¶
func (controller BaseControllers) AddToRouter(router *http.ServeMux)
func (BaseControllers) Delete ¶
func (controller BaseControllers) Delete() http.Handler
func (BaseControllers) Get ¶
func (controller BaseControllers) Get() http.Handler
func (BaseControllers) GetAll ¶
func (controller BaseControllers) GetAll() http.Handler
func (BaseControllers) Patch ¶
func (controller BaseControllers) Patch() http.Handler
func (BaseControllers) Post ¶
func (controller BaseControllers) Post() http.Handler
Click to show internal directories.
Click to hide internal directories.