Documentation
¶
Index ¶
- func Add(id []byte, payload []byte, filename string, timestamp interface{}) ([]byte, error)
- func Query(id []byte, filename string) ([]byte, error)
- func Remove(id []byte, filename string) ([]byte, error)
- func Update(id []byte, payload map[string]interface{}, filename string, ...) ([]byte, error)
- func UpdateToString(id []byte, payload string, filename string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
@package Add 数据库新增数据 * @param id 查询数据uuid * @param filename 项目路径关键词 * @param payload 新增数据map结构 * @param timestamp 过期时间TTL,单位s
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.