monitor

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Root = kit.NewRouter(httptransport.Group("/monitor"))

Functions

This section is empty.

Types

type ControlChainHeight added in v1.2.5

type ControlChainHeight struct {
	httpx.MethodPut
	blockchain.BatchUpdateMonitorReq `in:"body"`
	Cmd                              enums.MonitorCmd `in:"path" name:"cmd"`
}

func (*ControlChainHeight) Output added in v1.2.5

func (r *ControlChainHeight) Output(ctx context.Context) (interface{}, error)

func (*ControlChainHeight) Path added in v1.2.5

func (r *ControlChainHeight) Path() string

type ControlChainTx added in v1.2.5

type ControlChainTx struct {
	httpx.MethodPut
	blockchain.BatchUpdateMonitorReq `in:"body"`
	Cmd                              enums.MonitorCmd `in:"path" name:"cmd"`
}

func (*ControlChainTx) Output added in v1.2.5

func (r *ControlChainTx) Output(ctx context.Context) (interface{}, error)

func (*ControlChainTx) Path added in v1.2.5

func (r *ControlChainTx) Path() string

type ControlContractLog added in v1.2.5

type ControlContractLog struct {
	httpx.MethodPut
	blockchain.BatchUpdateMonitorReq `in:"body"`
	Cmd                              enums.MonitorCmd `in:"path" name:"cmd"`
}

func (*ControlContractLog) Output added in v1.2.5

func (r *ControlContractLog) Output(ctx context.Context) (interface{}, error)

func (*ControlContractLog) Path added in v1.2.5

func (r *ControlContractLog) Path() string

type CreateChainHeight

type CreateChainHeight struct {
	httpx.MethodPost
	blockchain.CreateChainHeightReq `in:"body"`
}

func (*CreateChainHeight) Output

func (r *CreateChainHeight) Output(ctx context.Context) (interface{}, error)

func (*CreateChainHeight) Path

func (r *CreateChainHeight) Path() string

type CreateChainTx

type CreateChainTx struct {
	httpx.MethodPost
	blockchain.CreateChainTxReq `in:"body"`
}

func (*CreateChainTx) Output

func (r *CreateChainTx) Output(ctx context.Context) (interface{}, error)

func (*CreateChainTx) Path

func (r *CreateChainTx) Path() string

type CreateContractLog

type CreateContractLog struct {
	httpx.MethodPost
	blockchain.CreateContractLogReq `in:"body"`
}

func (*CreateContractLog) Output

func (r *CreateContractLog) Output(ctx context.Context) (interface{}, error)

func (*CreateContractLog) Path

func (r *CreateContractLog) Path() string

type RemoveChainHeight

type RemoveChainHeight struct {
	httpx.MethodDelete
	ChainHeightID types.SFID `in:"path" name:"chainHeightID"`
}

func (*RemoveChainHeight) Output

func (r *RemoveChainHeight) Output(ctx context.Context) (interface{}, error)

func (*RemoveChainHeight) Path

func (r *RemoveChainHeight) Path() string

type RemoveChainTx

type RemoveChainTx struct {
	httpx.MethodDelete
	ChainTxID types.SFID `in:"path" name:"chainTxID"`
}

func (*RemoveChainTx) Output

func (r *RemoveChainTx) Output(ctx context.Context) (interface{}, error)

func (*RemoveChainTx) Path

func (r *RemoveChainTx) Path() string

type RemoveContractLog

type RemoveContractLog struct {
	httpx.MethodDelete
	ContractLogID types.SFID `in:"path" name:"contractLogID"`
}

func (*RemoveContractLog) Output

func (r *RemoveContractLog) Output(ctx context.Context) (interface{}, error)

func (*RemoveContractLog) Path

func (r *RemoveContractLog) Path() string

Jump to

Keyboard shortcuts

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