mirror of https://github.com/cbeuw/Cloak
Code style clean up
This commit is contained in:
parent
9c30c9b5b5
commit
bdd5308169
|
|
@ -7,7 +7,6 @@ import (
|
|||
)
|
||||
|
||||
// Valve needs to be universal, across all sessions that belong to a user
|
||||
// gabe please don't sue
|
||||
type LimitedValve struct {
|
||||
// traffic directions from the server's perspective are refered
|
||||
// exclusively as rx and tx.
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ func makeSwitchboard(sesh *Session, config *switchboardConfig) *switchboard {
|
|||
return sb
|
||||
}
|
||||
|
||||
var errNilOptimum = errors.New("The optimal connection is nil")
|
||||
var errBrokenSwitchboard = errors.New("the switchboard is broken")
|
||||
|
||||
func (sb *switchboard) connsCount() int {
|
||||
|
|
|
|||
Loading…
Reference in New Issue