services

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineErrors

func CombineErrors(err error, serviceError Error) error

func DetermineErrorCode

func DetermineErrorCode(err error, serviceError Error) (bool, uint32)

func PrintStarting added in v0.5.1

func PrintStarting()

func StartedAtBoot added in v0.5.1

func StartedAtBoot() bool

Types

type Error

type Error uint32
const (
	ErrorSuccess Error = iota
	ErrorRingloggerOpen
	ErrorLoadConfiguration
	ErrorCreateNetworkAdapter
	ErrorDNSLookup
	ErrorFirewall
	ErrorDeviceSetConfig
	ErrorDeviceBringUp
	ErrorBindSocketsToDefaultRoutes
	ErrorMonitorMTUChanges
	ErrorSetNetConfig
	ErrorDetermineExecutablePath
	ErrorTrackTunnels
	ErrorEnumerateSessions
	ErrorDropPrivileges
	ErrorRunScript
	ErrorWin32
)

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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