web

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: LGPL-2.1 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthRequired

func AuthRequired(c *gin.Context)

AuthRequired is a simple middleware to check the session

func StartWeb

func StartWeb(opt *Options)

Types

type InteractiveSession

type InteractiveSession struct {
	Ip  string
	Cmd string
	Id  string
}

type Options added in v1.1.1

type Options struct {
	Wait      uint
	Port      uint
	NoAuth    bool
	CmdToExec []string
	Assets    fs.FS
	LogFile   *os.File
}

type RecordedSession

type RecordedSession struct {
	Fname    string
	Fsize    string
	Duration string
	Time     string
}

Jump to

Keyboard shortcuts

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