Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationForm ¶
type ApplicationForm struct { Name string `json:"name"` Description string `json:"description"` Password string `json:"password"` }
ApplicationForm is a form for application
func (*ApplicationForm) Create ¶
func (af *ApplicationForm) Create(idToken *auth.Token) (ret *models.Application, err error)
Create creates an application
func (*ApplicationForm) Update ¶
func (af *ApplicationForm) Update(id uint, idToken *auth.Token) (ret *models.Application, err error)
Update updates an application
type CmdForm ¶
CmdForm is form for sound command
type WSAuthForm ¶
type WSAuthForm struct {
Password string `json:"password"`
}
WSAuthForm is form for authentication of websocket
Click to show internal directories.
Click to hide internal directories.