Documentation ¶
Index ¶
Constants ¶
View Source
const (
APIGATEWAY = "gateway"
)
Variables ¶
This section is empty.
Functions ¶
func NewHTTPProxyHandler ¶
Types ¶
type HTTPProxy ¶
type HTTPProxy struct {
// contains filtered or unexported fields
}
generic http proxy handler
type TCPProxyServer ¶
type TCPProxyServer struct { sync.RWMutex // protect clients // contains filtered or unexported fields }
generic tcp proxy server
func NewTCPProxyServer ¶
func NewTCPProxyServer(listen string) *TCPProxyServer
func (*TCPProxyServer) Listen ¶
func (p *TCPProxyServer) Listen() error
func (*TCPProxyServer) MarshalJSON ¶
func (p *TCPProxyServer) MarshalJSON() ([]byte, error)
func (*TCPProxyServer) Serve ¶
func (p *TCPProxyServer) Serve()
func (*TCPProxyServer) Stop ¶
func (p *TCPProxyServer) Stop()
Click to show internal directories.
Click to hide internal directories.