store

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 18 Imported by: 0 modules, 0 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

View Source
var (
	// ErrCheckAuthFailed 凭证或权限错误(403 系:密钥错 / 无权限 / 区域不匹配)
	ErrCheckAuthFailed = errors.New("store: 凭证或权限错误")
	// ErrCheckBucketNotFound 桶不存在(404)
	ErrCheckBucketNotFound = errors.New("store: 桶不存在")
)

连通性探测的分类错误(Check 返回,便于上层生成用户可读原因)

View Source
var ErrStoreConfigIncomplete = errors.New("store: 配置不完整")

ErrStoreConfigIncomplete store 行缺少构造客户端所需的字段

Functions

func NewClient added in v1.2.4

func NewClient(ent *entity.Store) (repository.Client, error)

NewClient 由 store 行构造客户端。

Types

This section is empty.

Jump to

Keyboard shortcuts

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