arg

package
v0.0.0-...-1f8f298 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Token ...
	Token = 0

	// Login ...
	Login = 1

	// RedPacket ..
	RedPacket = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Arg

type Arg struct {
	Seq   uint64
	CMD   int
	Value map[string]interface{}
}

Arg send to client arg struct

func NewArg

func NewArg(cmd int) *Arg

NewArg ...

func (*Arg) Append

func (arg *Arg) Append(k string, v interface{}) *Arg

Append ..

Jump to

Keyboard shortcuts

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