common

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: AGPL-3.0 Imports: 18 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func NewGetIdentityCommand added in v0.24.9

func NewGetIdentityCommand(idProvider module.IdentityProvider) commands.AdminCommand

func NewReadProtocolStateBlocksCommand added in v0.23.2

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

Types

type GetIdentityCommand added in v0.24.9

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

func (*GetIdentityCommand) Handler added in v0.24.9

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

func (*GetIdentityCommand) Validator added in v0.24.9

func (r *GetIdentityCommand) Validator(req *admin.CommandRequest) error

type GetRequiredApprovalsForSealingCommand added in v0.26.13

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

func NewGetRequiredApprovalsForSealingCommand added in v0.26.13

func NewGetRequiredApprovalsForSealingCommand(getter module.SealingConfigsGetter) *GetRequiredApprovalsForSealingCommand

func (*GetRequiredApprovalsForSealingCommand) Handler added in v0.26.13

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

func (*GetRequiredApprovalsForSealingCommand) Validator added in v0.26.13

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

type SetProfilerEnabledCommand added in v0.25.0

type SetProfilerEnabledCommand struct{}

func (*SetProfilerEnabledCommand) Handler added in v0.25.0

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

func (*SetProfilerEnabledCommand) Validator added in v0.25.0

type SetRequiredApprovalsForSealingCommand added in v0.26.13

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

func NewSetRequiredApprovalsForSealingCommand added in v0.26.13

func NewSetRequiredApprovalsForSealingCommand(setter module.SealingConfigsSetter) *SetRequiredApprovalsForSealingCommand

func (*SetRequiredApprovalsForSealingCommand) Handler added in v0.26.13

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

func (*SetRequiredApprovalsForSealingCommand) Validator added in v0.26.13

Jump to

Keyboard shortcuts

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