mirror of
https://github.com/gookit/cache.git
synced 2025-12-24 12:47:55 +08:00
51 lines
942 B
Go
51 lines
942 B
Go
// Package nutsdb use the https://github.com/xujiajun/nutsdb as cache driver
|
|
package nutsdb
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
// Name driver name
|
|
const Name = "nutsdb"
|
|
|
|
// NutsDB definition TODO
|
|
type NutsDB struct {
|
|
// cache.BaseDriver
|
|
}
|
|
|
|
func (c *NutsDB) Has(key string) bool {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (c *NutsDB) Get(key string) interface{} {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (c *NutsDB) Set(key string, val interface{}, ttl time.Duration) (err error) {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (c *NutsDB) Del(key string) error {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (c *NutsDB) GetMulti(keys []string) map[string]interface{} {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (c *NutsDB) SetMulti(values map[string]interface{}, ttl time.Duration) (err error) {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (c *NutsDB) DelMulti(keys []string) error {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (c *NutsDB) Clear() error {
|
|
panic("implement me")
|
|
}
|
|
|
|
func (c *NutsDB) Close() error {
|
|
panic("implement me")
|
|
}
|