rpc

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FirmwareUpgradeRequest_Type_name = map[int32]string{
		0: "Archive",
		1: "Files",
	}
	FirmwareUpgradeRequest_Type_value = map[string]int32{
		"Archive": 0,
		"Files":   1,
	}
)

Enum value maps for FirmwareUpgradeRequest_Type.

View Source
var (
	ResourceLoadProgress_Operation_name = map[int32]string{
		0: "Upload",
		1: "RemoveObsolete",
	}
	ResourceLoadProgress_Operation_value = map[string]int32{
		"Upload":         0,
		"RemoveObsolete": 1,
	}
)

Enum value maps for ResourceLoadProgress_Operation.

Functions

func DRPCRegisterFS

func DRPCRegisterFS(mux drpc.Mux, impl DRPCFSServer) error

func DRPCRegisterITD

func DRPCRegisterITD(mux drpc.Mux, impl DRPCITDServer) error

Types

type DFUProgress

type DFUProgress struct {
	Sent     int64 `protobuf:"varint,1,opt,name=sent,proto3" json:"sent,omitempty"`
	Recieved int64 `protobuf:"varint,2,opt,name=recieved,proto3" json:"recieved,omitempty"`
	Total    int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*DFUProgress) Descriptor deprecated

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

Deprecated: Use DFUProgress.ProtoReflect.Descriptor instead.

func (*DFUProgress) GetRecieved

func (x *DFUProgress) GetRecieved() int64

func (*DFUProgress) GetSent

func (x *DFUProgress) GetSent() int64

func (*DFUProgress) GetTotal

func (x *DFUProgress) GetTotal() int64

func (*DFUProgress) ProtoMessage

func (*DFUProgress) ProtoMessage()

func (*DFUProgress) ProtoReflect

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

func (*DFUProgress) Reset

func (x *DFUProgress) Reset()

func (*DFUProgress) String

func (x *DFUProgress) String() string

type DRPCFSClient

type DRPCFSClient interface {
	DRPCConn() drpc.Conn

	RemoveAll(ctx context.Context, in *PathsRequest) (*Empty, error)
	Remove(ctx context.Context, in *PathsRequest) (*Empty, error)
	Rename(ctx context.Context, in *RenameRequest) (*Empty, error)
	MkdirAll(ctx context.Context, in *PathsRequest) (*Empty, error)
	Mkdir(ctx context.Context, in *PathsRequest) (*Empty, error)
	ReadDir(ctx context.Context, in *PathRequest) (*DirResponse, error)
	Upload(ctx context.Context, in *TransferRequest) (DRPCFS_UploadClient, error)
	Download(ctx context.Context, in *TransferRequest) (DRPCFS_DownloadClient, error)
	LoadResources(ctx context.Context, in *PathRequest) (DRPCFS_LoadResourcesClient, error)
}

func NewDRPCFSClient

func NewDRPCFSClient(cc drpc.Conn) DRPCFSClient

type DRPCFSDescription

type DRPCFSDescription struct{}

func (DRPCFSDescription) Method

func (DRPCFSDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool)

func (DRPCFSDescription) NumMethods

func (DRPCFSDescription) NumMethods() int

type DRPCFSUnimplementedServer

type DRPCFSUnimplementedServer struct{}

func (*DRPCFSUnimplementedServer) Download

func (*DRPCFSUnimplementedServer) LoadResources

func (*DRPCFSUnimplementedServer) Mkdir

func (*DRPCFSUnimplementedServer) MkdirAll

func (*DRPCFSUnimplementedServer) ReadDir

func (*DRPCFSUnimplementedServer) Remove

func (*DRPCFSUnimplementedServer) RemoveAll

func (*DRPCFSUnimplementedServer) Rename

func (*DRPCFSUnimplementedServer) Upload

type DRPCFS_DownloadClient

type DRPCFS_DownloadClient interface {
	drpc.Stream
	Recv() (*TransferProgress, error)
}

type DRPCFS_DownloadStream

type DRPCFS_DownloadStream interface {
	drpc.Stream
	Send(*TransferProgress) error
}

type DRPCFS_LoadResourcesClient

type DRPCFS_LoadResourcesClient interface {
	drpc.Stream
	Recv() (*ResourceLoadProgress, error)
}

type DRPCFS_LoadResourcesStream

type DRPCFS_LoadResourcesStream interface {
	drpc.Stream
	Send(*ResourceLoadProgress) error
}

type DRPCFS_MkdirAllStream

type DRPCFS_MkdirAllStream interface {
	drpc.Stream
	SendAndClose(*Empty) error
}

type DRPCFS_MkdirStream

