Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Constants func NewMultiConn(cctx context.Context, luConn *connutil.LastUsageConn, addr string, ...) transport.MultiConn type Config type Yamux func New() Yamux Constants ¶ View Source const CName = "net.transport.yamux" Variables ¶ This section is empty. Functions ¶ func NewMultiConn ¶ func NewMultiConn(cctx context.Context, luConn *connutil.LastUsageConn, addr string, sess *yamux.Session) transport.MultiConn Types ¶ type Config ¶ type Config struct { ListenAddrs []string `yaml:"listenAddrs"` WriteTimeoutSec int `yaml:"writeTimeoutSec"` DialTimeoutSec int `yaml:"dialTimeoutSec"` KeepAlivePeriodSec int `yaml:"keepAlivePeriodSec"` } type Yamux ¶ type Yamux interface { transport.Transport AddListener(lis net.Listener) app.ComponentRunnable } Yamux implements transport.Transport with tcp+yamux func New ¶ func New() Yamux Source Files ¶ View all Source files config.go conn.go util.go yamux.go Click to show internal directories. Click to hide internal directories.