v1

package
v0.1.0-testnet Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Server to client messages
	MessageConnected            = "Connected"
	MessageDisconnected         = "Disconnected"
	MessageError                = "Error"
	MessagePassthruFailed       = "PassthruFailed"
	MessageIdentifiedWithServer = "IdentifiedWithServer"
	MessageConnectedToCard      = "connectedToCard"

	// Client to server commands
	RequestIdentify           = "Identify"
	ResponseIdentify          = "IdentifyResponse"
	RequestCertificate        = "RequestCert"
	ResponseCertificate       = "ResponseCert"
	RequestNoOp               = "NoOp"
	RequestConnectCard2Card   = "Connect2Card"
	RequestDisconnectFromCard = "DisconnectFromCard"
	RequestEndSession         = "EndSession"
	MessagePhononAck          = "AckPhonon"

	// Client to client commands
	RequestVerifyPaired      = "VerifyPairing"
	ResponseVerifyPaired     = "VerifyPairingRespnose"
	RequestCardPair1         = "CardPair1"
	ResponseCardPair1        = "CardPair1Response"
	RequestCardPair2         = "CardPair2"
	ResponseCardPair2        = "CardPair2Response"
	RequestFinalizeCardPair  = "FinalizeCardPair"
	ResponseFinalizeCardPair = "FinalizeCardPairResponse"
	// this one is weird because the server will cache this one
	RequestReceivePhonon = "requestReceivePhonon"
)

Functions

This section is empty.

Types

type Message

type Message struct {
	Name    string
	Payload []byte
}

haha ask me what the difference between a payload and parameters is

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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