type DRPCFS_MkdirStream interface {
	drpc.Stream
	SendAndClose(*Empty) error
}

type DRPCFS_ReadDirStream

type DRPCFS_ReadDirStream interface {
	drpc.Stream
	SendAndClose(*DirResponse) error
}

type DRPCFS_RemoveAllStream

type DRPCFS_RemoveAllStream interface {
	drpc.Stream
	SendAndClose(*Empty) error
}

type DRPCFS_RemoveStream

type DRPCFS_RemoveStream interface {
	drpc.Stream
	SendAndClose(*Empty) error
}

type DRPCFS_RenameStream

type DRPCFS_RenameStream interface {
	drpc.Stream
	SendAndClose(*Empty) error
}

type DRPCFS_UploadClient

type DRPCFS_UploadClient interface {
	drpc.Stream
	Recv() (*TransferProgress, error)
}

type DRPCFS_UploadStream

type DRPCFS_UploadStream interface {
	drpc.Stream
	Send(*TransferProgress) error
}

type DRPCITDClient

type DRPCITDClient interface {
	DRPCConn() drpc.Conn

	HeartRate(ctx context.Context, in *Empty) (*IntResponse, error)
	WatchHeartRate(ctx context.Context, in *Empty) (DRPCITD_WatchHeartRateClient, error)
	BatteryLevel(ctx context.Context, in *Empty) (*IntResponse, error)
	WatchBatteryLevel(ctx context.Context, in *Empty) (DRPCITD_WatchBatteryLevelClient, error)
	Motion(ctx context.Context, in *Empty) (*MotionResponse, error)
	WatchMotion(ctx context.Context, in *Empty) (DRPCITD_WatchMotionClient, error)
	StepCount(ctx context.Context, in *Empty) (*IntResponse, error)
	WatchStepCount(ctx context.Context, in *Empty) (DRPCITD_WatchStepCountClient, error)
	Version(ctx context.Context, in *Empty) (*StringResponse, error)
	Address(ctx context.Context, in *Empty) (*StringResponse, error)
	Notify(ctx context.Context, in *NotifyRequest) (*Empty, error)
	SetTime(ctx context.Context, in *SetTimeRequest) (*Empty, error)
	WeatherUpdate(ctx context.Context, in *Empty) (*Empty, error)
	FirmwareUpgrade(ctx context.Context, in *FirmwareUpgradeRequest) (DRPCITD_FirmwareUpgradeClient, error)
}

func NewDRPCITDClient

func NewDRPCITDClient(cc drpc.Conn) DRPCITDClient

type DRPCITDDescription

type DRPCITDDescription struct{}

func (DRPCITDDescription) Method

func (DRPCITDDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool)

func (DRPCITDDescription) NumMethods

func (DRPCITDDescription) NumMethods() int

type DRPCITDUnimplementedServer

type DRPCITDUnimplementedServer struct{}

func (*DRPCITDUnimplementedServer) Address

func (*DRPCITDUnimplementedServer) BatteryLevel

func (*DRPCITDUnimplementedServer) FirmwareUpgrade

func (*DRPCITDUnimplementedServer) HeartRate

func (*DRPCITDUnimplementedServer) Motion

func (*DRPCITDUnimplementedServer) Notify

func (*DRPCITDUnimplementedServer) SetTime

func (*DRPCITDUnimplementedServer) StepCount

func (*DRPCITDUnimplementedServer) Version

func (*DRPCITDUnimplementedServer) WatchBatteryLevel

func (*DRPCITDUnimplementedServer) WatchHeartRate

func (*DRPCITDUnimplementedServer) WatchMotion

func (*DRPCITDUnimplementedServer) WatchStepCount

func (*DRPCITDUnimplementedServer) WeatherUpdate

func (s *DRPCITDUnimplementedServer) WeatherUpdate(context.Context, *Empty) (*Empty, error)

type DRPCITD_AddressStream

type DRPCITD_AddressStream interface {
	drpc.Stream
	SendAndClose(*StringResponse) error
}

type DRPCITD_BatteryLevelStream

type DRPCITD_BatteryLevelStream interface {
	drpc.Stream
	SendAndClose(*IntResponse) error
}

type DRPCITD_FirmwareUpgradeClient

type DRPCITD_FirmwareUpgradeClient interface {
	drpc.Stream
	Recv() (*DFUProgress, error)
}

type DRPCITD_FirmwareUpgradeStream

type DRPCITD_FirmwareUpgradeStream interface {
	drpc.Stream
	Send(*DFUProgress) error
}

type DRPCITD_HeartRateStream

