server

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServerCmd

func NewServerCmd() *cobra.Command

Types

type Session

type Session struct {
	SNI string `json:"sni"`
	//RemoteAddr string `json:"remoteAddr"`
	//LocalAddr  string `json:"localAddr"`
	Conn net.Conn
	Mux  net.Listener
	Sess *yamux.Session
}

type SessionRegistry

type SessionRegistry struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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