internal

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChildCtx added in v0.1.3

func ChildCtx(p context.Context) context.Context

func FindCgroupPath added in v0.1.3

func FindCgroupPath() (string, error)

func FindHomebrewSSL added in v0.1.3

func FindHomebrewSSL(root string) []string

func FindLibSSL

func FindLibSSL(root string) (string, error)

func FindNodeBin added in v0.1.3

func FindNodeBin(root string) (string, error)

func GetInitPidNsId

func GetInitPidNsId() int

func GetSelfRootPid added in v0.1.3

func GetSelfRootPid() int

func IntToIp

func IntToIp(ipNum uint32) net.IP

func IpToInt added in v0.1.3

func IpToInt(ip net.IP) uint32

func IsK8s

func IsK8s() bool

func IsLE

func IsLE() bool

IsLE checks the endianness of the system and logs whether it is little-endian (LE) or big-endian (BE).

func Readable

func Readable(s []byte, len int64) string

For debugging SSL buffers.

func Send added in v0.1.3

func Send(token string, payload []SpannerPayload) error

func Uname added in v0.1.3

func Uname() string

Types

type SpannerPayload added in v0.1.3

type SpannerPayload struct {
	Table string   `json:"table"`
	Cols  []string `json:"cols"`
	Vals  []any    `json:"vals"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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