querys

package
v1.1.45 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	*redmos.Save           // 儲存判斷資料
	Account      string    `bson:"account"` // [主索引] 帳號
	Token        string    `bson:"token"`   // token
	Time         time.Time `bson:"time"`    // 更新時間
}

Auth 認證資料

func NewAuth

func NewAuth(account string) *Auth

NewAuth 建立玩家資料

func (*Auth) NewGetter

func (this *Auth) NewGetter() redmos.Behavior

NewGetter 建立取得資料行為

func (*Auth) NewSetter

func (this *Auth) NewSetter() redmos.Behavior

NewSetter 建立設定資料行為

type MetaAuth

type MetaAuth struct {
}

MetaAuth 元資料: 認證資料

func (*MetaAuth) MajorKey

func (this *MetaAuth) MajorKey(key any) string

func (*MetaAuth) MinorField

func (this *MetaAuth) MinorField() string

func (*MetaAuth) MinorKey

func (this *MetaAuth) MinorKey(key any) string

func (*MetaAuth) MinorTable

func (this *MetaAuth) MinorTable() string

Jump to

Keyboard shortcuts

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