registry

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key uint32

Key is the type alias for the registry root keys

const (
	// ClassesRoot represents the HKEY_CLASSES_ROOT hive
	ClassesRoot Key = 0x80000000 + iota
	// CurrentUser represents the HKEY_CURRENT_USER hive
	CurrentUser
	// LocalMachine represents the HKEY_LOCAL_MACHINE hive
	LocalMachine
	// Users represents the HKEY_USERS hive
	Users
	// Hive represents the global hive that doesn't fall into category of any of the previous keys.
	Hive
)
const (
	// InvalidKey designates invalid registry key.
	InvalidKey Key = 0
)

func (Key) String

func (k Key) String() string

String returns a human-readable root key name.

Jump to

Keyboard shortcuts

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