tun

package
v0.0.0-...-e2ee317 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConnectionStat   map[string]Status
	RouteTableNumber int = 300
)

Functions

func HandleClient

func HandleClient(wsconn *websocket.Conn)

Types

type Status

type Status uint8
const (
	ClientNotCreated Status = iota
	ClientCreated
	ClientCreatedAndUsed
	ClientCreatedAndUsedButDied
)

func (Status) String

func (d Status) String() string

Jump to

Keyboard shortcuts

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