consts

package
v0.53.9 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestString = "frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet."

	DefaultTimeout = 2 * time.Second
)

Variables

View Source
var (
	PortServerName  string
	PortClientAdmin string

	DefaultServerConfig = `
bindPort = {{ .%s }}
log.level = "trace"
`

	DefaultClientConfig = `
serverAddr = "127.0.0.1"
serverPort = {{ .%s }}
loginFailExit = false
log.level = "trace"
`

	LegacyDefaultServerConfig = `
	[common]
	bind_port = {{ .%s }}
	log_level = trace
	`

	LegacyDefaultClientConfig = `
	[common]
	server_addr = 127.0.0.1
	server_port = {{ .%s }}
	login_fail_exit = false
	log_level = trace
	`
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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