hall

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServiceName

func GetServiceName() string

Types

type HallService

type HallService interface {
	gira.Service
	SessionCount() int64
	Push(ctx context.Context, userId string, req gira.ProtoPush) error
	MustPush(ctx context.Context, userId string, resp gira.ProtoPush) (err error)
}

func NewService

func NewService(proto gira.Proto, config config.GameConfig, hallHandler game.HallHandler, playerHandler gira.ProtoHandler) (HallService, error)

Jump to

Keyboard shortcuts

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