backend

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	FsScheme   = "file"
	ParamChmod = "chmod"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferPod

type BufferPod struct {
	Data []byte
}

func (*BufferPod) CanRead

func (b *BufferPod) CanRead() error

func (*BufferPod) CanWrite

func (b *BufferPod) CanWrite() error

func (*BufferPod) Read

func (b *BufferPod) Read() ([]byte, error)

func (*BufferPod) Write

func (b *BufferPod) Write(data []byte) error

type FilesystemStorage

type FilesystemStorage struct {
	FilePath  string
	FileOwner *int
	FileGroup *int
	Mode      os.FileMode
}

func NewFilesystemStorageFromUri

func NewFilesystemStorageFromUri(uri string) (*FilesystemStorage, error)

func (*FilesystemStorage) CanRead

func (fs *FilesystemStorage) CanRead() error

func (*FilesystemStorage) CanWrite

func (fs *FilesystemStorage) CanWrite() error

func (*FilesystemStorage) Read

func (fs *FilesystemStorage) Read() ([]byte, error)

func (*FilesystemStorage) Write

func (fs *FilesystemStorage) Write(signedData []byte) error

Jump to

Keyboard shortcuts

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