server

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 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) Create

func (*MatchServer) Delete

func (*MatchServer) GetByID

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) GetByID added in v0.0.3

GetByID reads one roster entry, the read only contract gives no write rpc

func (*PlayerServer) ListAll added in v0.0.3

type StandingServer

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

func NewStandingServiceServer

func NewStandingServiceServer(db *sql.DB) *StandingServer

func (*StandingServer) ListAll

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