Documentation
¶
Overview ¶
Package cloudevent provides types for working with CloudEvents.
Deprecated: This package has been moved to github.com/DIMO-Network/cloudevent.
Index ¶
- Constants
- type CloudEventdeprecated
- type CloudEventHeaderdeprecated
- type EthrDIDdeprecated
- type Fingerprintdeprecated
- type FingerprintEventdeprecated
- type NFTDIDdeprecated
- type RawEventdeprecated
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
deprecated
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
deprecated
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
deprecated
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
deprecated
added in
v0.4.7
type Fingerprint
deprecated
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
deprecated
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
deprecated
added in
v0.3.2
type NFTDID = cloudeventpkg.ERC721DID
NFTDID is a Decentralized Identifier for NFTs.
Deprecated: Use github.com/DIMO-Network/cloudevent.NFTDID instead.
func DecodeERC721DID
deprecated
added in
v0.6.0
type RawEvent
deprecated
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.