cloudevent

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Overview

Package cloudevent provides types for working with CloudEvents.

Deprecated: This package has been moved to github.com/DIMO-Network/cloudevent.

Index

Constants

View Source
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

func DecodeEthrDID(did string) (EthrDID, error)

DecodeEthrDID decodes a Ethr DID string into a DID struct.

Deprecated: Use github.com/DIMO-Network/cloudevent.DecodeEthrDID instead.

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

func DecodeERC721DID(did string) (NFTDID, error)

DecodeERC721DID decodes a DID string into a DID struct.

Deprecated: Use github.com/DIMO-Network/cloudevent.DecodeERC721DID instead.

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.

Jump to

Keyboard shortcuts

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