server

package
v0.9.4-beta Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Address = "127.0.0.1:17069"

Variables

This section is empty.

Functions

func Balls

func Balls(b int)

func Clear

func Clear()

func Clients

func Clients() int

func Clock

func Clock() string

func IsFinalStretch

func IsFinalStretch() bool

func Publish

func Publish(t *team.Team, value int)

func Scores

func Scores() (purple, orange, self int)

func Seconds

func Seconds() int

func Start

func Start()

func Time

func Time(minutes, seconds int)

Types

type Pipe

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

func (Pipe) MarshalZerologObject

func (g Pipe) MarshalZerologObject(e *zerolog.Event)

type Score

type Score struct {
	Team  string `json:"team"`
	Value int    `json:"value"`
}

func (Score) MarshalZerologObject

func (s Score) MarshalZerologObject(e *zerolog.Event)

Jump to

Keyboard shortcuts

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