scardmonitor

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReaderPresence

type ReaderPresence int
const (
	Available   ReaderPresence = iota
	Unavailable ReaderPresence = iota
)

type ScardChangeEvent

type ScardChangeEvent interface {
	Presence() ReaderPresence
	Id() string
	ScardContext() *scard.Context
	Context() context.Context
}

type ScardMon

type ScardMon interface {
	Close()
	StatusChannel() chan ScardChangeEvent
}

func ScardMonNew

func ScardMonNew(ctx context.Context) (ScardMon, error)

Jump to

Keyboard shortcuts

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