From 5e1b1674e10ea40022aa6404617f1acaa4e3ec31 Mon Sep 17 00:00:00 2001 From: xtaci Date: Thu, 16 Jan 2020 22:11:28 +0800 Subject: [PATCH] add comments --- mux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mux.go b/mux.go index e6510a5..eadfcec 100644 --- a/mux.go +++ b/mux.go @@ -14,8 +14,9 @@ import ( // Config is used to tune the Smux session type Config struct { - // SMUX Protocol version + // SMUX Protocol version, support 1,2 Version int + // KeepAliveInterval is how often to send a NOP command to the remote KeepAliveInterval time.Duration