handler

package
v0.0.0-...-8b4736f Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminLogin

func AdminLogin(c echo.Context) error

func GetRegisterNotes

func GetRegisterNotes(c echo.Context) error

获取申请注册信息 参数传递:type: 1,2

func GetStreamResponse

func GetStreamResponse(c echo.Context) error

func GetUser

func GetUser(c echo.Context) error

Get one user's info

func Login

func Login(c echo.Context) error

func Register

func Register(c echo.Context) error

用户注册

func SaveAvatar

func SaveAvatar(c echo.Context) error

upload file avatar

func VerifyUser

func VerifyUser(c echo.Context) error

通过审核

Types

type Geolocation

type Geolocation struct {
	Altitude  float64
	Latitude  float64
	Longitude float64
}

type JwtCustomClaims

type JwtCustomClaims struct {
	Name     string `json:"name"`
	Password string `json:"password"`
	jwt.StandardClaims
}

Jump to

Keyboard shortcuts

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