handler

package
v0.6.24 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ChallengeLength = 32

ChallengeLength - Length of bytes to generate for a challenge.¡¡

Variables

This section is empty.

Functions

func CreateAccount

func CreateAccount(c *fiber.Ctx) error

func CreateChallenge added in v0.6.24

func CreateChallenge() (challenge protocol.URLEncodedBase64, err error)

CreateChallenge creates a new challenge that should be signed and returned by the authenticator. The spec recommends using at least 16 bytes with 100 bits of entropy. We use 32 bytes.

func GetAccount

func GetAccount(c *fiber.Ctx) error

func GetDID

func GetDID(c *fiber.Ctx) error

func GetDIDByAlias

func GetDIDByAlias(c *fiber.Ctx) error

func GetDIDByOwner

func GetDIDByOwner(c *fiber.Ctx) error

func GetOldestUnclaimed added in v0.6.19

func GetOldestUnclaimed(c *fiber.Ctx) error

func GetService

func GetService(c *fiber.Ctx) error

func GetServiceAssertion

func GetServiceAssertion(c *fiber.Ctx) error

func GetServiceAttestion

func GetServiceAttestion(c *fiber.Ctx) error

func ListAccounts

func ListAccounts(c *fiber.Ctx) error

func ListAllUnclaimed added in v0.6.19

func ListAllUnclaimed(c *fiber.Ctx) error

func ListDIDs

func ListDIDs(c *fiber.Ctx) error

func ListDelegators added in v0.6.20

func ListDelegators(c *fiber.Ctx) error

This function lists the delegators of a validator in a blockchain network using gRPC in Go.

func ListServices

func ListServices(c *fiber.Ctx) error

func ListValidators added in v0.6.20

func ListValidators(c *fiber.Ctx) error

This function lists all validators using gRPC in a Fiber web framework.

func ReadInboxMessages

func ReadInboxMessages(c *fiber.Ctx) error

func SendInboxMessage

func SendInboxMessage(c *fiber.Ctx) error

func SendTransaction

func SendTransaction(c *fiber.Ctx) error

func SignWithAccount

func SignWithAccount(c *fiber.Ctx) error

func SubmitCancelUnbondingDelegation added in v0.6.20

func SubmitCancelUnbondingDelegation(c *fiber.Ctx) error

The function submits a transaction to cancel a undelgation from a validator on the blockchain network using the first account of a user and provided parameters.

func SubmitCreateValidator added in v0.6.20

func SubmitCreateValidator(c *fiber.Ctx) error

The function submits a transaction to create a validator on a blockchain network using the first account of a user and provided parameters.

func SubmitDelegate added in v0.6.20

func SubmitDelegate(c *fiber.Ctx) error

The function submits a transaction to delegate to a validator on the blockchain network using the first account of a user and provided parameters.

func SubmitEditValidator added in v0.6.20

func SubmitEditValidator(c *fiber.Ctx) error

The function submits a transaction to edit a validator on the blockchain network using the first account of a user and provided parameters.

func SubmitUndelegate added in v0.6.20

func SubmitUndelegate(c *fiber.Ctx) error

The function submits a transaction to undelegate from a validator on the blockchain network using the first account of a user and provided parameters.

func VerifyServiceAssertion

func VerifyServiceAssertion(c *fiber.Ctx) error

func VerifyServiceAttestion

func VerifyServiceAttestion(c *fiber.Ctx) error

func VerifyWithAccount

func VerifyWithAccount(c *fiber.Ctx) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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