crumb

package
v0.0.0-...-3bb7d40 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_crumb_proto protoreflect.FileDescriptor

Functions

func Crumber

func Crumber(name string, size int)

Types

type Crumb

type Crumb struct {
	Index    int64  `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Hash     []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	PrevHash []byte `protobuf:"bytes,4,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"`
	Content  string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*Crumb) Descriptor deprecated

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

Deprecated: Use Crumb.ProtoReflect.Descriptor instead.

func (*Crumb) GetContent

func (x *Crumb) GetContent() string

func (*Crumb) GetHash

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

func (*Crumb) GetIndex

func (x *Crumb) GetIndex() int64

func (*Crumb) GetName

func (x *Crumb) GetName() string

func (*Crumb) GetPrevHash

func (x *Crumb) GetPrevHash() []byte

func (*Crumb) ProtoMessage

func (*Crumb) ProtoMessage()

func (*Crumb) ProtoReflect

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

func (*Crumb) Reset

func (x *Crumb) Reset()

func (*Crumb) String

func (x *Crumb) String() string

Jump to

Keyboard shortcuts

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