types

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Actions = struct {
	Create Action
	Delete Action
}{
	Create: "create",
	Delete: "delete",
}
View Source
var Platforms = struct {
	Github      Platform
	NextID      Platform
	Twitter     Platform
	Telegram    Platform
	Keybase     Platform
	Ethereum    Platform
	Discord     Platform
	Das         Platform
	Solana      Platform
	Minds       Platform
	DNS         Platform
	ENS         Platform
	Steam       Platform
	ActivityPub Platform
}{
	Github:      "github",
	NextID:      "nextid",
	Twitter:     "twitter",
	Telegram:    "telegram",
	Keybase:     "keybase",
	Ethereum:    "ethereum",
	Discord:     "discord",
	Das:         "dotbit",
	Solana:      "solana",
	Minds:       "minds",
	DNS:         "dns",
	ENS:         "ens",
	Steam:       "steam",
	ActivityPub: "activitypub",
}

Platforms is a list of all current supported platforms, DO NOT MODIFY IT IN RUNTIME.

View Source
var QueueActions = struct {
	Revalidate    QueueAction
	ArweaveUpload QueueAction
}{
	Revalidate:    "revalidate",
	ArweaveUpload: "arweave_upload",
}

Functions

This section is empty.

Types

type Action

type Action string

type Platform

type Platform string

type QueueAction

type QueueAction string

type QueueMessage

type QueueMessage struct {
	Action QueueAction `json:"action"`
	// For revalidate.
	ProofID int64 `json:"proof_id"`
	// For Arweave upload.
	Persona string `json:"persona"`
}

QueueMessage indicates structure of messages in Amazon SQS.

Jump to

Keyboard shortcuts

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