Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent interface { Find(ctx context.Context, tunnelName string) (*Tunnel, error) Start(ctx context.Context, tunnelName string, config TunnelConfig) (*Tunnel, error) Stop(ctx context.Context, tunnelName string) error }
var DefaultAgent Agent = &AgentClient{Client: &http.Client{}}
type AgentClient ¶
func (*AgentClient) Start ¶
func (c *AgentClient) Start(ctx context.Context, tunnelName string, config TunnelConfig) (*Tunnel, error)
type TunnelConfig ¶
Click to show internal directories.
Click to hide internal directories.