svc

package
v0.0.0-...-cc36037 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2018 License: Unlicense Imports: 4 Imported by: 2

Documentation

Index

Constants

View Source
const (
	BoardSizeTiny   = 9
	BoardSizeSmall  = 13
	BoardSizeNormal = 19
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchSvc

type MatchSvc struct {
	data.Store
}

func (MatchSvc) CreateMatch

func (svc MatchSvc) CreateMatch(ctx context.Context, boardSize int) (model.Match, error)

func (MatchSvc) GetMatches

func (svc MatchSvc) GetMatches(ctx context.Context) ([]model.Match, error)

func (MatchSvc) JoinMatch

func (svc MatchSvc) JoinMatch(ctx context.Context, matchID string) (model.Match, error)

Jump to

Keyboard shortcuts

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