ipfs

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// when we received a new message that contains ipfs identifier
	SubjectMessageCreated = "ipfs.message.created"
	// ipfs checker will be publish events to this subject after resolving data by ipfs identifier
	SubjectMessageCollected = "ipfs.message.collected"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageHandler

type MessageHandler = events.Handler[MessagePayload]

type MessagePayload

type MessagePayload struct {
	IpfsID string `json:"ipfs_id"`
	Type   string `json:"type"`
}

Jump to

Keyboard shortcuts

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