msg

package
v0.0.0-...-dc791d1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2016 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package msg is a generated protocol buffer package.

It is generated from these files:

msg/transfer.proto

It has these top-level messages:

Transfer
SendInit
RecvInit
SendPartial
AskPartial
Error

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AskPartial

type AskPartial struct {
	Index            []uint32 `protobuf:"varint,1,rep,name=index" json:"index,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*AskPartial) Descriptor

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

func (*AskPartial) GetIndex

func (m *AskPartial) GetIndex() []uint32

func (*AskPartial) ProtoMessage

func (*AskPartial) ProtoMessage()

func (*AskPartial) Reset

func (m *AskPartial) Reset()

func (*AskPartial) String

func (m *AskPartial) String() string

type Error

type Error struct {
	Code             *uint32 `protobuf:"varint,1,req,name=code" json:"code,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Error) Descriptor

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

func (*Error) GetCode

func (m *Error) GetCode() uint32

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

type RecvInit

type RecvInit struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Total            *uint32 `protobuf:"varint,2,req,name=total" json:"total,omitempty"`
	Block            *uint32 `protobuf:"varint,3,req,name=block" json:"block,omitempty"`
	Cnt              *uint32 `protobuf:"varint,4,req,name=cnt" json:"cnt,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*RecvInit) Descriptor

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

func (*RecvInit) GetBlock

func (m *RecvInit) GetBlock() uint32

func (*RecvInit) GetCnt

func (m *RecvInit) GetCnt() uint32

func (*RecvInit) GetName

func (m *RecvInit) GetName() string

func (*RecvInit) GetTotal

func (m *RecvInit) GetTotal() uint32

func (*RecvInit) ProtoMessage

func (*RecvInit) ProtoMessage()

func (*RecvInit) Reset

func (m *RecvInit) Reset()

func (*RecvInit) String

func (m *RecvInit) String() string

type SendInit

type SendInit struct {
	Total            *uint32 `protobuf:"varint,1,req,name=total" json:"total,omitempty"`
	Block            *uint32 `protobuf:"varint,2,req,name=block" json:"block,omitempty"`
	Cnt              *uint32 `protobuf:"varint,3,req,name=cnt" json:"cnt,omitempty"`
	Name             *string `protobuf:"bytes,4,req,name=name" json:"name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SendInit) Descriptor

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

func (*SendInit) GetBlock

func (m *SendInit) GetBlock() uint32

func (*SendInit) GetCnt

func (m *SendInit) GetCnt() uint32

func (*SendInit) GetName

func (m *SendInit) GetName() string

func (*SendInit) GetTotal

func (m *SendInit) GetTotal() uint32

func (*SendInit) ProtoMessage

func (*SendInit) ProtoMessage()

func (*SendInit) Reset

func (m *SendInit) Reset()

func (*SendInit) String

func (m *SendInit) String() string

type SendPartial

type SendPartial struct {
	Index            *uint32 `protobuf:"varint,1,req,name=index" json:"index,omitempty"`
	Data             []byte  `protobuf:"bytes,2,req,name=data" json:"data,omitempty"`
	Checksum         []byte  `protobuf:"bytes,3,req,name=checksum" json:"checksum,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SendPartial) Descriptor

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

func (*SendPartial) GetChecksum

func (m *SendPartial) GetChecksum() []byte

func (*SendPartial) GetData

func (m *SendPartial) GetData() []byte

func (*SendPartial) GetIndex

func (m *SendPartial) GetIndex() uint32

func (*SendPartial) ProtoMessage

func (*SendPartial) ProtoMessage()

func (*SendPartial) Reset

func (m *SendPartial) Reset()

func (*SendPartial) String

func (m *SendPartial) String() string

type Transfer

type Transfer struct {
	SendInit         *SendInit    `protobuf:"bytes,1,opt,name=send_init" json:"send_init,omitempty"`
	RecvInit         *RecvInit    `protobuf:"bytes,2,opt,name=recv_init" json:"recv_init,omitempty"`
	SendPartial      *SendPartial `protobuf:"bytes,3,opt,name=send_partial" json:"send_partial,omitempty"`
	AskPartial       *AskPartial  `protobuf:"bytes,4,opt,name=ask_partial" json:"ask_partial,omitempty"`
	Status           *Error       `protobuf:"bytes,5,opt,name=status" json:"status,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

func (*Transfer) Descriptor

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

func (*Transfer) GetAskPartial

func (m *Transfer) GetAskPartial() *AskPartial

func (*Transfer) GetRecvInit

func (m *Transfer) GetRecvInit() *RecvInit

func (*Transfer) GetSendInit

func (m *Transfer) GetSendInit() *SendInit

func (*Transfer) GetSendPartial

func (m *Transfer) GetSendPartial() *SendPartial

func (*Transfer) GetStatus

func (m *Transfer) GetStatus() *Error

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) Reset

func (m *Transfer) Reset()

func (*Transfer) String

func (m *Transfer) String() string

Jump to

Keyboard shortcuts

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