protocol

package
v0.0.0-...-2770a49 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package protocol is a generated protocol buffer package.

It is generated from these files:

trans.proto

It has these top-level messages:

Command
Message

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Sender           *uint64  `protobuf:"varint,1,opt,name=sender" json:"sender,omitempty"`
	Receiver         *uint64  `protobuf:"varint,2,opt,name=receiver" json:"receiver,omitempty"`
	Message          *Message `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*Command) GetMessage

func (m *Command) GetMessage() *Message

func (*Command) GetReceiver

func (m *Command) GetReceiver() uint64

func (*Command) GetSender

func (m *Command) GetSender() uint64

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) Reset

func (m *Command) Reset()

func (*Command) String

func (m *Command) String() string

type Message

type Message struct {
	Data             *string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
	Name             *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Password         *string `protobuf:"bytes,3,opt" json:"Password,omitempty"`
	Random           *uint32 `protobuf:"varint,4,opt,name=random" json:"random,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Message) GetData

func (m *Message) GetData() string

func (*Message) GetName

func (m *Message) GetName() string

func (*Message) GetPassword

func (m *Message) GetPassword() string

func (*Message) GetRandom

func (m *Message) GetRandom() uint32

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

Jump to

Keyboard shortcuts

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