crash.software
Projects
Pull Requests
Issues
Builds
SeaMoon
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
SeaMoon
Files
🤬
Sign In
d8c188af
ROOT
/
pkg
/
service
/
websocket.go
Search
History
155 lines
|
UTF-8
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
defaultTimeout
defaultReadBufferSize
WSService
startAt
:
time.Time
upGrader
:
*websocket.Upgrader
init
()
*WSService
Conn
(ctx context.Context, t enum.ProxyType, sOpts ...Option)
:
(tunnel.Tunnel, error)
Serve
(ln net.Listener, sOpts ...Option)
:
error
http
(w http.ResponseWriter, r *http.Request)
socks5
(w http.ResponseWriter, r *http.Request)
health
(w http.ResponseWriter, _ *http.Request)
All occurrences
Please wait...
Page is in error, reload to recover