apiv1

package
v0.0.0-...-45e38b6 Latest Latest
Warning

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

Go to latest
Published: May 17, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(router *gin.RouterGroup)

func RegisterAccount

func RegisterAccount(router *gin.RouterGroup)

func RegisterRank

func RegisterRank(router *gin.RouterGroup)

func RegisterSelf

func RegisterSelf(router *gin.RouterGroup)

func RegisterUser

func RegisterUser(router *gin.RouterGroup)

Types

type AccountOtherLogin

type AccountOtherLogin struct {
	Code  string `form:"code" json:"code"`
	State string `form:"state" json:"state"`
}

type AccountRegister

type AccountRegister struct {
	Email    string `form:"email" json:"email"`
	Password string `form:"password" json:"password"`
	UserName string `form:"user_name" json:"user_name"`
	NickName string `form:"nick_name" json:"nick_name"`
}

type AccountSimpleLogin

type AccountSimpleLogin struct {
	Email    string `form:"email" json:"email"`
	Password string `form:"password" json:"password"`
}

type LoginTypeParam

type LoginTypeParam struct {
	Type string `form:"type" json:"type"`
}

type RankParam

type RankParam struct {
	CurrentPage int `form:"current_page" json:"current_page"`
	PerPage     int `form:"per_page" json:"per_page"`
}

type UserParam

type UserParam struct {
	UserName string `form:"user_name" json:"user_name"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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