minio

package
v0.0.0-...-5767ed4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

func New

func New() (*Module, error)

func (*Module) GetFile

func (m *Module) GetFile(ctx context.Context, group string, hash []byte, suffix string) ([]byte, filestore.Error)

func (*Module) GetPresignedURL

func (m *Module) GetPresignedURL(ctx context.Context, group string, hash []byte, suffix string) (*url.URL, filestore.Error)

func (*Module) Name

func (*Module) Name() string

func (*Module) ProcessError

func (*Module) ProcessError(err error) filestore.Error

ProcessError replaces any known values with our own db.Error types.

func (*Module) PutFile

func (m *Module) PutFile(ctx context.Context, group string, hash []byte, suffix string, data []byte) filestore.Error

func (*Module) Route

func (*Module) Route(_ *http.Server) error

func (*Module) SetServer

func (*Module) SetServer(_ *http.Server)

Jump to

Keyboard shortcuts

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