proto

package
v0.0.0-...-29ffec6 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SProtoEnumValue = map[string]map[int32]string{}
View Source
var SProtoStructs = []reflect.Type{

	reflect.TypeOf((*LoginREQ)(nil)).Elem(),
	reflect.TypeOf((*LoginACK)(nil)).Elem(),
	reflect.TypeOf((*PeerConnected)(nil)).Elem(),
	reflect.TypeOf((*PeerDisconnected)(nil)).Elem(),
	reflect.TypeOf((*PeerConnectError)(nil)).Elem(),
	reflect.TypeOf((*PeerRecvError)(nil)).Elem(),
	reflect.TypeOf((*PeerSendError)(nil)).Elem(),
}

Functions

This section is empty.

Types

type LoginACK

type LoginACK struct {
	Result int32 `sproto:"integer,0,name=Result"`

	Token string `sproto:"string,1,name=Token"`
}

func (*LoginACK) String

func (self *LoginACK) String() string

type LoginREQ

type LoginREQ struct {
	PlatformToken string `sproto:"string,0,name=PlatformToken"`
}

func (*LoginREQ) String

func (self *LoginREQ) String() string

type PeerConnectError

type PeerConnectError struct {
}

func (*PeerConnectError) String

func (self *PeerConnectError) String() string

type PeerConnected

type PeerConnected struct {
}

func (*PeerConnected) String

func (self *PeerConnected) String() string

type PeerDisconnected

type PeerDisconnected struct {
}

func (*PeerDisconnected) String

func (self *PeerDisconnected) String() string

type PeerRecvError

type PeerRecvError struct {
}

func (*PeerRecvError) String

func (self *PeerRecvError) String() string

type PeerSendError

type PeerSendError struct {
}

func (*PeerSendError) String

func (self *PeerSendError) String() string

Jump to

Keyboard shortcuts

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