Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultTunnelAddress is the default address that the tunnel pkg will // use if an alternate address is not specified DefaultTunnelAddress = "dproxy.batch.sh:443" // ReconnectSleep determines the length of time to wait between reconnect attempts to dProxy ReconnectSleep = time.Second * 5 DefaultGRPCTimeoutSeconds = 5 )
Variables ¶
View Source
var (
ErrNotAuthorized = errors.New("not authorized")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Client services.DProxyClient Conn *grpc.ClientConn Token string PlumberClusterID string OutboundMessageCh chan *events.Outbound Options *opts.TunnelOptions // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.