Code style clean up

pull/81/head v2.1.2
Andy Wang 5 years ago
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…
Cancel
Save