mirror of
https://github.com/status-im/keycard-go.git
synced 2025-01-10 03:45:48 +00:00
14 lines
284 B
Go
14 lines
284 B
Go
package types
|
|
|
|
import "github.com/status-im/keycard-go/apdu"
|
|
|
|
// Channel is an interface with a Send method to send apdu commands and receive apdu responses.
|
|
type Channel interface {
|
|
Send(*apdu.Command) (*apdu.Response, error)
|
|
}
|
|
|
|
type PairingInfo struct {
|
|
Key []byte
|
|
Index int
|
|
}
|