summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/network.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/network.go b/util/network.go
index 510a97a9..70e38fdb 100644
--- a/util/network.go
+++ b/util/network.go
@@ -7,6 +7,7 @@ import (
"syscall"
)
+// CreateListener crates socket listener based on DSN definition.
func CreateListener(address string) (net.Listener, error) {
dsn := strings.Split(address, "://")
if len(dsn) != 2 {