dom

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInternal             = errors.New("InternalError")
	ErrNotImplemented       = errors.New("NotImplemented")
	ErrInvalidStorageConfig = errors.New("InvalidStorageConfig")
	ErrAlreadyExists        = errors.New("AlreadyExists")
	ErrNotFound             = errors.New("NotFound")
	ErrInvalidArg           = errors.New("InvalidArg")
	ErrAuth                 = errors.New("AuthError")
	ErrPolicy               = errors.New("PolicyError")
	ErrRoutingBlock         = errors.New("RoutingBlockedError")
)

Functions

func ErrCode

func ErrCode(err error) int

func ErrContains added in v0.5.7

func ErrContains(err error, text ...string) bool

func IsErrRateLimitExceeded added in v0.7.0

func IsErrRateLimitExceeded(err error) bool

Types

type AppInfo

type AppInfo struct {
	Version string `yaml:"version"`
	Commit  string `yaml:"commit"`
	Date    string `yaml:"data"`
	App     string `yaml:"app"`
	AppID   string `yaml:"appID"`
}

type ErrRateLimitExceeded

type ErrRateLimitExceeded struct {
	RetryIn time.Duration
}

func (*ErrRateLimitExceeded) Error

func (e *ErrRateLimitExceeded) Error() string

type Object

type Object struct {
	Bucket  string
	Name    string
	Version string
}

type StorageType added in v0.7.0

type StorageType string
const (
	S3    StorageType = "S3"
	Swift StorageType = "SWIFT"
)

Jump to

Keyboard shortcuts

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