entity

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

type Player struct {
	AccessToken   string `json:"accessToken"`
	RefreshToken  string `json:"refreshToken"`
	HeadImgUrl    string `json:"headImgUrl"`
	UserId        int    `json:"userId"`
	UserIp        string `json:"userIp"`
	NickName      string `json:"nickName"`
	ExpiresIn     int    `json:"expiresIn"`
	LastLoginTime int64  `json:"lastLoginTime"`
}

func (*Player) Marshal

func (p *Player) Marshal() ([]byte, error)

func (*Player) Unmarshal

func (p *Player) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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