types

package
v1.0.0-rc3 Latest Latest
Warning

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

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

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