Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS interface { Open(name string) (File, error) IsNotExist(err error) bool ReadAll(f File) ([]byte, error) TempFile(dir, prefix string) (File, error) Remove(name string) error }
FS is an interface for file-related operations in the os and ioutil packages
type RegistryKey ¶
type RegistryKey interface { GetStringValue(name string) (val string, valtype uint32, err error) SetStringValue(name, value string) error Close() error }
RegistryKey is an interface for the registry.Key type
type StdRegistry ¶
type StdRegistry struct{}
func (StdRegistry) CreateKey ¶
func (StdRegistry) CreateKey(k registry.Key, path string, access uint32) (RegistryKey, bool, error)
func (StdRegistry) OpenKey ¶
func (StdRegistry) OpenKey(k registry.Key, path string, access uint32) (RegistryKey, error)
type WindowsRegistry ¶
type WindowsRegistry interface { CreateKey(k registry.Key, path string, access uint32) (newk RegistryKey, openedExisting bool, err error) OpenKey(k registry.Key, path string, access uint32) (RegistryKey, error) }
WindowsRegistry is an interface for the package-level methods in the golang.org/x/sys/windows/registry package
Click to show internal directories.
Click to hide internal directories.