Documentation ¶
Index ¶
- Variables
- type Matcher
- type Mux
- func (t *Mux) Any() chan net.Listener
- func (t *Mux) Close() error
- func (t *Mux) Grpc() chan net.Listener
- func (t *Mux) HTTP1() chan net.Listener
- func (t *Mux) HTTP1Fast() chan net.Listener
- func (t *Mux) HTTP1HeaderField(name, value string) chan net.Listener
- func (t *Mux) HTTP1HeaderFieldPrefix(name, valuePrefix string) chan net.Listener
- func (t *Mux) HTTP2() chan net.Listener
- func (t *Mux) HTTP2HeaderField(name, value string) chan net.Listener
- func (t *Mux) HTTP2HeaderFieldPrefix(name, valuePrefix string) chan net.Listener
- func (t *Mux) Register(priority int64, matches ...Matcher) chan net.Listener
- func (t *Mux) Serve() error
- func (t *Mux) TLS(versions ...int) chan net.Listener
- func (t *Mux) Websocket() chan net.Listener
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrListenerClosed = cmux.ErrListenerClosed
Functions ¶
This section is empty.
Types ¶
type Mux ¶
type Mux struct { Addr string ReadTimeout time.Duration HandleError cmux.ErrorHandler // contains filtered or unexported fields }
func (*Mux) HTTP1HeaderFieldPrefix ¶
func (*Mux) HTTP2HeaderFieldPrefix ¶
Click to show internal directories.
Click to hide internal directories.