Discover Packages
github.com/getlantern/cmuxprivate
package
module
Version:
v0.0.0-...-503c533
Opens a new window with list of versions in this module.
Published: Oct 25, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
README
¶
cmuxprivate
Originally used for plugins https://github.com/getlantern/cmux that reference
private repositories (cmux itself is a public repository), but should now just be cleaned up
and removed.
psmux
example:
import (
"github.com/getlantern/cmux"
"github.com/getlantern/cmuxprivate"
"github.com/getlantern/psmux"
)
config := psmux.DefaultConfig()
config.Version = 2
...
protocol := cmuxprivate.NewPsmuxProtocol(config)
dialer := cmux.Dialer(&cmux.DialerOpts{Protocol: protocol, ...}
Expand ▾
Collapse ▴
Documentation
¶
func NewPsmuxProtocol(config *psmux .Config ) *psmuxProtocol
NewPsmuxProtocol creates a new psmux based Protocol using
the psmux configuration givien. If config is nil, the
default psmux configuration is used.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.