opendata

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPlayersFromFile

func LoadPlayersFromFile(ctx context.Context, name string, cb func(ctx context.Context, p Player) error) error

Types

type Player

type Player struct {
	PID  int
	Nick string
}

func (Player) MarshalText

func (p Player) MarshalText() (text []byte, err error)

func (Player) String

func (p Player) String() string

func (*Player) UnmarshalText

func (p *Player) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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