proxy

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartConnection

func StartConnection(src net.Conn, serverConfig *Config, userConfig *config.UserConfig)

StartConnection 开始一个连接处理

Types

type Config

type Config struct {
	Hostname string // 证书域名
	Port     int    // 监听端口号

	Acme       string // acme工具根路径
	SSLCerFile string // ssl crt路径
	SSLKeyFile string // ssl key路径

	User  string // 运行时用户
	Group string // 运行时用户组

	UserConfig string // 用户配置文件

	Verbose bool // 详细模式
}

Config 配置结构体

Jump to

Keyboard shortcuts

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