Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminServer ¶ added in v0.3.0
type AdminServer struct {
Session *models.APIGetSessionResponse
ClientRepo *ClientRepo
sync.Mutex
// contains filtered or unexported fields
}
type ClientRepo ¶ added in v0.3.0
type ClientRepo struct {
// contains filtered or unexported fields
}
func NewClientRepo ¶ added in v0.3.0
func NewClientRepo() *ClientRepo
func (*ClientRepo) Clients ¶ added in v0.3.0
func (c *ClientRepo) Clients() []*api.Client
func (*ClientRepo) Delete ¶ added in v0.3.0
func (c *ClientRepo) Delete(clientId string)
type PermissionDeniedError ¶
type PermissionDeniedError struct {
// contains filtered or unexported fields
}
func (*PermissionDeniedError) Error ¶
func (e *PermissionDeniedError) Error() string
func (*PermissionDeniedError) Unwrap ¶
func (e *PermissionDeniedError) Unwrap() error
type ReverseTunnel ¶
type ReverseTunnel struct {
*ssh.Client
Host *url.URL
Signers []ssh.Signer
AuthorizedKeys []ssh.PublicKey
KeepAliveDuration time.Duration
HostKeyCallback ssh.HostKeyCallback
Logger log.FieldLogger
// contains filtered or unexported fields
}
func (*ReverseTunnel) Close ¶
func (c *ReverseTunnel) Close()
func (*ReverseTunnel) Establish ¶
func (c *ReverseTunnel) Establish(ctx context.Context) (*server.CreateSessionResponse, error)
func (*ReverseTunnel) Listener ¶
func (c *ReverseTunnel) Listener() net.Listener
Click to show internal directories.
Click to hide internal directories.