22 Star 72 Fork 1

Gitee 极速下载/traefik

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/containous/traefik
克隆/下载
store.go 347 Bytes
一键复制 编辑 原始数据 按行查看 历史
Emile Vauge 提交于 2016-08-18 14:20 . Add ACME store
package cluster
// Object is the struct to store
type Object interface{}
// Store is a generic interface to represents a storage
type Store interface {
Load() (Object, error)
Get() Object
Begin() (Transaction, Object, error)
}
// Transaction allows to set a struct in the KV store
type Transaction interface {
Commit(object Object) error
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/mirrors/traefik.git
git@gitee.com:mirrors/traefik.git
mirrors
traefik
traefik
v1.6.4

搜索帮助