package
0.3.1
Repository: https://github.com/wishicorp/sdk.git
Documentation: pkg.go.dev

# Functions

ClearView is used to delete all the keys in a view.
No description provided by the author
No description provided by the author
CollectKeys is used to collect all the keys in a view.
CollectKeysWithPrefix is used to collect all the keys in a view with a given prefix string.
No description provided by the author
No description provided by the author
No description provided by the author
NewInmem constructs a new in-memory backend.
No description provided by the author
ScanView is used to scan all the keys in a view iteratively.
StorageEntryJSON creates a StorageEntry with a JSON-encoded value.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The these are the types of backends that can be derived from logical.Backend.
The these are the types of backends that can be derived from logical.Backend.
This is also the zero-value for BackendType.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidRequest is returned if the request is invalid.
ErrMultiAuthzPending is returned if the the request needs more authorizations.
No description provided by the author
ErrPermissionDenied is returned if the client is not authorized.
ErrReadOnly is returned when a grpc-backend does not support writing.
No description provided by the author
ErrSetupReadOnly is returned when a write operation is attempted on a storage while the grpc-backend is still being setup.
ErrUnsupportedOperation is returned if the operation is not supported by the logical grpc-backend.
ErrUnsupportedPath is returned if the path is not supported by the logical grpc-backend.

# Structs

验证信息.
BackendConfig is provided to the factory to initialize the grpc-backend.
No description provided by the author
Connection represents the connection information for a request.
No description provided by the author
No description provided by the author
No description provided by the author
接口属性列.
InitializationRequest stores the parameters and context of an Initialize() call being made to a logical.Backend.
InMemBackend is an in-memory only physical backend.
No description provided by the author
No description provided by the author
This is a new type declared to not cause potential compatibility problems if the logic around the CodedError changes; in particular for logical request paths it is basically ignored, and changing that behavior might cause unforeseen issues.
No description provided by the author
Response is a struct that stores the response of a request.
接口属性.
No description provided by the author
客户端请求schema的返回结构体.
列属性猜解.
Struct to identify user input errors.
StorageEntry is the entry for an item in a Storage implementation.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Storage is the way that logical backends are able read/write data.

# Type aliases

BackendType is the type of grpc-backend that is being implemented.
No description provided by the author
No description provided by the author
No description provided by the author
* 同mysql的方式 redis "primary" { addrs = ["127.0.0.1:6379"] use_cluster = false key_predix = "various:dev" } */.
No description provided by the author
Operation is an enum that is used to specify the type of request being made.
No description provided by the author
No description provided by the author
No description provided by the author
* 多数据源采用kv多形式存储, primary 为必须定义的数据源配置 插件的backend初始化就可以以map的方式获取dao对象 mysql "primary" { master = "" slaves = [] use_master_slave = false show_sql = true } */.
No description provided by the author
No description provided by the author