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: ? modules, 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

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