diff options
| author | chrislu <chris.lu@gmail.com> | 2022-02-14 01:09:31 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-02-14 01:09:31 -0800 |
| commit | dbeeda812376eda39997cd814c3e7eefaf4ea686 (patch) | |
| tree | 18e989645dec87c977d59ea0fdaea8b073244b17 /weed/mount/meta_cache/cache_config.go | |
| parent | 7286e525ad85dec877d506908a0ff35590b0f357 (diff) | |
| download | seaweedfs-dbeeda812376eda39997cd814c3e7eefaf4ea686.tar.xz seaweedfs-dbeeda812376eda39997cd814c3e7eefaf4ea686.zip | |
listen for metadata updates
Diffstat (limited to 'weed/mount/meta_cache/cache_config.go')
| -rw-r--r-- | weed/mount/meta_cache/cache_config.go | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/weed/mount/meta_cache/cache_config.go b/weed/mount/meta_cache/cache_config.go new file mode 100644 index 000000000..e6593ebde --- /dev/null +++ b/weed/mount/meta_cache/cache_config.go @@ -0,0 +1,32 @@ +package meta_cache + +import "github.com/chrislusf/seaweedfs/weed/util" + +var ( + _ = util.Configuration(&cacheConfig{}) +) + +// implementing util.Configuraion +type cacheConfig struct { + dir string +} + +func (c cacheConfig) GetString(key string) string { + return c.dir +} + +func (c cacheConfig) GetBool(key string) bool { + panic("implement me") +} + +func (c cacheConfig) GetInt(key string) int { + panic("implement me") +} + +func (c cacheConfig) GetStringSlice(key string) []string { + panic("implement me") +} + +func (c cacheConfig) SetDefault(key string, value interface{}) { + panic("implement me") +} |
