Registry / utility / gballet-go-libpcsclite

gballet-go-libpcsclite

JSON →
library0.0.0-20191108122812-4678299bea08gogounverified

A Go binding for the PC/SC Lite library, enabling communication with smart cards and readers.

go get github.com/gballet/go-libpcsclite
INSTALL
IMPORT
SIG · GBALLET-GO-LIBPCSC
G
gballet-go-libpcsclite
utilitygov0.0.0-20191108122812-4678299bea08
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pcsclite
github.com/gballet/go-libpcsclite

Creates a PC/SC context to interact with smart card readers.

package main import ( "fmt" "github.com/gballet/go-libpcsclite" ) func main() { ctx, err := pcsclite.NewContext() if err != nil { panic(err) } defer ctx.Release() fmt.Println("PC/SC context created") }
Debug
Known issues
gotchaRequires the PC/SC Lite system library (libpcsclite) to be installed.
fix
Install pcsc-lite via your package manager (e.g., apt install libpcsclite-dev).
affects: >=0.0.0
Upgrade
Version history
0.0.0-20191108122812-4678299bea08latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
gballet-go-libpcsclite — go get gballet-go-libpcsclite · libregistry