model

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Empty 空
	Empty = ""
	// Set 存在
	Set = "1"
	// GoldTarget 金瓜子
	GoldTarget = 1010
	// SilverTarget 银瓜子
	SilverTarget = 1011
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfValues

type ConfValues map[int64]string

ConfValues 配置

func (ConfValues) IsSet

func (vs ConfValues) IsSet(key int64) bool

IsSet 是否存在

type History

type History struct {
	Text       string        `json:"text"`
	NickName   string        `json:"nickname"`
	UID        int64         `json:"uid"`
	UnameColor string        `json:"uname_color"`
	TimeLine   string        `json:"timeline"`
	Isadmin    int32         `json:"isadmin"`
	Vip        int           `json:"vip"`
	SVip       int           `json:"svip"`
	Medal      []interface{} `json:"medal"`
	Title      []interface{} `json:"title"`
	UserLevel  []interface{} `json:"user_level"`
	Rank       int32         `json:"rank"`
	Teamid     int64         `json:"teamid"`
	RND        string        `json:"rnd"`
	UserTitle  string        `json:"user_title"`
	GuardLevel int           `json:"guard_level"`
	Bubble     int64         `json:"bubble"`
}

History 存档信息

type LiveWallet

type LiveWallet struct {
	Gold            int64 `json:"gold"`
	Silver          int64 `json:"silver"`
	GoldRechargeCnt int64 `json:"gold_recharge_cnt"`
	GoldPayCnt      int64 `json:"gold_pay_cnt"`
	SilverPayCnt    int64 `json:"silver_pay_cnt"`
}

LiveWallet 直播钱包数据

type Wallet

type Wallet struct {
	Mid           int64   `json:"mid"`
	BcoinBalance  float32 `json:"bcoin_balance"`
	CouponBalance float32 `json:"coupon_balance"`
	DefaultBp     float32 `json:"default_bp"`
	IosBp         float32 `json:"ios_bp"`
}

Wallet struct.

Jump to

Keyboard shortcuts

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