actions

package
v1.0.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadTxConfig = errors.New("bad transaction config supplied")

ErrBadTxConfig is when the transaction config specified is not valid

View Source
var ErrTxConfigNotFound = errors.New("transaction config not found")

ErrTxConfigNotFound is when the transaction config is not found in request body

View Source
var ErrXpubNotFound = errors.New("xpub not found")

ErrXpubNotFound is when the xpub is not found (in Auth Header)

Functions

func MethodNotAllowed

func MethodNotAllowed(c *gin.Context)

MethodNotAllowed handles all 405 requests

func NotFound

func NotFound(c *gin.Context)

NotFound handles all 404 requests

func StatusOK added in v0.16.0

func StatusOK(c *gin.Context)

StatusOK is a basic response which sets the status to 200

Types

type Action

type Action struct {
	AppConfig *config.AppConfig
	Services  *config.AppServices
}

Action is the configuration for the actions and related services

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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