behaviors

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: LGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const MaxTimeout = 43200

Variables

This section is empty.

Functions

func DropPrivilege

func DropPrivilege(userStr string, fds []*os.File)

func NetProbe

func NetProbe(address string, ifi *string, Timeout int) error

func RegisterFswatcher

func RegisterFswatcher(filename string, callback func())

Types

type PIDFile

type PIDFile struct {
}

func NewPidFile

func NewPidFile() (*PIDFile, error)

New creates a PIDfile using the specified path.

func (PIDFile) Remove

func (file PIDFile) Remove() error

Remove the PIDFile.

Jump to

Keyboard shortcuts

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