trackerv1

package
v0.0.0-...-e836074 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tracker_v1_tracker_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Tracker

type Tracker struct {
	Taverns     []string `protobuf:"bytes,1,rep,name=taverns,proto3" json:"taverns,omitempty"`
	Hash        []byte   `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Name        string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Size        int64    `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	ChunkSize   int64    `protobuf:"varint,5,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
	ChunkHashes [][]byte `protobuf:"bytes,6,rep,name=chunk_hashes,json=chunkHashes,proto3" json:"chunk_hashes,omitempty"`
	// contains filtered or unexported fields
}

func (*Tracker) Descriptor deprecated

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

Deprecated: Use Tracker.ProtoReflect.Descriptor instead.

func (*Tracker) GetChunkHashes

func (x *Tracker) GetChunkHashes() [][]byte

func (*Tracker) GetChunkSize

func (x *Tracker) GetChunkSize() int64

func (*Tracker) GetHash

func (x *Tracker) GetHash() []byte

func (*Tracker) GetName

func (x *Tracker) GetName() string

func (*Tracker) GetSize

func (x *Tracker) GetSize() int64

func (*Tracker) GetTaverns

func (x *Tracker) GetTaverns() []string

func (*Tracker) ProtoMessage

func (*Tracker) ProtoMessage()

func (*Tracker) ProtoReflect

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

func (*Tracker) Reset

func (x *Tracker) Reset()

func (*Tracker) String

func (x *Tracker) String() string

Jump to

Keyboard shortcuts

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