kvhttp

package
v0.0.0-...-7c31ad9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

Initialize a new warehouse controller that operates on a local filesystem.

May return errors of category:

  • `rio.ErrUsage` -- for unsupported addressses
  • `rio.ErrWarehouseUnavailable` -- if the warehouse doesn't exist

Types

type Controller

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

func (Controller) OpenReader

func (whCtrl Controller) OpenReader(wareID api.WareID) (io.ReadCloser, error)

func (Controller) OpenWriter

func (whCtrl Controller) OpenWriter() (warehouse.BlobstoreWriteController, error)

Jump to

Keyboard shortcuts

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