user

package
v0.0.0-...-0a93553 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BotUserId     int64 = 1100
	DemoUserStart int64 = 1101

	DemoUsdSymbol int = 1
	DemoEthSymbol int = 2
)
View Source
var AuthMiddleware *jwt.GinJWTMiddleware

Functions

func InitJwt

func InitJwt()

func Run

func Run()

func SetDbEngine

func SetDbEngine(db *xorm.Engine)

Types

type User

type User struct {
	UserId   int64  `json:"user_id"`
	UserName string `json:"username"`
}

User

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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