diff options
| author | Mikhail Osipov <mike.osipov@gmail.com> | 2020-01-21 04:19:44 +0300 |
|---|---|---|
| committer | Mikhail Osipov <mike.osipov@gmail.com> | 2020-01-21 04:19:44 +0300 |
| commit | 57906ec15939669ea9e374d5157fdde02bfd340d (patch) | |
| tree | 69a5a52bedbec1f1a335bbaa379c15f5bf959ee1 /pkg/config | |
| parent | 200d9a378d87ecd1da7fc3d16c85ed1b39d65ea8 (diff) | |
[server] add client, request
Diffstat (limited to 'pkg/config')
| -rw-r--r-- | pkg/config/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
