common

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultWeight = 100

Weight 越小越先启动

Variables

This section is empty.

Functions

This section is empty.

Types

type InvokeFunc added in v1.3.119

type InvokeFunc func() *cd.Error

type PluginMgr added in v1.3.114

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

func NewPluginMgr added in v1.3.114

func NewPluginMgr(typeName string) *PluginMgr

func (*PluginMgr) GetEntity added in v1.3.114

func (s *PluginMgr) GetEntity(id string) (ret any, err *cd.Error)

func (*PluginMgr) Register added in v1.3.114

func (s *PluginMgr) Register(ptr any)

func (*PluginMgr) Run added in v1.3.114

func (s *PluginMgr) Run() (err *cd.Error)

func (*PluginMgr) Setup added in v1.3.114

func (s *PluginMgr) Setup(eventHub event.Hub, backgroundRoutine task.BackgroundRoutine) (err *cd.Error)

func (*PluginMgr) Teardown added in v1.3.114

func (s *PluginMgr) Teardown()

Jump to

Keyboard shortcuts

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