Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientConnect ¶
func ClientConnect(ctx context.Context, wsURL string, headers http.Header, dialer *websocket.Dialer, auth remotedialer.ConnectAuthorizer, onConnect func(context.Context, *remotedialer.Session) error) error
ClientConnect connect to WS and wait 5 seconds when error
func ConnectToProxy ¶
func ConnectToProxy(rootCtx context.Context, proxyURL string, headers http.Header, auth remotedialer.ConnectAuthorizer, dialer *websocket.Dialer, onConnect func(context.Context, *remotedialer.Session) error) error
ConnectToProxy connect to websocket server
Types ¶
type ConnectAuthorizer ¶
ConnectAuthorizer custom for authorization
Click to show internal directories.
Click to hide internal directories.