transferpb

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transfer_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FileBlock

type FileBlock struct {
	TransferId  string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	Data        []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	IsLastBlock bool   `protobuf:"varint,3,opt,name=is_last_block,json=isLastBlock,proto3" json:"is_last_block,omitempty"`
	// contains filtered or unexported fields
}

func (*FileBlock) Descriptor deprecated

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

Deprecated: Use FileBlock.ProtoReflect.Descriptor instead.

func (*FileBlock) GetData

func (x *FileBlock) GetData() []byte

func (*FileBlock) GetIsLastBlock

func (x *FileBlock) GetIsLastBlock() bool

func (*FileBlock) GetTransferId

func (x *FileBlock) GetTransferId() string

func (*FileBlock) ProtoMessage

func (*FileBlock) ProtoMessage()

func (*FileBlock) ProtoReflect

func (x *FileBlock) ProtoReflect() protoreflect.Message

func (*FileBlock) Reset

func (x *FileBlock) Reset()

func (*FileBlock) String

func (x *FileBlock) String() string

type TransferComplete

type TransferComplete struct {
	TransferId string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	Success    bool   `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	Message    string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferComplete) Descriptor deprecated

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

Deprecated: Use TransferComplete.ProtoReflect.Descriptor instead.

func (*TransferComplete) GetMessage

func (x *TransferComplete) GetMessage() string

func (*TransferComplete) GetSuccess

func (x *TransferComplete) GetSuccess() bool

func (*TransferComplete) GetTransferId

func (x *TransferComplete) GetTransferId() string

func (*TransferComplete) ProtoMessage

func (*TransferComplete) ProtoMessage()

func (*TransferComplete) ProtoReflect

func (x *TransferComplete) ProtoReflect() protoreflect.Message

func (*TransferComplete) Reset

func (x *TransferComplete) Reset()

func (*TransferComplete) String

func (x *TransferComplete) String() string

type TransferStart

type TransferStart struct {
	TransferId   string `protobuf:"bytes,1,opt,name=transfer_id,json=transferId,proto3" json:"transfer_id,omitempty"`
	IsCompressed bool   `protobuf:"varint,2,opt,name=is_compressed,json=isCompressed,proto3" json:"is_compressed,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferStart) Descriptor deprecated

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

Deprecated: Use TransferStart.ProtoReflect.Descriptor instead.

func (*TransferStart) GetIsCompressed

func (x *TransferStart) GetIsCompressed() bool

func (*TransferStart) GetTransferId

func (x *TransferStart) GetTransferId() string

func (*TransferStart) ProtoMessage

func (*TransferStart) ProtoMessage()

func (*TransferStart) ProtoReflect

func (x *TransferStart) ProtoReflect() protoreflect.Message

func (*TransferStart) Reset

func (x *TransferStart) Reset()

func (*TransferStart) String

func (x *TransferStart) String() string

Jump to

Keyboard shortcuts

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