Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuditCount

func AuditCount(ctx context.Context, database *sql.DB) (int, error)

AuditCount reports how many audit rows are stored, used by the /audit endpoint

func SeedRoster added in v0.0.3

func SeedRoster(ctx context.Context, database *sql.DB) error

SeedRoster fills the roster once, CreatePlayer is sqlc only

Types

type MatchServer

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

func NewMatchServiceServer

func NewMatchServiceServer(db *sql.DB) *MatchServer

func (*MatchServer) CreateMatch added in v0.0.5

func (*MatchServer) DeleteMatch added in v0.0.5

func (*MatchServer) GetMatchByID added in v0.0.5

func (*MatchServer) ListAllMatch added in v0.0.5

type PlayerServer added in v0.0.3

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

func NewPlayerServiceServer added in v0.0.3

func NewPlayerServiceServer(db *sql.DB) *PlayerServer

func (*PlayerServer) GetPlayerByName added in v0.0.5

GetByName reads one roster entry, index.Primary("name") makes the name the key, and the read only contract gives no write rpc

func (*PlayerServer) ListAllPlayer added in v0.0.5

type StandingServer

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

func NewStandingServiceServer

func NewStandingServiceServer(db *sql.DB) *StandingServer

func (*StandingServer) ListAllStanding added in v0.0.5

ListAll counts the standings from matches, Standing has no table to read from

Jump to

Keyboard shortcuts

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