web

package
v1.10.8 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCpuPercent

func GetCpuPercent() float64

func GetCurrentProcessCPUPrecent

func GetCurrentProcessCPUPrecent() float64

func GetCurrentProcessMem

func GetCurrentProcessMem() uint64

func GetLogger added in v1.7.2

func GetLogger() *logrus.Logger

func IPRegTest

func IPRegTest(c *gin.Context)

func Logs

func Logs(c *gin.Context)

Logs web

func PortForwardsRuleAdd added in v1.5.1

func PortForwardsRuleAdd(c *gin.Context)

func PortForwardsRuleAlter added in v1.5.1

func PortForwardsRuleAlter(c *gin.Context)

func PortForwardsRuleDelete added in v1.5.1

func PortForwardsRuleDelete(c *gin.Context)

func PortForwardsRuleEnable added in v1.5.1

func PortForwardsRuleEnable(c *gin.Context)

func PortForwardsRuleList added in v1.5.1

func PortForwardsRuleList(c *gin.Context)

func RunAdminWeb

func RunAdminWeb(conf *config.BaseConfigure)

func WOLDeviceWakeUp added in v1.5.1

func WOLDeviceWakeUp(c *gin.Context)

Types

type LogItem added in v1.3.1

type LogItem struct {
	Timestamp string `json:"timestamp"`
	Content   string `json:"log"`
}

Jump to

Keyboard shortcuts

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