types

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 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
	Keybase  Platform
	Ethereum Platform
	Discord  Platform
	Das      Platform
	Solana   Platform
	Minds    Platform
	DNS      Platform
}{
	Github:   "github",
	NextID:   "nextid",
	Twitter:  "twitter",
	Keybase:  "keybase",
	Ethereum: "ethereum",
	Discord:  "discord",
	Das:      "dotbit",
	Solana:   "solana",
	Minds:    "minds",
	DNS:      "dns",
}

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