common

package
v1.3.122 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultWeight = 100

Variables

This section is empty.

Functions

This section is empty.

Types

type InvokeFunc added in v1.3.119

type InvokeFunc func() *cd.Result

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 interface{}, err *cd.Result)

func (*PluginMgr) Register added in v1.3.114

func (s *PluginMgr) Register(ptr interface{})

func (*PluginMgr) Run added in v1.3.114

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

func (*PluginMgr) Setup added in v1.3.114

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

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