package
0.26.19
Repository: https://github.com/sllt/nps.git
Documentation: pkg.go.dev

# Functions

Write length and individual byte data Length prevents sticking # Characters are used to separate data.
convert bytes to num.
Change headers and host of request.
Check if the Request request is validated.
No description provided by the author
Check the legality of domain.
FileExists reports whether the named file or directory exists.
if the s is just a port,return 127.0.0.1:s.
get the length of the sync map.
Get the absolute path to the running directory.
get bool by str.
No description provided by the author
config file path.
get env.
No description provided by the author
No description provided by the author
Get the corresponding IP address through domain name.
Different systems get different installation paths.
int.
No description provided by the author
get address from the complete address.
send this ip forget to get a local udp port.
No description provided by the author
interface log file path.
interface npc log file path.
get port from the complete address.
format ports str to a int array.
Get the currently selected configuration file directoryFor non-Windows systems, select the /etc/nps as config directory if exist, or select ./windows system, select the C:\Program Files\nps as config directory if exist, or select ./.
No description provided by the author
get str by bool.
interface pid file path.
Get verify value.
get seq str.
inArray int interface.
No description provided by the author
No description provided by the author
inArray str interface.
No description provided by the author
判断访问地址是否在黑名单内.
is the string a port.
No description provided by the author
Determine whether the current system is a Windows system?.
No description provided by the author
No description provided by the author
parse template.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Read file content by file path.
No description provided by the author
remove value from string array.
Judge whether the TCP port can open normally.
Judge whether the UDP port can open normally.
No description provided by the author
throw the empty element of the string array.

# Constants

Separator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
p2p udp conn.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author