utils

package
v0.0.0-...-2da2e15 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKcadmEnv

func GetKcadmEnv() map[string]string

GetKcadmEnv will read environ and create a map of k:v from envs that have a KCADM_ prefix. The prefix is removed

Types

type KcadmEnv

type KcadmEnv map[string]string

KcadmEnv for reading Kcadm env into a map

type OSSignalHandler

type OSSignalHandler struct {
	Signal chan os.Signal
}

OSSignalHandler for storing a signal

func NewOSSignal

func NewOSSignal() OSSignalHandler

NewOSSignal for creating a new signal

func (*OSSignalHandler) Close

func (s *OSSignalHandler) Close()

Close channel

func (*OSSignalHandler) Wait

func (s *OSSignalHandler) Wait()

Wait for waiting for an OS signal

Jump to

Keyboard shortcuts

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