Client

package
v0.0.0-alpha.0...-306d899 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package AcctMaster/Client implements RPC Client AcctMaster interface for use by gameserver in Universe 4.0.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Acct

type Acct 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) *Acct

New receives config.Server and returns Acct struct.

func (*Acct) Divide

func (t *Acct) Divide(a, b int) shared.Quotient

Divide is a test function.

func (*Acct) Multiply

func (t *Acct) Multiply(a, b int) int

Multiply is a test function.

Jump to

Keyboard shortcuts

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