summaryrefslogtreecommitdiff
path: root/plugins/kv/memcached/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kv/memcached/config.go')
-rw-r--r--plugins/kv/memcached/config.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/kv/memcached/config.go b/plugins/kv/memcached/config.go
new file mode 100644
index 00000000..62f29ef2
--- /dev/null
+++ b/plugins/kv/memcached/config.go
@@ -0,0 +1,10 @@
+package memcached
+
+type Config struct {
+ // Addr is url for memcached, 11211 port is used by default
+ Addr []string
+}
+
+func (s *Config) InitDefaults() {
+ s.Addr = []string{"localhost:11211"} // default url for memcached // init logger
+}