resetter

package module
v4.3.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 2 Imported by: 2

README

Resetter plugin [bundled]

Responsible for resetting workers.

Documentation

Index

Constants

View Source
const PluginName = "resetter"

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

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

func (*Plugin) Collects

func (p *Plugin) Collects() []*dep.In

Collects declares services to be collected.

func (*Plugin) Init

func (p *Plugin) Init() error

func (*Plugin) Name

func (p *Plugin) Name() string

Name of the service.

func (*Plugin) RPC

func (p *Plugin) RPC() any

RPC returns associated rpc service.

func (*Plugin) Reset

func (p *Plugin) Reset(name string) error

Reset named service.

type Resetter

type Resetter interface {
	// Reset reload plugin
	Reset() error
	// Name of the plugin
	Name() string
}

Resetter interface

Jump to

Keyboard shortcuts

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