nfc

package
v0.0.0-...-a5f1b2c Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CardEvent

type CardEvent struct {
	CardID string
	State  CardState
}

type CardReader

type CardReader interface {
	io.Closer
	Events() <-chan CardEvent
}

func CreateReader

func CreateReader() (CardReader, error)

type CardState

type CardState int
const (
	Activated   CardState = 0
	Deactivated CardState = 1
)

Jump to

Keyboard shortcuts

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