Documentation
¶
Index ¶
- Constants
- Variables
- type Args
- type Reply
- type RunnerStat
- type RunnerStats
- type Server
- type ServerStat
- type Service
- func (s *Service) Info(args *Args, reply *Reply) error
- func (s *Service) Load(args *Args, reply *Reply) error
- func (s *Service) Start(ctx context.Context) error
- func (s *Service) Stop(ctx context.Context) error
- func (s *Service) TraceBlockByHeight(args *Args, reply *Reply) error
- func (s *Service) UnLoad(args *Args, reply *Reply) error
Constants ¶
View Source
const ( PluginStatusUnload pluginStatus = iota PluginStatusLoaded PluginStatusStartOK PluginStatusStartError PluginStatusPutOK PluginStatusPutError )
Variables ¶
View Source
var ( OpDurationMtc = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "plugin_op_metrics", Help: "plugin op metrics.", }, []string{"plugin", "op"}) )
Functions ¶
This section is empty.
Types ¶
type RunnerStat ¶ added in v1.13.8
type RunnerStats ¶ added in v1.13.8
type RunnerStats struct {
Server ServerStat
Runners []RunnerStat
}
func GetRunnerStats ¶ added in v1.13.8
func GetRunnerStats() RunnerStats
type ServerStat ¶ added in v1.13.8
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(dao kernel.BatchBlockDao) *Service
func (*Service) TraceBlockByHeight ¶
Click to show internal directories.
Click to hide internal directories.