db

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	StatusRedis          *redis.Client // 在线状态数据库
	PlayerBriefDataRedis *redis.Client // 玩家简要信息
}
var STORE *Store

func GetStore added in v1.2.2

func GetStore() *Store

func NewStore

func NewStore(conf *config.Config) *Store

func (*Store) GetPlayerStatus

func (s *Store) GetPlayerStatus(accountId string) ([]byte, bool)

获取玩家状态

Jump to

Keyboard shortcuts

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