Documentation
¶
Index ¶
- Variables
- type Marker
- func (*Marker) Descriptor() ([]byte, []int)deprecated
- func (m *Marker) GetBody() isMarker_Body
- func (x *Marker) GetFileData() uint32
- func (x *Marker) GetFileEof() bool
- func (x *Marker) GetFilename() string
- func (x *Marker) GetImageEof() bool
- func (x *Marker) GetSeq() uint64
- func (*Marker) ProtoMessage()
- func (x *Marker) ProtoReflect() protoreflect.Message
- func (x *Marker) Reset()
- func (x *Marker) String() string
- type Marker_FileData
- type Marker_FileEof
- type Marker_Filename
- type Marker_ImageEof
Constants ¶
This section is empty.
Variables ¶
View Source
var File_image_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Marker ¶
type Marker struct {
Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
// Types that are assignable to Body:
//
// *Marker_Filename
// *Marker_FileData
// *Marker_FileEof
// *Marker_ImageEof
Body isMarker_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
func (*Marker) Descriptor
deprecated
func (*Marker) GetFileData ¶
func (*Marker) GetFileEof ¶
func (*Marker) GetFilename ¶
func (*Marker) GetImageEof ¶
func (*Marker) ProtoMessage ¶
func (*Marker) ProtoMessage()
func (*Marker) ProtoReflect ¶
func (x *Marker) ProtoReflect() protoreflect.Message
type Marker_FileData ¶
type Marker_FileData struct {
// Incoming data for the current file
FileData uint32 `protobuf:"varint,3,opt,name=file_data,json=fileData,proto3,oneof"`
}
type Marker_FileEof ¶
type Marker_FileEof struct {
// EOF of current file is reached
FileEof bool `protobuf:"varint,4,opt,name=file_eof,json=fileEof,proto3,oneof"`
}
type Marker_Filename ¶
type Marker_Filename struct {
// Denotes the filename of the next upcoming markers (denoted as current file)
Filename string `protobuf:"bytes,2,opt,name=filename,proto3,oneof"`
}
type Marker_ImageEof ¶
type Marker_ImageEof struct {
// EOF of image is reached
ImageEof bool `protobuf:"varint,5,opt,name=image_eof,json=imageEof,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.