Documentation ¶
Index ¶
- type Controller
- func (ctrl *Controller) Init(server *goyave.Server)
- func (ctrl *Controller) Register(response *goyave.Response, request *goyave.Request)
- func (ctrl *Controller) RegisterRequest(_ *goyave.Request) v.RuleSet
- func (ctrl *Controller) RegisterRoutes(router *goyave.Router)
- func (ctrl *Controller) ShowAvatar(response *goyave.Response, request *goyave.Request)
- func (ctrl *Controller) ShowProfile(response *goyave.Response, request *goyave.Request)
- func (ctrl *Controller) Update(response *goyave.Response, request *goyave.Request)
- func (ctrl *Controller) UpdateRequest(_ *goyave.Request) v.RuleSet
- type Service
- type StorageService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { goyave.Component UserService Service StorageService StorageService }
func NewController ¶
func NewController() *Controller
func (*Controller) Init ¶
func (ctrl *Controller) Init(server *goyave.Server)
func (*Controller) Register ¶
func (ctrl *Controller) Register(response *goyave.Response, request *goyave.Request)
func (*Controller) RegisterRequest ¶
func (ctrl *Controller) RegisterRequest(_ *goyave.Request) v.RuleSet
func (*Controller) RegisterRoutes ¶
func (ctrl *Controller) RegisterRoutes(router *goyave.Router)
func (*Controller) ShowAvatar ¶
func (ctrl *Controller) ShowAvatar(response *goyave.Response, request *goyave.Request)
func (*Controller) ShowProfile ¶
func (ctrl *Controller) ShowProfile(response *goyave.Response, request *goyave.Request)
func (*Controller) Update ¶
func (ctrl *Controller) Update(response *goyave.Response, request *goyave.Request)
func (*Controller) UpdateRequest ¶
func (ctrl *Controller) UpdateRequest(_ *goyave.Request) v.RuleSet
Click to show internal directories.
Click to hide internal directories.