v1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoverRouter

type DiscoverRouter struct {
	router.Router
}

func NewDiscoverRouter

func NewDiscoverRouter() *DiscoverRouter

func (*DiscoverRouter) Load

func (r *DiscoverRouter) Load(g *gin.RouterGroup)

type FriendRouter

type FriendRouter struct {
	router.Router
}

func NewFriendRouter

func NewFriendRouter() *FriendRouter

func (*FriendRouter) Load

func (r *FriendRouter) Load(g *gin.RouterGroup)

type LoginRequestForSwagger

type LoginRequestForSwagger struct {
	// Email and Phone only one can be set
	Email     *string `json:"email" example:"user1@example.com"`
	Phone     *string `json:"phone" example:"13800138000"`
	Password  string  `json:"password" example:"123456"`
	LoginType int     `json:"loginType" example:"0"`
}

type MsgRouter

type MsgRouter struct {
	router.Router
}

func NewMsgRouter

func NewMsgRouter() *MsgRouter

func (*MsgRouter) Load

func (r *MsgRouter) Load(g *gin.RouterGroup)

type OfflineMessageRouter

type OfflineMessageRouter struct {
	router.Router
}

func NewOfflineMessageRouter

func NewOfflineMessageRouter() *OfflineMessageRouter

func (*OfflineMessageRouter) Load

func (r *OfflineMessageRouter) Load(g *gin.RouterGroup)

type QueryRequestForSwagger

type QueryRequestForSwagger struct {
	// Email and Phone only one can be set
	Email *string `json:"email" example:"user1@example.com"`
	Phone *string `json:"phone" example:"13800138000"`
}

type Router

type Router struct {
	router.Router
}

func NewRouter

func NewRouter() *Router

func (*Router) Init

func (r *Router) Init()

type UserRouter

type UserRouter struct {
	router.Router
}

func NewUserRouter

func NewUserRouter() *UserRouter

func (*UserRouter) Load

func (r *UserRouter) Load(router *gin.RouterGroup)

Jump to

Keyboard shortcuts

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