Documentation
¶
Overview ¶
SPDX-FileCopyrightText: 2024 Paulo Almeida <almeidapaulopt@gmail.com> SPDX-License-Identifier: MIT
SPDX-FileCopyrightText: 2024 Paulo Almeida <almeidapaulopt@gmail.com> SPDX-License-Identifier: MIT
Index ¶
- type Client
- type Proxy
- func (p *Proxy) Close() error
- func (p *Proxy) GetAuthURL() string
- func (p *Proxy) GetURL() string
- func (p *Proxy) NewListener(network, addr string) (net.Listener, error)
- func (p *Proxy) NewTLSListener(network, addr string) (net.Listener, error)
- func (p *Proxy) Start(ctx context.Context) error
- func (p *Proxy) WatchEvents() chan proxyproviders.ProxyEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client struct implements proxyprovider for tailscale
func (*Client) NewProxy ¶
func (c *Client) NewProxy(config *proxyconfig.Config) (proxyproviders.ProxyInterface, error)
NewProxy method implements proxyprovider NewProxy method
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy struct implements proxyconfig.Proxy.
func (*Proxy) GetAuthURL ¶ added in v1.4.0
func (*Proxy) NewListener ¶ added in v1.3.2
NewListener method implements proxyconfig.Proxy NewListener method.
func (*Proxy) NewTLSListener ¶ added in v1.3.2
NewTLSListener method implements proxyconfig.Proxy NewTLSListener method.
func (*Proxy) WatchEvents ¶ added in v1.4.0
func (p *Proxy) WatchEvents() chan proxyproviders.ProxyEvent
Click to show internal directories.
Click to hide internal directories.