cmux

package
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrListenerClosed = cmux.ErrListenerClosed

Functions

This section is empty.

Types

type Matcher

type Matcher = cmux.Matcher

type Mux

type Mux struct {
	Addr        string
	ReadTimeout time.Duration
	HandleError cmux.ErrorHandler
	// contains filtered or unexported fields
}

func (*Mux) Any

func (t *Mux) Any() chan net.Listener

func (*Mux) Close

func (t *Mux) Close() error

func (*Mux) Grpc

func (t *Mux) Grpc() chan net.Listener

func (*Mux) HTTP1

func (t *Mux) HTTP1() chan net.Listener

func (*Mux) HTTP1Fast

func (t *Mux) HTTP1Fast() chan net.Listener

func (*Mux) HTTP1HeaderField

func (t *Mux) HTTP1HeaderField(name, value string) chan net.Listener

func (*Mux) HTTP1HeaderFieldPrefix

func (t *Mux) HTTP1HeaderFieldPrefix(name, valuePrefix string) chan net.Listener

func (*Mux) HTTP2

func (t *Mux) HTTP2() chan net.Listener

func (*Mux) HTTP2HeaderField

func (t *Mux) HTTP2HeaderField(name, value string) chan net.Listener

func (*Mux) HTTP2HeaderFieldPrefix

func (t *Mux) HTTP2HeaderFieldPrefix(name, valuePrefix string) chan net.Listener

func (*Mux) Register

func (t *Mux) Register(priority int64, matches ...Matcher) chan net.Listener

func (*Mux) Serve

func (t *Mux) Serve() error

func (*Mux) TLS

func (t *Mux) TLS(versions ...int) chan net.Listener

func (*Mux) Websocket

func (t *Mux) Websocket() chan net.Listener

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL