Documentation ¶ Overview ¶ Package AcctMaster/Client implements RPC Client AcctMaster interface for use by gameserver in Universe 4.0. Index ¶ type Acct func New(server config.Server) *Acct func (t *Acct) Divide(a, b int) shared.Quotient func (t *Acct) Multiply(a, b int) int 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. Source Files ¶ View all Source files Client.go Click to show internal directories. Click to hide internal directories.