protos

package
v0.0.0-...-80c7550 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockMetadata

type BlockMetadata struct {
	Cid                  []byte   `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	Start                int64    `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	Size                 int64    `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	PaddingStart         int64    `protobuf:"varint,4,opt,name=paddingStart,proto3" json:"paddingStart,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockMetadata) Descriptor

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

func (*BlockMetadata) GetCid

func (m *BlockMetadata) GetCid() []byte

func (*BlockMetadata) GetPaddingStart

func (m *BlockMetadata) GetPaddingStart() int64

func (*BlockMetadata) GetSize

func (m *BlockMetadata) GetSize() int64

func (*BlockMetadata) GetStart

func (m *BlockMetadata) GetStart() int64

func (*BlockMetadata) ProtoMessage

func (*BlockMetadata) ProtoMessage()

func (*BlockMetadata) Reset

func (m *BlockMetadata) Reset()

func (*BlockMetadata) String

func (m *BlockMetadata) String() string

func (*BlockMetadata) XXX_DiscardUnknown

func (m *BlockMetadata) XXX_DiscardUnknown()

func (*BlockMetadata) XXX_Marshal

func (m *BlockMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockMetadata) XXX_Merge

func (m *BlockMetadata) XXX_Merge(src proto.Message)

func (*BlockMetadata) XXX_Size

func (m *BlockMetadata) XXX_Size() int

func (*BlockMetadata) XXX_Unmarshal

func (m *BlockMetadata) XXX_Unmarshal(b []byte) error

type BlockStreamRequest

type BlockStreamRequest struct {
	Cid                  []byte   `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockStreamRequest) Descriptor

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

func (*BlockStreamRequest) GetCid

func (m *BlockStreamRequest) GetCid() []byte

func (*BlockStreamRequest) ProtoMessage

func (*BlockStreamRequest) ProtoMessage()

func (*BlockStreamRequest) Reset

func (m *BlockStreamRequest) Reset()

func (*BlockStreamRequest) String

func (m *BlockStreamRequest) String() string

func (*BlockStreamRequest) XXX_DiscardUnknown

func (m *BlockStreamRequest) XXX_DiscardUnknown()

func (*BlockStreamRequest) XXX_Marshal

func (m *BlockStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockStreamRequest) XXX_Merge

func (m *BlockStreamRequest) XXX_Merge(src proto.Message)

func (*BlockStreamRequest) XXX_Size

func (m *BlockStreamRequest) XXX_Size() int

func (*BlockStreamRequest) XXX_Unmarshal

func (m *BlockStreamRequest) XXX_Unmarshal(b []byte) error

type CrabObject

type CrabObject struct {
	Blocks               map[int64]*BlockMetadata `` /* 154-byte string literal not displayed */
	Mtime                string                   `protobuf:"bytes,2,opt,name=mtime,proto3" json:"mtime,omitempty"`
	Size                 int64                    `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Key                  []byte                   `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	Delete               bool                     `protobuf:"varint,5,opt,name=delete,proto3" json:"delete,omitempty"`
	Lock                 []byte                   `protobuf:"bytes,6,opt,name=lock,proto3" json:"lock,omitempty"`
	CacheTTL             uint64                   `protobuf:"varint,7,opt,name=cacheTTL,proto3" json:"cacheTTL,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*CrabObject) Descriptor

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

func (*CrabObject) GetBlocks

func (m *CrabObject) GetBlocks() map[int64]*BlockMetadata

func (*CrabObject) GetCacheTTL

func (m *CrabObject) GetCacheTTL() uint64

func (*CrabObject) GetDelete

func (m *CrabObject) GetDelete() bool

func (*CrabObject) GetKey

func (m *CrabObject) GetKey() []byte

func (*CrabObject) GetLock

func (m *CrabObject) GetLock() []byte

func (*CrabObject) GetMtime

func (m *CrabObject) GetMtime() string

func (*CrabObject) GetSize

func (m *CrabObject) GetSize() int64

func (*CrabObject) ProtoMessage

func (*CrabObject) ProtoMessage()

func (*CrabObject) Reset

func (m *CrabObject) Reset()

func (*CrabObject) String

func (m *CrabObject) String() string

func (*CrabObject) XXX_DiscardUnknown

func (m *CrabObject) XXX_DiscardUnknown()

func (*CrabObject) XXX_Marshal

func (m *CrabObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CrabObject) XXX_Merge

func (m *CrabObject) XXX_Merge(src proto.Message)

func (*CrabObject) XXX_Size

func (m *CrabObject) XXX_Size() int

func (*CrabObject) XXX_Unmarshal

func (m *CrabObject) XXX_Unmarshal(b []byte) error

type DHTNameRecord

type DHTNameRecord struct {
	Timestamp            string   `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Signature            []byte   `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DHTNameRecord) Descriptor

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

func (*DHTNameRecord) GetData

func (m *DHTNameRecord) GetData() []byte

func (*DHTNameRecord) GetSignature

func (m *DHTNameRecord) GetSignature() []byte

func (*DHTNameRecord) GetTimestamp

func (m *DHTNameRecord) GetTimestamp() string

func (*DHTNameRecord) ProtoMessage

func (*DHTNameRecord) ProtoMessage()

func (*DHTNameRecord) Reset

func (m *DHTNameRecord) Reset()

func (*DHTNameRecord) String

func (m *DHTNameRecord) String() string

func (*DHTNameRecord) XXX_DiscardUnknown

func (m *DHTNameRecord) XXX_DiscardUnknown()

func (*DHTNameRecord) XXX_Marshal

func (m *DHTNameRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DHTNameRecord) XXX_Merge

func (m *DHTNameRecord) XXX_Merge(src proto.Message)

func (*DHTNameRecord) XXX_Size

func (m *DHTNameRecord) XXX_Size() int

func (*DHTNameRecord) XXX_Unmarshal

func (m *DHTNameRecord) XXX_Unmarshal(b []byte) error

type Identity

type Identity struct {
	PrivKey              []byte   `protobuf:"bytes,1,opt,name=privKey,proto3" json:"privKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Identity) Descriptor

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

func (*Identity) GetPrivKey

func (m *Identity) GetPrivKey() []byte

func (*Identity) ProtoMessage

func (*Identity) ProtoMessage()

func (*Identity) Reset

func (m *Identity) Reset()

func (*Identity) String

func (m *Identity) String() string

func (*Identity) XXX_DiscardUnknown

func (m *Identity) XXX_DiscardUnknown()

func (*Identity) XXX_Marshal

func (m *Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Identity) XXX_Merge

func (m *Identity) XXX_Merge(src proto.Message)

func (*Identity) XXX_Size

func (m *Identity) XXX_Size() int

func (*Identity) XXX_Unmarshal

func (m *Identity) XXX_Unmarshal(b []byte) error

type LockToken

type LockToken struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LockToken) Descriptor

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

func (*LockToken) GetToken

func (m *LockToken) GetToken() string

func (*LockToken) ProtoMessage

func (*LockToken) ProtoMessage()

func (*LockToken) Reset

func (m *LockToken) Reset()

func (*LockToken) String

func (m *LockToken) String() string

func (*LockToken) XXX_DiscardUnknown

func (m *LockToken) XXX_DiscardUnknown()

func (*LockToken) XXX_Marshal

func (m *LockToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LockToken) XXX_Merge

func (m *LockToken) XXX_Merge(src proto.Message)

func (*LockToken) XXX_Size

func (m *LockToken) XXX_Size() int

func (*LockToken) XXX_Unmarshal

func (m *LockToken) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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