util

package
v3.13.3 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileToHashBlob added in v3.8.0

func FileToHashBlob(file string) api.HashBlob

func IsKernelModuleLoaded

func IsKernelModuleLoaded(name string) (bool, error)

func IsRoot

func IsRoot() (ret bool, err error)

func SHA256File added in v3.8.0

func SHA256File(file string) ([]byte, error)

func Uint32ToStr

func Uint32ToStr(in uint32) string

func WinAddTokenPrivilege

func WinAddTokenPrivilege(name string) error

WinAddTokenPrivilege dummy implementation for other OSes

func ZStdFile added in v3.8.0

func ZStdFile(file string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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