crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
f680d0ac
ROOT
/
common
/
tls
/
std_server.go
Search
History
260 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
errInsecureUnused
STDServerConfig
config
:
*tls.Config
logger
:
log.Logger
acmeService
:
adapter.Service
certificate
:
[]byte
key
:
[]byte
certificatePath
:
string
keyPath
:
string
watcher
:
*fsnotify.Watcher
NewSTDServer
(ctx context.Context, router adapter.Router, logger log.Logger, options option.InboundTLSOptions)
:
(ServerConfig, error)
*STDServerConfig
ServerName
()
:
string
SetServerName
(serverName string)
NextProtos
()
:
[]string
SetNextProtos
(nextProto []string)
Config
()
:
(*STDConfig, error)
Client
(conn net.Conn)
:
(Conn, error)
Server
(conn net.Conn)
:
(Conn, error)
Clone
()
:
Config
Start
()
:
error
startWatcher
()
:
error
loopUpdate
()
reloadKeyPair
()
:
error
Close
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover