From 63e505bd354378ec3cc11c10881fd816b3cb55f4 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Wed, 6 Jun 2018 18:37:02 +0300 Subject: dead functions --- server_config.go | 6 ------ 1 file changed, 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" { -- cgit v1.2.3