proto

package
v0.0.0-...-de535d1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

logic.proto

It has these top-level messages:

PushsMsg
PingArg
PingReply
ConnArg
ConnReply
DisconnArg
DisconnReply

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnArg

type ConnArg struct {
	Token  string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Server int32  `protobuf:"varint,2,opt,name=server,proto3" json:"server,omitempty"`
}

func (*ConnArg) Marshal

func (m *ConnArg) Marshal() (data []byte, err error)

func (*ConnArg) MarshalTo

func (m *ConnArg) MarshalTo(data []byte) (n int, err error)

func (*ConnArg) ProtoMessage

func (*ConnArg) ProtoMessage()

func (*ConnArg) Reset

func (m *ConnArg) Reset()

func (*ConnArg) Size

func (m *ConnArg) Size() (n int)

func (*ConnArg) String

func (m *ConnArg) String() string

func (*ConnArg) Unmarshal

func (m *ConnArg) Unmarshal(data []byte) error

type ConnReply

type ConnReply struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	RoomId int32  `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId,omitempty"`
}

func (*ConnReply) Marshal

func (m *ConnReply) Marshal() (data []byte, err error)

func (*ConnReply) MarshalTo

func (m *ConnReply) MarshalTo(data []byte) (n int, err error)

func (*ConnReply) ProtoMessage

func (*ConnReply) ProtoMessage()

func (*ConnReply) Reset

func (m *ConnReply) Reset()

func (*ConnReply) Size

func (m *ConnReply) Size() (n int)

func (*ConnReply) String

func (m *ConnReply) String() string

func (*ConnReply) Unmarshal

func (m *ConnReply) Unmarshal(data []byte) error

type DisconnArg

type DisconnArg struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	RoomId int32  `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId,omitempty"`
}

func (*DisconnArg) Marshal

func (m *DisconnArg) Marshal() (data []byte, err error)

func (*DisconnArg) MarshalTo

func (m *DisconnArg) MarshalTo(data []byte) (n int, err error)

func (*DisconnArg) ProtoMessage

func (*DisconnArg) ProtoMessage()

func (*DisconnArg) Reset

func (m *DisconnArg) Reset()

func (*DisconnArg) Size

func (m *DisconnArg) Size() (n int)

func (*DisconnArg) String

func (m *DisconnArg) String() string

func (*DisconnArg) Unmarshal

func (m *DisconnArg) Unmarshal(data []byte) error

type DisconnReply

type DisconnReply struct {
	Has bool `protobuf:"varint,1,opt,name=has,proto3" json:"has,omitempty"`
}

func (*DisconnReply) Marshal

func (m *DisconnReply) Marshal() (data []byte, err error)

func (*DisconnReply) MarshalTo

func (m *DisconnReply) MarshalTo(data []byte) (n int, err error)

func (*DisconnReply) ProtoMessage

func (*DisconnReply) ProtoMessage()

func (*DisconnReply) Reset

func (m *DisconnReply) Reset()

func (*DisconnReply) Size

func (m *DisconnReply) Size() (n int)

func (*DisconnReply) String

func (m *DisconnReply) String() string

func (*DisconnReply) Unmarshal

func (m *DisconnReply) Unmarshal(data []byte) error

type PingArg

type PingArg struct {
}

func (*PingArg) Marshal

func (m *PingArg) Marshal() (data []byte, err error)

func (*PingArg) MarshalTo

func (m *PingArg) MarshalTo(data []byte) (n int, err error)

func (*PingArg) ProtoMessage

func (*PingArg) ProtoMessage()

func (*PingArg) Reset

func (m *PingArg) Reset()

func (*PingArg) Size

func (m *PingArg) Size() (n int)

func (*PingArg) String

func (m *PingArg) String() string

func (*PingArg) Unmarshal

func (m *PingArg) Unmarshal(data []byte) error

type PingReply

type PingReply struct {
}

func (*PingReply) Marshal

func (m *PingReply) Marshal() (data []byte, err error)

func (*PingReply) MarshalTo

func (m *PingReply) MarshalTo(data []byte) (n int, err error)

func (*PingReply) ProtoMessage

func (*PingReply) ProtoMessage()

func (*PingReply) Reset

func (m *PingReply) Reset()

func (*PingReply) Size

func (m *PingReply) Size() (n int)

func (*PingReply) String

func (m *PingReply) String() string

func (*PingReply) Unmarshal

func (m *PingReply) Unmarshal(data []byte) error

type PushsMsg

type PushsMsg struct {
	Server  int32    `protobuf:"varint,1,opt,name=server,proto3" json:"server,omitempty"`
	SubKeys []string `protobuf:"bytes,2,rep,name=subKeys" json:"subKeys,omitempty"`
	Msg     []byte   `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*PushsMsg) Marshal

func (m *PushsMsg) Marshal() (data []byte, err error)

func (*PushsMsg) MarshalTo

func (m *PushsMsg) MarshalTo(data []byte) (n int, err error)

func (*PushsMsg) ProtoMessage

func (*PushsMsg) ProtoMessage()

func (*PushsMsg) Reset

func (m *PushsMsg) Reset()

func (*PushsMsg) Size

func (m *PushsMsg) Size() (n int)

func (*PushsMsg) String

func (m *PushsMsg) String() string

func (*PushsMsg) Unmarshal

func (m *PushsMsg) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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