Documentation ¶ Overview ¶ Package GameMaster/Client implements RPC Client GameMaster interface for use by Clients in Universe 4.0. Index ¶ type Game func New(server config.Server) *Game func (t *Game) Divide(a, b int) shared.Quotient func (t *Game) Multiply(a, b int) int Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Game ¶ type Game struct { // contains filtered or unexported fields } Create a struct, that mimics all methods provided by interface. It is not compulsory, we are doing it here, just to simulate a traditional method call. func New ¶ func New(server config.Server) *Game New receives config.Server and returns Acct struct. func (*Game) Divide ¶ func (t *Game) Divide(a, b int) shared.Quotient Divide is a test function. func (*Game) Multiply ¶ func (t *Game) Multiply(a, b int) int Multiply is a test function. Source Files ¶ View all Source files Client.go Click to show internal directories. Click to hide internal directories.