Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTCPAgentTunHandler ¶
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent for connecting remote tcp server
type AgentTunHandlerNewer ¶
type Option ¶
type Option func(opts *Options)
Option is option setter for agent
func WithEnabledExecute ¶ added in v1.2.0
WithEnabledExecute sets enabled execute opt
func WithTunClient ¶
WithTunClient sets tunnel client opt for reverse mode
func WithTunHandlerNewer ¶
func WithTunHandlerNewer(newer AgentTunHandlerNewer) Option
WithTunHandlerNewer sets tunnel handler newer opt
func WithTunServer ¶
WithTunServer sets tunnel server opt for normal mode
Click to show internal directories.
Click to hide internal directories.