Documentation
¶
Overview ¶
Package cloudevent provides types for working with CloudEvents. Deprecated: This package has been moved to github.com/DIMO-Network/cloudevent.
Index ¶
Constants ¶
const ( // TypeStatus is the event type for status updates. // Deprecated: Use github.com/DIMO-Network/cloudevent.TypeStatus instead. TypeStatus = cloudeventpkg.TypeStatus // TypeFingerprint is the event type for fingerprint updates. // Deprecated: Use github.com/DIMO-Network/cloudevent.TypeFingerprint instead. TypeFingerprint = cloudeventpkg.TypeFingerprint // TypeVerifableCredential is the event type for verifiable credentials. // Deprecated: Use github.com/DIMO-Network/cloudevent.TypeVerifableCredential instead. TypeVerifableCredential = cloudeventpkg.TypeVerifableCredential // TypeUnknown is the event type for unknown events. // Deprecated: Use github.com/DIMO-Network/cloudevent.TypeUnknown instead. TypeUnknown = cloudeventpkg.TypeUnknown // SpecVersion is the version of the CloudEvents spec. // Deprecated: Use github.com/DIMO-Network/cloudevent.SpecVersion instead. SpecVersion = cloudeventpkg.SpecVersion )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudEvent ¶
type CloudEvent[A any] = cloudeventpkg.CloudEvent[A]
CloudEvent represents an event according to the CloudEvents spec. To Add extra headers to the CloudEvent, add them to the Extras map. See https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md Deprecated: Use github.com/DIMO-Network/cloudevent.CloudEvent instead.
type CloudEventHeader ¶
type CloudEventHeader = cloudeventpkg.CloudEventHeader
CloudEventHeader contains the metadata for any CloudEvent. To add extra headers to the CloudEvent, add them to the Extras map. Deprecated: Use github.com/DIMO-Network/cloudevent.CloudEventHeader instead.
type EthrDID ¶ added in v0.4.7
type EthrDID = cloudeventpkg.EthrDID
EthrDID is a Decentralized Identifier for an Ethereum contract. Deprecated: Use github.com/DIMO-Network/cloudevent.EthrDID instead.
func DecodeEthrDID ¶ added in v0.4.7
DecodeEthrDID decodes a Ethr DID string into a DID struct. Deprecated: Use github.com/DIMO-Network/cloudevent.DecodeEthrDID instead.
type Fingerprint ¶ added in v0.3.3
type Fingerprint = cloudeventpkg.Fingerprint
Fingerprint represents a fingerprint message which holds a vehicle's VIN. Deprecated: Use github.com/DIMO-Network/cloudevent.Fingerprint instead.
type FingerprintEvent ¶ added in v0.3.3
type FingerprintEvent = cloudeventpkg.FingerprintEvent
FingerprintEvent is a CloudEvent for a fingerprint message. Deprecated: Use github.com/DIMO-Network/cloudevent.FingerprintEvent instead.
type NFTDID ¶ added in v0.3.2
type NFTDID = cloudeventpkg.NFTDID
NFTDID is a Decentralized Identifier for NFTs. Deprecated: Use github.com/DIMO-Network/cloudevent.NFTDID instead.
func DecodeNFTDID ¶ added in v0.3.2
DecodeNFTDID decodes a DID string into a DID struct. Deprecated: Use github.com/DIMO-Network/cloudevent.DecodeNFTDID instead.
type RawEvent ¶ added in v0.5.0
type RawEvent = cloudeventpkg.RawEvent
RawEvent is a cloudevent with a json.RawMessage data field. Deprecated: Use github.com/DIMO-Network/cloudevent.RawEvent instead.