cmux

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer() (gone.Angel, gone.GonerId)

func Priest

func Priest(cemetery gone.Cemetery) error

Types

type Server

type Server interface {
	gone.Angel
	Match(matcher ...cmux.Matcher) net.Listener
	GetAddress() string
}

Server cumx 服务,用于复用同一端口监听多种协议,参考文档:https://pkg.go.dev/github.com/soheilhy/cmux

Jump to

Keyboard shortcuts

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