crash.software
Projects
Pull Requests
Issues
Builds
reverse_ssh
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
reverse_ssh
Files
🤬
Sign In
140f3a35
ROOT
/
pkg
/
mux
/
multiplexer.go
Search
History
257 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
MultiplexerConfig
SSH
:
bool
HTTP
:
bool
TcpKeepAlive
:
int
Multiplexer
sync.RWMutex
protocols
:
map[string]*multiplexerListener
done
:
bool
listeners
:
map[string]net.Listener
newConnections
:
chan net.Conn
config
:
MultiplexerConfig
ListenWithConfig
(network, address string, _c MultiplexerConfig)
:
(*Multiplexer, error)
Listen
(network, address string)
:
(*Multiplexer, error)
isHttp
(b []byte)
:
bool
*Multiplexer
StartListener
(network, address string)
:
error
StopListener
(address string)
:
error
GetListeners
()
:
[]string
Close
()
determineProtocol
(c net.Conn)
:
(*multiplexerListener, []byte, error)
getProtoListener
(proto string)
:
net.Listener
SSH
()
:
net.Listener
HTTP
()
:
net.Listener
All occurrences
Please wait...
Page is in error, reload to recover