common

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: AGPL-3.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ID requestType = iota
	Height
	Final
	Sealed
)

Variables

This section is empty.

Functions

func NewReadProtocolStateBlocksCommand added in v0.23.2

func NewReadProtocolStateBlocksCommand(state protocol.State, storage storage.Blocks) commands.AdminCommand

Types

type ReadProtocolStateBlocksCommand added in v0.23.2

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

func (*ReadProtocolStateBlocksCommand) Handler added in v0.23.2

func (r *ReadProtocolStateBlocksCommand) Handler(ctx context.Context, req *admin.CommandRequest) (interface{}, error)

func (*ReadProtocolStateBlocksCommand) Validator added in v0.23.2

type SetLogLevelCommand

type SetLogLevelCommand struct{}

func (*SetLogLevelCommand) Handler added in v0.23.2

func (s *SetLogLevelCommand) Handler(ctx context.Context, req *admin.CommandRequest) (interface{}, error)

func (*SetLogLevelCommand) Validator added in v0.23.2

func (s *SetLogLevelCommand) Validator(req *admin.CommandRequest) error

Jump to

Keyboard shortcuts

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