Versions in this module Expand all Collapse all v0 v0.2.0 Aug 22, 2026 Changes in this version type Source + func (s *Source) Watched() *WatchedSource + type WatchedSource struct + func (w *WatchedSource) Bind(addrs *ferry.AddressSet) (ferry.OpenFunc, error) + func (w *WatchedSource) Watching() (ferry.Notifier, error) v0.1.0 Aug 12, 2026 Changes in this version + var ErrDeeperThanLeaf = errors.New("winreg: the registry holds a subkey where this address takes a value") + var ErrIllegalName = errors.New("winreg: this cannot be named in the registry") + var ErrNoRegistry = errors.New("winreg: there is no Windows registry here") + var ErrOption = errors.New("winreg: unusable driver option") + var ErrUnspellable = errors.New("winreg: a registry string cannot spell this text") + var ErrValueType = errors.New("winreg: this registry value has a type ferry cannot carry") + var ErrWatch = errors.New("winreg: this watch could not be opened") + type Change interface + Close func() error + Wait func(ctx context.Context) (bool, error) + type Common interface + func Store(r Registry) Common + func WithView(v View) Common + type Datum struct + Binary []byte + Text string + Type Type + type Hive uint8 + const ClassesRoot + const CurrentConfig + const CurrentUser + const LocalMachine + const Users + func (h Hive) String() string + type Listing struct + Keys []string + Values []string + type Notifier interface + Arm func(ctx context.Context) (Change, error) + type Option interface + func Watch(ctx context.Context, onChange func(context.Context)) Option + type Registry interface + Create func(ctx context.Context, subkey string) error + DeleteKey func(ctx context.Context, subkey string) error + DeleteValue func(ctx context.Context, subkey, name string) error + Get func(ctx context.Context, subkey, name string) (Datum, bool, error) + List func(ctx context.Context, subkey string) (Listing, bool, error) + Set func(ctx context.Context, subkey, name string, d Datum) error + type Sink struct + func NewSink(hive Hive, subkey string, opts ...SinkOption) *Sink + func (s *Sink) Bind(addrs *ferry.AddressSet) (ferry.OpenWriterFunc, error) + type SinkOption interface + type Source struct + func NewSource(hive Hive, subkey string, opts ...Option) *Source + func (s *Source) Bind(addrs *ferry.AddressSet) (ferry.OpenFunc, error) + type Type uint8 + const TypeBinary + const TypeDWord + const TypeExpandString + const TypeMultiString + const TypeOther + const TypeQWord + const TypeString + func (t Type) String() string + type View uint8 + const View32 + const View64 + const ViewNative