Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
ServerAddr string
}
func NewTCPClient ¶
func (*Client) Connect ¶
func (c *Client) Connect(clientProcessingFunc ClientProcessor)
func (*Client) ConsulConnect ¶
func (c *Client) ConsulConnect(consul *sd.Consul, clientProcessingFunc ClientProcessor)
type ClientProcessor ¶
type Forwarder ¶
type Forwarder struct { Name string LocalAddr string RemoteAddresses []string HealtcheckAddr string }
func NewTCPForwarder ¶
type ServerProcessor ¶
Click to show internal directories.
Click to hide internal directories.