# Functions
DebugLog is the debug level log.
EncodeWebURI will replace string in () as base64 encoding.
ErrorLog is the error level log.
InfoLog is the info level log.
NewConsole will return new Console.
No description provided by the author
No description provided by the author
No description provided by the author
NewInfoRWC will return new nfoRWC.
NewNoneHandler will return new NoneHandler.
NewNormalAcessHandler will return new handler.
NewProxy will return new Proxy by name.
NewRawConn returns a new RawConn by raw connection/session id/uri.
NewRouter will return new Router by name.
NewService will return new Service.
NewWaitedPiper will return new WaitedPiper.
No description provided by the author
ReadConfig will read configure from file.
SetLogLevel is set log level to l.
WarnLog is the warn level log.
# Constants
CmdClosed is the command of tcp closed.
CmdData is the command of transfter tcp data.
CmdDial is the command of tcp dial by router.
CmdDialBack is the command of tcp dial back from master/slaver.
CmdHeartbeat is the command of heartbeat on slaver/master.
CmdLogin is the command of login to master.
CmdLoginBack is the command of login return from master.
ConnTypeChannel is the type of channel connection.
ConnTypeRaw is the type of raw connection.
LogLevelDebug is debug log level.
LogLevelError is error log level.
LogLevelInfo is info log level.
LogLevelWarn is warn log level.
RDPTemplate is the template string for rdp file.
Version is bsrouter version.
VNCTemplate is the template string for vnc file.
# Variables
ErrForwardNotExist is forward is not exist error.
Logger is the bsck package default log.
LogLevel is log leveo config.
ShowLog will show more log.
# Structs
Channel is an implementation of the Conn interface for channel network connections.
Config is struct for all configure.
Console is node console to dial connection.
No description provided by the author
No description provided by the author
InfoRWC is external ReadWriteCloser to get info to String.
NoneHandler is proxy handler.
NormalAcessHandler is normal access handler for proxy handler.
Proxy is an implementation of proxy router.
RawConn is an implementation of the Conn interface for raw network connections.
Router is an implementation of the router control.
Service is bound socket service.
WaitedPiper is Waiter/Piper implement.
No description provided by the author
Web is struct for web configure.
# Interfaces
Conn is the interface that wraps the connection will be running on Router.
ForwardFinder is forward finder.
Handler is the interface that wraps the handler of Router.
ProxyHandler is proxy handler.
RawDialer is dialer to dial raw by uri.
No description provided by the author
ReadyWaiter interface for ready waiter.
# Type aliases
DialRawF is a function type to dial raw connection.
ForwardEntry is the forward entry.
ForwardFinderF is func implement ForwardFinder.
No description provided by the author
TableRouter is the router table item.