manager

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsServiceActive added in v1.3.1

func IsServiceActive(hash string) bool

func Start added in v1.3.1

func Start()

func StartService added in v1.3.1

func StartService(hash string) error

func StartTunnel added in v1.3.1

func StartTunnel(hash string) (*tunnels.Tunnel, error)

func StopService added in v1.3.1

func StopService(hash string) error

func StopTunnel added in v1.3.1

func StopTunnel(hash string) error

func Tunnels added in v1.3.1

func Tunnels() *tunnelsList

Types

type InstanceInfo

type InstanceInfo struct {
	Module  *modules.Module
	Started time.Time
}

type Manager

type Manager struct {
	Instances map[string]InstanceInfo
	Tunnels   tunnelsList
}

Jump to

Keyboard shortcuts

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