summaryrefslogtreecommitdiff
path: root/server_config.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-06 18:37:02 +0300
committerWolfy-J <[email protected]>2018-06-06 18:37:02 +0300
commit63e505bd354378ec3cc11c10881fd816b3cb55f4 (patch)
tree817418b336854dc00962cfa2de46a9660a053b74 /server_config.go
parent304b891eec532ca9d8c14f4c605493160a53370b (diff)
dead functions
Diffstat (limited to 'server_config.go')
-rw-r--r--server_config.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/server_config.go b/server_config.go
index 14bd7619..b8c3c408 100644
--- a/server_config.go
+++ b/server_config.go
@@ -28,12 +28,6 @@ type ServerConfig struct {
Pool Config
}
-// Differs returns true if configuration has changed but ignores pool changes.
-func (cfg *ServerConfig) Differs(new *ServerConfig) bool {
- // factory configuration has changed
- return cfg.Relay != new.Relay || cfg.RelayTimeout != new.RelayTimeout
-}
-
// makeFactory creates and connects new factory instance based on given parameters.
func (cfg *ServerConfig) makeFactory() (Factory, error) {
if cfg.Relay == "pipes" || cfg.Relay == "pipe" {