Documentation ¶
Index ¶
- Constants
- func NewGetIdentityCommand(idProvider id.IdentityProvider) commands.AdminCommand
- func NewReadProtocolStateBlocksCommand(state protocol.State, storage storage.Blocks) commands.AdminCommand
- type GetIdentityCommand
- type ReadProtocolStateBlocksCommand
- type SetLogLevelCommand
- type SetProfilerEnabledCommand
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 id.IdentityProvider) commands.AdminCommand
func NewReadProtocolStateBlocksCommand ¶ added in v0.23.2
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 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
func (r *ReadProtocolStateBlocksCommand) Validator(req *admin.CommandRequest) error
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
func (s *SetProfilerEnabledCommand) Validator(req *admin.CommandRequest) error
Click to show internal directories.
Click to hide internal directories.