diff options
Diffstat (limited to 'plugins/rpc/config.go')
-rw-r--r-- | plugins/rpc/config.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/rpc/config.go b/plugins/rpc/config.go index 7f3474d7..719fd5e3 100644 --- a/plugins/rpc/config.go +++ b/plugins/rpc/config.go @@ -4,6 +4,8 @@ import ( "errors" "net" "strings" + + "github.com/spiral/roadrunner/v2/util" ) // Config defines RPC service config. @@ -33,7 +35,7 @@ func (c *Config) Valid() error { // Listener creates new rpc socket Listener. func (c *Config) Listener() (net.Listener, error) { - return CreateListener(c.Listen) + return util.CreateListener(c.Listen) } // Dialer creates rpc socket Dialer. |