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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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