cf

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package cf is a minimal, cgo-free CoreFoundation binding for the darwin keychain backend. It loads CoreFoundation at runtime through purego (assembly trampolines, no import "C"), wraps every CF object create in a release-coupled helper so a reference cannot be created without a paired release, and hides the pointer-dereference idiom needed to read CoreFoundation's const global symbols.

The package is internal to keychain and carries real code only on darwin; this file keeps it a valid, buildable package on every other GOOS so a cross-compile of the whole module never trips over an all-excluded directory.

Jump to

Keyboard shortcuts

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