data

package
v0.0.0-...-771d5d4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is data providers.

Functions

func NewGameFileRepo

func NewGameFileRepo(data *Data, logger log.Logger) biz.GameFileRepo

func NewGameInstanceRepo

func NewGameInstanceRepo(etcdCli *etcdAPI.Client, data *Data, logger log.Logger) biz.GameInstanceRepo

func NewRoomRepo

func NewRoomRepo(data *Data, logger log.Logger) biz.RoomRepo

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

Data .

func NewData

func NewData(c *conf.Data, sc *conf.Server, r registry.Discovery, logger log.Logger) (*Data, func(), error)

NewData .

Jump to

Keyboard shortcuts

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