From 57906ec15939669ea9e374d5157fdde02bfd340d Mon Sep 17 00:00:00 2001 From: Mikhail Osipov Date: Tue, 21 Jan 2020 04:19:44 +0300 Subject: [server] add client, request --- pkg/config/config.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/config') diff --git a/pkg/config/config.go b/pkg/config/config.go index c620e4a..1253f04 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -1,8 +1,12 @@ package config +import "time" + const SockType = "unixpacket" const SockPath = "/tmp/tunnel.sock" const TimeFormat = "2006-01-02 15:04:05" const BufSize = 1024 + +const IoTimeout = 5 * time.Second -- cgit v1.2.3-70-g09d2