Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAuth is return when a user is not allow to do certain action on a domain // most usually it is because the domain is own by someone else ErrAuth = errors.New("unauthorized error") )
Functions ¶
This section is empty.
Types ¶
type Mgr ¶
type Mgr struct {
// contains filtered or unexported fields
}
Mgr is configure a TCP router server using redis
func (*Mgr) AddProxy ¶
AddProxy adds a TCP proxy from domain to addr port is for plain text protocol, usually HTTP portTLS is for TCL protocol, usually HTTPS
func (*Mgr) AddReverseProxy ¶
AddReverseProxy add a reverse tunnel TCP proxy from domain to the TCP connection identityied by secret
func (*Mgr) RemoveProxy ¶
RemoveProxy removes a proxy added with AddProxy
Click to show internal directories.
Click to hide internal directories.