utils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendSchemaHeader added in v0.1.0

func AppendSchemaHeader(bytes []byte) []byte

func GetCacheDir

func GetCacheDir() (string, error)

Types

type ProcessManager

type ProcessManager struct {
	// contains filtered or unexported fields
}

func GetProcessManager

func GetProcessManager() *ProcessManager

func (*ProcessManager) DeleteProcessId

func (pm *ProcessManager) DeleteProcessId(name string) error

func (*ProcessManager) GetProcessId

func (pm *ProcessManager) GetProcessId(name string) (int, error)

func (*ProcessManager) SaveProcessId

func (pm *ProcessManager) SaveProcessId(name string, pid int) error

Jump to

Keyboard shortcuts

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