server

package
v0.0.0-...-965f49c Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Name string
	// contains filtered or unexported fields
}

Server 网桥服务端

func NewServer

func NewServer() *Server

NewServer 创建一个服务器

func (*Server) PrintInfo

func (s *Server) PrintInfo()

PrintInfo 打印信息

func (*Server) Run

func (s *Server) Run() (err error)

Run 启动服务 pPort 代理端口 bPort 桥接端口-与client创建隧道

func (*Server) Stop

func (s *Server) Stop()

Stop 停止

func (*Server) Wait

func (s *Server) Wait()

Wait 阻塞等待关闭

Jump to

Keyboard shortcuts

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