socket

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Socket

type Socket struct {
	Hostname  string // 服务器域名
	Port      int    // 服务器端口
	LocalAddr string // 本地监听地址
	LocalPort int    // 本地监听端口

	Username string // 身份认证用户名
	Password string // 身份认证密码

	Verbose bool // 详细模式
}

Socket 结构体

func (*Socket) Start

func (s *Socket) Start()

Start 启动本地服务监听

Jump to

Keyboard shortcuts

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