type DRPCITD_HeartRateStream interface {
	drpc.Stream
	SendAndClose(*IntResponse) error
}

type DRPCITD_MotionStream

type DRPCITD_MotionStream interface {
	drpc.Stream
	SendAndClose(*MotionResponse) error
}

type DRPCITD_NotifyStream

type DRPCITD_NotifyStream interface {
	drpc.Stream
	SendAndClose(*Empty) error
}

type DRPCITD_SetTimeStream

type DRPCITD_SetTimeStream interface {
	drpc.Stream
	SendAndClose(*Empty) error
}

type DRPCITD_StepCountStream

type DRPCITD_StepCountStream interface {
	drpc.Stream
	SendAndClose(*IntResponse) error
}

type DRPCITD_VersionStream

type DRPCITD_VersionStream interface {
	drpc.Stream
	SendAndClose(*StringResponse) error
}

type DRPCITD_WatchBatteryLevelClient

type DRPCITD_WatchBatteryLevelClient interface {
	drpc.Stream
	Recv() (*IntResponse, error)
}

type DRPCITD_WatchBatteryLevelStream

type DRPCITD_WatchBatteryLevelStream interface {
	drpc.Stream
	Send(*IntResponse) error
}

type DRPCITD_WatchHeartRateClient

type DRPCITD_WatchHeartRateClient interface {
	drpc.Stream
	Recv() (*IntResponse, error)
}

type DRPCITD_WatchHeartRateStream

type DRPCITD_WatchHeartRateStream interface {
	drpc.Stream
	Send(*IntResponse) error
}

type DRPCITD_WatchMotionClient

type DRPCITD_WatchMotionClient interface {
	drpc.Stream
	Recv() (*MotionResponse, error)
}

type DRPCITD_WatchMotionStream

type DRPCITD_WatchMotionStream interface {
	drpc.Stream
	Send(*MotionResponse) error
}

type DRPCITD_WatchStepCountClient

type DRPCITD_WatchStepCountClient interface {
	drpc.Stream
	Recv() (*IntResponse, error)
}

type DRPCITD_WatchStepCountStream

type DRPCITD_WatchStepCountStream interface {
	drpc.Stream
	Send(*IntResponse) error
}

type DRPCITD_WeatherUpdateStream

type DRPCITD_WeatherUpdateStream interface {
	drpc.Stream
	SendAndClose(*Empty) error
}

type DirResponse

