 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- type ALPNMux
- func (l *ALPNMux) Addr() net.Addr
- func (l *ALPNMux) Close() error
- func (l *ALPNMux) GetListener(proto string) net.Listener
- func (l *ALPNMux) RegisterProto(proto string, tlsConf *tls.Config) (net.Listener, error)
- func (l *ALPNMux) SetLogger(log hclog.Logger)
- func (l *ALPNMux) UnregisterProto(proto string)
 
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.