Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSMuxer ¶
type SSMuxer struct { OrderPreference []string // contains filtered or unexported fields }
SSMuxer is a multistream stream security transport multiplexer.
SSMuxer is safe to use without initialization. However, it's not safe to move after use.
func (*SSMuxer) AddTransport ¶
func (sm *SSMuxer) AddTransport(path string, transport sec.SecureTransport)
AddTransport adds a stream security transport to this multistream muxer.
This method is *not* thread-safe. It should be called only when initializing the SSMuxer.
func (*SSMuxer) SecureInbound ¶
SecureInbound secures an inbound connection using this multistream multiplexed stream security transport.
Click to show internal directories.
Click to hide internal directories.