type DirResponse struct {
	Entries []*FileInfo `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*DirResponse) Descriptor deprecated

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

Deprecated: Use DirResponse.ProtoReflect.Descriptor instead.

func (*DirResponse) GetEntries

func (x *DirResponse) GetEntries() []*FileInfo

func (*DirResponse) ProtoMessage

func (*DirResponse) ProtoMessage()

func (*DirResponse) ProtoReflect

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

func (*DirResponse) Reset

func (x *DirResponse) Reset()

func (*DirResponse) String

func (x *DirResponse) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type FileInfo

type FileInfo struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Size  int64  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	IsDir bool   `protobuf:"varint,3,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*FileInfo) Descriptor deprecated

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

Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.

func (*FileInfo) GetIsDir

func (x *FileInfo) GetIsDir() bool

func (*FileInfo) GetName

func (x *FileInfo) GetName() string

func (*FileInfo) GetSize

func (x *FileInfo) GetSize() int64

func (*FileInfo) ProtoMessage

func (*FileInfo) ProtoMessage()

func (*FileInfo) ProtoReflect

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

func (*FileInfo) Reset

func (x *FileInfo) Reset()

func (*FileInfo) String

func (x *FileInfo) String() string

type FirmwareUpgradeRequest

type FirmwareUpgradeRequest struct {
	Type  FirmwareUpgradeRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=rpc.FirmwareUpgradeRequest_Type" json:"type,omitempty"`
	Files []string                    `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*FirmwareUpgradeRequest) Descriptor deprecated

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

Deprecated: Use FirmwareUpgradeRequest.ProtoReflect.Descriptor instead.

func (*FirmwareUpgradeRequest) GetFiles

func (x *FirmwareUpgradeRequest) GetFiles() []string

func (*FirmwareUpgradeRequest) GetType

func (*FirmwareUpgradeRequest) ProtoMessage

func (*FirmwareUpgradeRequest) ProtoMessage()

func (*FirmwareUpgradeRequest) ProtoReflect

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

func (*FirmwareUpgradeRequest) Reset

func (x *FirmwareUpgradeRequest) Reset()

func (*FirmwareUpgradeRequest) String

func (x *FirmwareUpgradeRequest) String() string

type FirmwareUpgradeRequest_Type

type FirmwareUpgradeRequest_Type int32
const (
	FirmwareUpgradeRequest_Archive FirmwareUpgradeRequest_Type = 0
	FirmwareUpgradeRequest_Files   FirmwareUpgradeRequest_Type = 1
)

func (FirmwareUpgradeRequest_Type) Descriptor

func (FirmwareUpgradeRequest_Type) Enum

func (FirmwareUpgradeRequest_Type) EnumDescriptor deprecated

func (FirmwareUpgradeRequest_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use FirmwareUpgradeRequest_Type.Descriptor instead.

func (FirmwareUpgradeRequest_Type) Number

func (FirmwareUpgradeRequest_Type) String

func (FirmwareUpgradeRequest_Type) Type

type IntResponse

type IntResponse struct {
	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*IntResponse) Descriptor deprecated

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

Deprecated: Use IntResponse.ProtoReflect.Descriptor instead.

func (*IntResponse) GetValue

func (x *IntResponse) GetValue() uint32

func (*IntResponse) ProtoMessage

func (*IntResponse) ProtoMessage()

func (*IntResponse) ProtoReflect

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

func (*IntResponse) Reset

func (x *IntResponse) Reset()

func (*IntResponse) String

func (x *IntResponse) String() string

type MotionResponse

type MotionResponse struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
	Z int32 `protobuf:"varint,3,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

func (*MotionResponse) Descriptor deprecated

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

Deprecated: Use MotionResponse.ProtoReflect.Descriptor instead.

func (*MotionResponse) GetX

func (x *MotionResponse) GetX() int32

func (*MotionResponse) GetY

func (x *MotionResponse) GetY() int32

func (*MotionResponse) GetZ

func (x *MotionResponse) GetZ() int32

func (*MotionResponse) ProtoMessage

func (*MotionResponse) ProtoMessage()

func (*MotionResponse) ProtoReflect

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

func (*MotionResponse) Reset

func (x *MotionResponse) Reset()

func (*MotionResponse) String

func (x *MotionResponse) String() string

type NotifyRequest

type NotifyRequest struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Body  string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyRequest) Descriptor deprecated

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

Deprecated: Use NotifyRequest.ProtoReflect.Descriptor instead.

func (*NotifyRequest) GetBody

func (x *NotifyRequest) GetBody() string

func (*NotifyRequest) GetTitle

func (x *NotifyRequest) GetTitle() string

func (*NotifyRequest) ProtoMessage

func (*NotifyRequest) ProtoMessage()

func (*NotifyRequest) ProtoReflect

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

func (*NotifyRequest) Reset

func (x *NotifyRequest) Reset()

func (*NotifyRequest) String

func (x *NotifyRequest) String() string

type PathRequest

type PathRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*PathRequest) Descriptor deprecated

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

Deprecated: Use PathRequest.ProtoReflect.Descriptor instead.

func (*PathRequest) GetPath

func (x *PathRequest) GetPath() string

func (*PathRequest) ProtoMessage

func (*PathRequest) ProtoMessage()

func (*PathRequest) ProtoReflect

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

func (*PathRequest) Reset

func (x *PathRequest) Reset()

func (*PathRequest) String

func (x *PathRequest) String() string

type PathsRequest

type PathsRequest struct {
	Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*PathsRequest) Descriptor deprecated

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

Deprecated: Use PathsRequest.ProtoReflect.Descriptor instead.

func (*PathsRequest) GetPaths

func (x *PathsRequest) GetPaths() []string

func (*PathsRequest) ProtoMessage

func (*PathsRequest) ProtoMessage()

func (*PathsRequest) ProtoReflect

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

func (*PathsRequest) Reset

func (x *PathsRequest) Reset()

func (*PathsRequest) String

func (x *PathsRequest) String() string

type RenameRequest

type RenameRequest struct {
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To   string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameRequest) Descriptor deprecated

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

Deprecated: Use RenameRequest.ProtoReflect.Descriptor instead.

func (*RenameRequest) GetFrom

func (x *RenameRequest) GetFrom() string

func (*RenameRequest) GetTo

func (x *RenameRequest) GetTo() string

func (*RenameRequest) ProtoMessage

func (*RenameRequest) ProtoMessage()

func (*RenameRequest) ProtoReflect

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

func (*RenameRequest) Reset

func (x *RenameRequest) Reset()

func (*RenameRequest) String

func (x *RenameRequest) String() string

type ResourceLoadProgress

