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

schema

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Audit

type Audit struct {
	entlite.Schema
}

func (Audit) Contracts

func (Audit) Contracts() []entlite.Contract

sqlc only: no proto message, no rpc

func (Audit) Fields

func (Audit) Fields() []entlite.Field

func (Audit) Queries

func (Audit) Queries() []entlite.Query

queries are called by the server, they never become rpc

type Match

type Match struct {
	entlite.Schema
}

func (Match) Contracts

func (Match) Contracts() []entlite.Contract

both contracts: stored in sqlite and served to clients

func (Match) Fields

func (Match) Fields() []entlite.Field

func (Match) Queries

func (Match) Queries() []entlite.Query

type Player added in v0.0.3

type Player struct {
	entlite.Schema
}

Player is the club roster, written on the server and read by members.

func (Player) Contracts added in v0.0.3

func (Player) Contracts() []entlite.Contract

both contracts, but proto is read only: the roster gets no write rpc

func (Player) Fields added in v0.0.3

func (Player) Fields() []entlite.Field

func (Player) Indexes added in v0.0.5

func (Player) Indexes() []entlite.Index

the roster is keyed by player name, matches refer to players the same way

func (Player) Queries added in v0.0.3

func (Player) Queries() []entlite.Query

type Standing

type Standing struct {
	entlite.Schema
}

func (Standing) Contracts

func (Standing) Contracts() []entlite.Contract

proto only: counted from matches on every request, there is no standings table

func (Standing) Fields

func (Standing) Fields() []entlite.Field

func (Standing) Queries

func (Standing) Queries() []entlite.Query

Jump to

Keyboard shortcuts

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