controllers

package
v0.0.0-...-e1932af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2017 License: Apache-2.0 Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminController

type AdminController struct {
}

func Admin

func Admin() *AdminController

func (*AdminController) Activate

func (controller *AdminController) Activate(context echo.Context) error

func (*AdminController) Reset

func (controller *AdminController) Reset(context echo.Context) error

type DefaultController

type DefaultController struct {
}

func Default

func Default() *DefaultController

func (*DefaultController) Index

func (controller *DefaultController) Index(context echo.Context) error

type JsonResponse

type JsonResponse struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

type NumberController

type NumberController struct {
}

func Number

func Number() *NumberController

func (*NumberController) List

func (n *NumberController) List(context echo.Context) error

func (*NumberController) Next

func (n *NumberController) Next(context echo.Context) error

type UserController

type UserController struct{}

func User

func User() *UserController

func (*UserController) Add

func (u *UserController) Add(context echo.Context) error

func (*UserController) Get

func (u *UserController) Get(context echo.Context) error

func (*UserController) UpdateNumbers

func (u *UserController) UpdateNumbers(context echo.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL