rpc

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package rpc answers a server's calls to WittyPlay's service: gen.go is generated, by kit/facade in WittyModule, and this is what can't be.

Index

Constants

This section is empty.

Variables

View Source
var Handlers = map[string]service.Handler{}/* 157 elements not displayed */

Handlers answer the server's calls, by name.

Mgr is this process's games.

Functions

func Busy

func Busy() bool

Busy says a game is being played.

func ErrorCode

func ErrorCode(err error) string

ErrorCode names an error the server has its own copy of.

func Routes

func Routes(mux *http.ServeMux)

Routes are what isn't a call: a browser's connection to a game, passed straight through.

func Stop

func Stop()

Stop saves and ends every game, as the server goes away.

Types

This section is empty.

Jump to

Keyboard shortcuts

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