Documentation
¶
Index ¶
- Variables
- type Database
- type EncryptedFile
- type File
- type LRU
- type Record
- func (*Record) Descriptor() ([]byte, []int)deprecated
- func (x *Record) GetContent() []byte
- func (x *Record) GetContentType() string
- func (x *Record) GetFilename() string
- func (x *Record) GetLongId() bool
- func (x *Record) GetRedirect() bool
- func (x *Record) GetSelfBurning() bool
- func (*Record) ProtoMessage()
- func (x *Record) ProtoReflect() protoreflect.Message
- func (x *Record) Reset()
- func (x *Record) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_record_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func NewDatabase ¶
func (*Database) RecordsCount ¶
type EncryptedFile ¶
type EncryptedFile struct {
// contains filtered or unexported fields
}
type LRU ¶
type LRU struct {
// contains filtered or unexported fields
}
func (*LRU) DeleteIfExists ¶
type Record ¶
type Record struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` SelfBurning bool `protobuf:"varint,3,opt,name=self_burning,json=selfBurning,proto3" json:"self_burning,omitempty"` Redirect bool `protobuf:"varint,4,opt,name=redirect,proto3" json:"redirect,omitempty"` LongId bool `protobuf:"varint,5,opt,name=long_id,json=longId,proto3" json:"long_id,omitempty"` ContentType string `protobuf:"bytes,6,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // contains filtered or unexported fields }
func (*Record) Descriptor
deprecated
func (*Record) GetContent ¶
func (*Record) GetContentType ¶
func (*Record) GetFilename ¶
func (*Record) GetRedirect ¶
func (*Record) GetSelfBurning ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.