Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Storage ¶
type Storage interface {
//Get 获取指定keys的信息
Get(keys []string) (dataCh chan []Data, err error)
//Stop 停止Storage
Stop() error
//Success 当key所在模板更新成功时使用此接口进行通知
Success(template string, kvs []map[string]interface{})
//Error 当key所在模板渲染失败时使用此接口进行通知storage
Error(template string, kvs []map[string]interface{}, err error)
}
Storage 配置存储器的接口
Click to show internal directories.
Click to hide internal directories.