api

package
v0.1.2-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INTERNAL_ERROR     = "ERR_INTERNAL"
	KEYPAIR_ERROR      = "ERR_GEN_KEYPAIR"
	JSON_MARSHAL_ERROR = "ERR_PAYLOAD_SERIALIZATION"
	TASK_CHAIN_ERROR   = "ERR_START_TASK_CHAIN"
	VALIDATION_ERROR   = "ERR_VALIDATE"
	BIND_ERROR         = "ERR_BIND"
)

Variables

This section is empty.

Functions

func RegistrationHandler

func RegistrationHandler(
	taskerClient *tasker.TaskerClient,
	keystore keystore.Keystore,
) func(echo.Context) error

func TransferHandler

func TransferHandler(
	taskerClient *tasker.TaskerClient,
) func(echo.Context) error

Types

type CustomValidator

type CustomValidator struct {
	Validator *validator.Validate
}

func (*CustomValidator) Validate

func (cv *CustomValidator) Validate(i interface{}) error

Jump to

Keyboard shortcuts

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