fynexoxo

package
v0.0.0-...-d505d60 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, logger zerolog.Logger, debug bool, urlstr, key string) error

func Shutdown

func Shutdown()

Types

type Game

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

func New

func New(ctx context.Context, logger zerolog.Logger, debug bool, urlstr, key string) *Game

func (*Game) ConnectHandler

func (g *Game) ConnectHandler(ctx context.Context)

func (*Game) DisconnectHandler

func (g *Game) DisconnectHandler(ctx context.Context, err error)

func (*Game) Run

func (g *Game) Run() error

func (*Game) Shutdown

func (g *Game) Shutdown()

func (*Game) StateHandler

func (g *Game) StateHandler(ctx context.Context)

Jump to

Keyboard shortcuts

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