upper

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceNull 不在意端口号的服务
	ServiceNull = iota
	// ServiceTunnel 管道通信服务
	ServiceTunnel
	// ServiceWireGold 虚拟组网服务
	ServiceWireGold
)

常用服务端口

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// Start 无阻塞运行
	Start(srcport, destport, mtu uint16)
	// Run 阻塞运行
	Run(srcport, destport, mtu uint16)
	// Stop 停止
	Stop()
	io.ReadWriter
}

Directories

Path Synopsis
services
wg

Jump to

Keyboard shortcuts

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