keycard-go/globalplatform/channel.go

9 lines
247 B
Go

package globalplatform
import "github.com/status-im/hardware-wallet-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)
}