summaryrefslogtreecommitdiff
path: root/plugins/memcached/config.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-09-01 13:19:09 +0300
committerValery Piashchynski <[email protected]>2021-09-01 13:19:09 +0300
commit9c8da162b3347b632f33f85d56e8c1ff7014631a (patch)
treebb614a186e05adf816b3f2b62e2d25bfa821a574 /plugins/memcached/config.go
parent0437d1f58514f694ea86e8176e621c009cd510f9 (diff)
Code polishing before release
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/memcached/config.go')
-rw-r--r--plugins/memcached/config.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/memcached/config.go b/plugins/memcached/config.go
deleted file mode 100644
index 6d413790..00000000
--- a/plugins/memcached/config.go
+++ /dev/null
@@ -1,12 +0,0 @@
-package memcached
-
-type Config struct {
- // Addr is url for memcached, 11211 port is used by default
- Addr []string
-}
-
-func (s *Config) InitDefaults() {
- if s.Addr == nil {
- s.Addr = []string{"127.0.0.1:11211"} // default url for memcached
- }
-}