Documentation ¶
Index ¶
- type ApplicationController
- func (ac *ApplicationController) Cmd(c echo.Context) (err error)
- func (ac *ApplicationController) Create(c echo.Context) (err error)
- func (ac *ApplicationController) Destroy(c echo.Context) (err error)
- func (ac *ApplicationController) Index(c echo.Context) (err error)
- func (ac *ApplicationController) OwnerShow(c echo.Context) (err error)
- func (ac *ApplicationController) RenewToken(c echo.Context) (err error)
- func (ac *ApplicationController) Show(c echo.Context) (err error)
- func (ac *ApplicationController) Update(c echo.Context) (err error)
- func (ac *ApplicationController) WS(c echo.Context) (err error)
- func (ac *ApplicationController) WSAuth(c echo.Context) (err error)
- type HealthController
- type IndexController
- type SoundController
- type UserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationController ¶
type ApplicationController struct{}
ApplicationController is controller for applications
func NewApplicationController ¶
func NewApplicationController() *ApplicationController
NewApplicationController is constructor for ApplicationController
func (*ApplicationController) Cmd ¶
func (ac *ApplicationController) Cmd(c echo.Context) (err error)
Cmd is controller for command to play sound
func (*ApplicationController) Create ¶
func (ac *ApplicationController) Create(c echo.Context) (err error)
Create creates an application
func (*ApplicationController) Destroy ¶
func (ac *ApplicationController) Destroy(c echo.Context) (err error)
Destroy destroys an application
func (*ApplicationController) Index ¶
func (ac *ApplicationController) Index(c echo.Context) (err error)
Index index applications
func (*ApplicationController) OwnerShow ¶
func (ac *ApplicationController) OwnerShow(c echo.Context) (err error)
OwnerShow show a application for owner
func (*ApplicationController) RenewToken ¶
func (ac *ApplicationController) RenewToken(c echo.Context) (err error)
RenewToken renewal access token
func (*ApplicationController) Show ¶
func (ac *ApplicationController) Show(c echo.Context) (err error)
Show returns an application
func (*ApplicationController) Update ¶
func (ac *ApplicationController) Update(c echo.Context) (err error)
Update updates an application
type HealthController ¶
type HealthController struct{}
HealthController controller for health request
func NewHealthController ¶
func NewHealthController() *HealthController
NewHealthController is constructer for HealthController
type IndexController ¶
type IndexController struct{}
IndexController returns server info
func NewIndexController ¶
func NewIndexController() *IndexController
NewIndexController is constructor for IndexController
type SoundController ¶
type SoundController struct{}
SoundController is controller for sounds
func NewSoundController ¶
func NewSoundController() *SoundController
NewSoundController is constructor for SoundController
type UserController ¶
type UserController struct{}
UserController is controller for users
func NewUserController ¶
func NewUserController() *UserController
NewUserController is constructor for UserController
func (*UserController) Create ¶
func (uc *UserController) Create(c echo.Context) (err error)
Create creates a user
func (*UserController) Destroy ¶
func (uc *UserController) Destroy(c echo.Context) (err error)
Destroy destroys a user
func (*UserController) Me ¶
func (uc *UserController) Me(c echo.Context) (err error)
Me returns a user logged in