actions

package
v0.0.0-...-fdc5c16 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var URLParameterKeys = struct {
	HexHash enum.Element
	Height  enum.Element

	Page  enum.Element
	Count enum.Element

	App    enum.Element
	Action enum.Element

	Type  enum.Element
	Param enum.Element
}{}

Functions

This section is empty.

Types

type ChainApiActions

type ChainApiActions struct {
	// contains filtered or unexported fields
}

func NewActions

func NewActions(basePath string, chain *chainStructure.Blockchain, p2p *chainNetwork.P2PService, sqlStorage *chainSQLStorage.Storage) *ChainApiActions

func (*ChainApiActions) BasicInformation

func (c *ChainApiActions) BasicInformation() (info http.HandlerBasicInformation)

func (*ChainApiActions) Handle

func (c *ChainApiActions) Handle(_ *gin.Context)

func (*ChainApiActions) Information

func (c *ChainApiActions) Information() []service.ApiInterface

func (*ChainApiActions) RegisterApplicationQueryHandler

func (c *ChainApiActions) RegisterApplicationQueryHandler(exeName string, handler applicationQueryHandler)

func (*ChainApiActions) RouteRegister

func (c *ChainApiActions) RouteRegister(router gin.IRouter)

Jump to

Keyboard shortcuts

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