filepb

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mediaentity_file_v0_storage_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Storage

type Storage struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Path     string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

Storage provides the storage information of a file.

func NewStorage

func NewStorage(s file.Storage) *Storage

func (*Storage) AsStorage

func (s *Storage) AsStorage() file.Storage

func (*Storage) Descriptor deprecated

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

Deprecated: Use Storage.ProtoReflect.Descriptor instead.

func (*Storage) GetPath

func (x *Storage) GetPath() string

func (*Storage) GetProvider

func (x *Storage) GetProvider() string

func (*Storage) ProtoMessage

func (*Storage) ProtoMessage()

func (*Storage) ProtoReflect

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

func (*Storage) Reset

func (x *Storage) Reset()

func (*Storage) String

func (x *Storage) String() string

Jump to

Keyboard shortcuts

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