generic

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericSSHHandler

type GenericSSHHandler struct {
	ShellUrl string
	// contains filtered or unexported fields
}

func NewGenericSSHHandler

func NewGenericSSHHandler(shellUrl string, defaultCommand []string) *GenericSSHHandler

func (*GenericSSHHandler) DefaultCommand

func (h *GenericSSHHandler) DefaultCommand() []string

func (*GenericSSHHandler) HandleAuth

func (h *GenericSSHHandler) HandleAuth(w http.ResponseWriter, r *http.Request)

func (*GenericSSHHandler) HandleAuthCallback

func (h *GenericSSHHandler) HandleAuthCallback(w http.ResponseWriter, r *http.Request)

func (*GenericSSHHandler) HandleUser

func (h *GenericSSHHandler) HandleUser(w http.ResponseWriter, r *http.Request)

func (*GenericSSHHandler) SSHSessionCommandHandler

func (h *GenericSSHHandler) SSHSessionCommandHandler(session ssh.Session, cmd *exec.Cmd) error

func (*GenericSSHHandler) SessionHandler

func (h *GenericSSHHandler) SessionHandler(session ssh.Session)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL