image

package
v0.9.229 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Marker.ProtoReflect.Descriptor instead.

func (*Marker) GetBody

func (m *Marker) GetBody() isMarker_Body

func (*Marker) GetFileData

func (x *Marker) GetFileData() uint32

func (*Marker) GetFileEof

func (x *Marker) GetFileEof() bool

func (*Marker) GetFilename

func (x *Marker) GetFilename() string

func (*Marker) GetImageEof

func (x *Marker) GetImageEof() bool

func (*Marker) GetSeq

func (x *Marker) GetSeq() uint64

func (*Marker) ProtoMessage

func (*Marker) ProtoMessage()

func (*Marker) ProtoReflect

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

func (*Marker) Reset

func (x *Marker) Reset()

func (*Marker) String

func (x *Marker) String() string

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"`
}

Jump to

Keyboard shortcuts

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