r2

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 18 Imported by: 5 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthError

func NewAuthError(msg string) error

NewAuthError creates a new not found Error.

func NewBadInputError

func NewBadInputError(msg string) error

NewBadInputError creates a new Bad Input Error.

func NewConflictError

func NewConflictError(msg string) error

NewConflictError creates a new Conflict Error

func NewInternalError

func NewInternalError(msg string) error

NewInternalError returns a new error that isn't covered by the other error types.

func NewNotFoundError

func NewNotFoundError(msg string) error

NewNotFoundError creates a new not found Error.

func NewService

func NewService(
	rootPrefix string,
	authService auth.HTTPAuthService,
	store store.Store,
	iOpts instrument.Options,
	clockOpts clock.Options,
) mservice.Service

NewService creates a new r2 service using a given store.

func NewVersionError

func NewVersionError(msg string) error

NewVersionError creates a new Version Error

Types

This section is empty.

Directories

Path Synopsis
Package store is a generated GoMock package.
Package store is a generated GoMock package.
kv

Jump to

Keyboard shortcuts

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