messages

package
v0.0.0-...-534b11b Latest Latest
Warning

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

Go to latest
Published: May 3, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package messages is a generated protocol buffer package.

It is generated from these files:

protos.proto

It has these top-level messages:

Connect
Connected
SayRequest
SayResponse
NickRequest
NickResponse

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthProtos = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProtos   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Connect

type Connect struct {
	Sender *actor.PID `protobuf:"bytes,1,opt,name=Sender,json=sender" json:"Sender,omitempty"`
}

func (*Connect) Descriptor

func (*Connect) Descriptor() ([]byte, []int)

func (*Connect) GetSender

func (m *Connect) GetSender() *actor.PID

func (*Connect) Marshal

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

func (*Connect) MarshalTo

func (m *Connect) MarshalTo(data []byte) (int, error)

func (*Connect) ProtoMessage

func (*Connect) ProtoMessage()

func (*Connect) Reset

func (m *Connect) Reset()

func (*Connect) Size

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

func (*Connect) String

func (m *Connect) String() string

func (*Connect) Unmarshal

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

type Connected

type Connected struct {
	Message string `protobuf:"bytes,1,opt,name=Message,json=message,proto3" json:"Message,omitempty"`
}

func (*Connected) Descriptor

func (*Connected) Descriptor() ([]byte, []int)

func (*Connected) Marshal

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

func (*Connected) MarshalTo

func (m *Connected) MarshalTo(data []byte) (int, error)

func (*Connected) ProtoMessage

func (*Connected) ProtoMessage()

func (*Connected) Reset

func (m *Connected) Reset()

func (*Connected) Size

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

func (*Connected) String

func (m *Connected) String() string

func (*Connected) Unmarshal

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

type NickRequest

type NickRequest struct {
	OldUserName string `protobuf:"bytes,1,opt,name=OldUserName,json=oldUserName,proto3" json:"OldUserName,omitempty"`
	NewUserName string `protobuf:"bytes,2,opt,name=NewUserName,json=newUserName,proto3" json:"NewUserName,omitempty"`
}

func (*NickRequest) Descriptor

func (*NickRequest) Descriptor() ([]byte, []int)

func (*NickRequest) Marshal

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

func (*NickRequest) MarshalTo

func (m *NickRequest) MarshalTo(data []byte) (int, error)

func (*NickRequest) ProtoMessage

func (*NickRequest) ProtoMessage()

func (*NickRequest) Reset

func (m *NickRequest) Reset()

func (*NickRequest) Size

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

func (*NickRequest) String

func (m *NickRequest) String() string

func (*NickRequest) Unmarshal

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

type NickResponse

type NickResponse struct {
	OldUserName string `protobuf:"bytes,1,opt,name=OldUserName,json=oldUserName,proto3" json:"OldUserName,omitempty"`
	NewUserName string `protobuf:"bytes,2,opt,name=NewUserName,json=newUserName,proto3" json:"NewUserName,omitempty"`
}

func (*NickResponse) Descriptor

func (*NickResponse) Descriptor() ([]byte, []int)

func (*NickResponse) Marshal

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

func (*NickResponse) MarshalTo

func (m *NickResponse) MarshalTo(data []byte) (int, error)

func (*NickResponse) ProtoMessage

func (*NickResponse) ProtoMessage()

func (*NickResponse) Reset

func (m *NickResponse) Reset()

func (*NickResponse) Size

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

func (*NickResponse) String

func (m *NickResponse) String() string

func (*NickResponse) Unmarshal

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

type SayRequest

type SayRequest struct {
	UserName string `protobuf:"bytes,1,opt,name=UserName,json=userName,proto3" json:"UserName,omitempty"`
	Message  string `protobuf:"bytes,2,opt,name=Message,json=message,proto3" json:"Message,omitempty"`
}

func (*SayRequest) Descriptor

func (*SayRequest) Descriptor() ([]byte, []int)

func (*SayRequest) Marshal

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

func (*SayRequest) MarshalTo

func (m *SayRequest) MarshalTo(data []byte) (int, error)

func (*SayRequest) ProtoMessage

func (*SayRequest) ProtoMessage()

func (*SayRequest) Reset

func (m *SayRequest) Reset()

func (*SayRequest) Size

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

func (*SayRequest) String

func (m *SayRequest) String() string

func (*SayRequest) Unmarshal

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

type SayResponse

type SayResponse struct {
	UserName string `protobuf:"bytes,1,opt,name=UserName,json=userName,proto3" json:"UserName,omitempty"`
	Message  string `protobuf:"bytes,2,opt,name=Message,json=message,proto3" json:"Message,omitempty"`
}

func (*SayResponse) Descriptor

func (*SayResponse) Descriptor() ([]byte, []int)

func (*SayResponse) Marshal

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

func (*SayResponse) MarshalTo

func (m *SayResponse) MarshalTo(data []byte) (int, error)

func (*SayResponse) ProtoMessage

func (*SayResponse) ProtoMessage()

func (*SayResponse) Reset

func (m *SayResponse) Reset()

func (*SayResponse) Size

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

func (*SayResponse) String

func (m *SayResponse) String() string

func (*SayResponse) Unmarshal

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

Jump to

Keyboard shortcuts

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