示例#1
0
func (binding *Binding) Depersist(db *bolt.DB) error {
	return persist.DepersistOne(db, BINDINGS_BUCKET_NAME, string(binding.Id))
}
示例#2
0
func (q *Queue) Depersist(db *bolt.DB) error {
	return persist.DepersistOne(db, QUEUE_BUCKET_NAME, q.Name)
}