Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reverser ¶
type Reverser interface {
Auth(ctx context.Context, token string, connPath string) error
NewListener() (*revdial.Listener, error)
}
Reverser is how the agent offers itself to the server: authenticate once, then hand back a listener the server dials in on. It is its own package so the agent can depend on the seam without pulling in the websocket client that implements it.
Click to show internal directories.
Click to hide internal directories.