Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NoProto is used when the connection isn't actually TLS NoProto = "(none)" // DefaultProto is used when there is an ALPN we don't actually know about. // If no protos are specified on an incoming TLS connection we will first // look for a proto of ""; if not found, will use DefaultProto. On a // connection that has protos defined, we will look for that proto first, // then DefaultProto. DefaultProto = "(*)" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ALPNMux ¶
type ALPNMux struct {
// contains filtered or unexported fields
}
func (*ALPNMux) RegisterProto ¶
func (*ALPNMux) UnregisterProto ¶
Click to show internal directories.
Click to hide internal directories.