Documentation
¶
Overview ¶
Package classification Swagger Example. Swagger Example
Schemes: https Host: api.somedomain.com BasePath: / Version: 1.0.0 License: MIT http://opensource.org/licenses/MIT Contact: Name<email@somehwere.com> https://www.somewhere.com Consumes: - application/json - application/x-www-form-urlencoded Produces: - text/html
swagger:meta
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
*revel.Controller
}
func (Application) Destroy ¶
func (c Application) Destroy()
func (Application) EnterDemo ¶
func (c Application) EnterDemo(user, demo string) revel.Result
swagger:operation GET /demo demo
Enter Demo ¶
--- produces: - text/html parameters:
- name: user in: formData description: user required: true type: string
- name: demo in: formData description: demo required: true type: string
responses:
'200': description: Success '401': description: Invalid User
type LongPolling ¶
type LongPolling struct {
*revel.Controller
}
func (LongPolling) WaitMessages ¶
func (c LongPolling) WaitMessages(lastReceived int) revel.Result
type Refresh ¶
type Refresh struct {
*revel.Controller
}
Click to show internal directories.
Click to hide internal directories.