type ResourceLoadProgress struct {
	Name      string                         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Total     int64                          `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	Sent      int64                          `protobuf:"varint,3,opt,name=sent,proto3" json:"sent,omitempty"`
	Operation ResourceLoadProgress_Operation `protobuf:"varint,4,opt,name=operation,proto3,enum=rpc.ResourceLoadProgress_Operation" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceLoadProgress) Descriptor deprecated

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

Deprecated: Use ResourceLoadProgress.ProtoReflect.Descriptor instead.

func (*ResourceLoadProgress) GetName

func (x *ResourceLoadProgress) GetName() string

func (*ResourceLoadProgress) GetOperation

func (*ResourceLoadProgress) GetSent

func (x *ResourceLoadProgress) GetSent() int64

func (*ResourceLoadProgress) GetTotal

func (x *ResourceLoadProgress) GetTotal() int64

func (*ResourceLoadProgress) ProtoMessage

func (*ResourceLoadProgress) ProtoMessage()

func (*ResourceLoadProgress) ProtoReflect

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

func (*ResourceLoadProgress) Reset

func (x *ResourceLoadProgress) Reset()

func (*ResourceLoadProgress) String

func (x *ResourceLoadProgress) String() string

type ResourceLoadProgress_Operation

type ResourceLoadProgress_Operation int32
const (
	ResourceLoadProgress_Upload         ResourceLoadProgress_Operation = 0
	ResourceLoadProgress_RemoveObsolete ResourceLoadProgress_Operation = 1
)

func (ResourceLoadProgress_Operation) Descriptor

func (ResourceLoadProgress_Operation) Enum

func (ResourceLoadProgress_Operation) EnumDescriptor deprecated

func (ResourceLoadProgress_Operation) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResourceLoadProgress_Operation.Descriptor instead.

func (ResourceLoadProgress_Operation) Number

func (ResourceLoadProgress_Operation) String

func (ResourceLoadProgress_Operation) Type

type SetTimeRequest

type SetTimeRequest struct {
	UnixNano int64 `protobuf:"varint,1,opt,name=unix_nano,json=unixNano,proto3" json:"unix_nano,omitempty"`
	// contains filtered or unexported fields
}

func (*SetTimeRequest) Descriptor deprecated

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

Deprecated: Use SetTimeRequest.ProtoReflect.Descriptor instead.

func (*SetTimeRequest) GetUnixNano

func (x *SetTimeRequest) GetUnixNano() int64

func (*SetTimeRequest) ProtoMessage

func (*SetTimeRequest) ProtoMessage()

func (*SetTimeRequest) ProtoReflect

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

func (*SetTimeRequest) Reset

func (x *SetTimeRequest) Reset()

func (*SetTimeRequest) String

func (x *SetTimeRequest) String() string

type StringResponse

type StringResponse struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*StringResponse) Descriptor deprecated

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

Deprecated: Use StringResponse.ProtoReflect.Descriptor instead.

func (*StringResponse) GetValue

func (x *StringResponse) GetValue() string

func (*StringResponse) ProtoMessage

func (*StringResponse) ProtoMessage()

func (*StringResponse) ProtoReflect

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

func (*StringResponse) Reset

func (x *StringResponse) Reset()

func (*StringResponse) String

func (x *StringResponse) String() string

type TransferProgress

type TransferProgress struct {
	Sent  uint32 `protobuf:"varint,1,opt,name=sent,proto3" json:"sent,omitempty"`
	Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferProgress) Descriptor deprecated

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

Deprecated: Use TransferProgress.ProtoReflect.Descriptor instead.

func (*TransferProgress) GetSent

func (x *TransferProgress) GetSent() uint32

func (*TransferProgress) GetTotal

func (x *TransferProgress) GetTotal() uint32

func (*TransferProgress) ProtoMessage

func (*TransferProgress) ProtoMessage()

func (*TransferProgress) ProtoReflect

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

func (*TransferProgress) Reset

func (x *TransferProgress) Reset()

func (*TransferProgress) String

func (x *TransferProgress) String() string

type TransferRequest

type TransferRequest struct {
	Source      string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferRequest) Descriptor deprecated

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

Deprecated: Use TransferRequest.ProtoReflect.Descriptor instead.

func (*TransferRequest) GetDestination

func (x *TransferRequest) GetDestination() string

func (*TransferRequest) GetSource

func (x *TransferRequest) GetSource() string

func (*TransferRequest) ProtoMessage

func (*TransferRequest) ProtoMessage()

func (*TransferRequest) ProtoReflect

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

func (*TransferRequest) Reset

func (x *TransferRequest) Reset()

func (*TransferRequest) String

func (x *TransferRequest) String() string

Jump to

Keyboard shortcuts

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