core

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CoordinatorObject  = kv.HeaderType('C')
	NotificationObject = kv.HeaderType('N')
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseCoordinator

type BaseCoordinator struct {
	plugins.Config
	coordinator.KeyCoder
	*time.Ticker
}

func NewBaseCoordinator

func NewBaseCoordinator() *BaseCoordinator

NewBaseCoordinator returns a new base coordinator instance.

func (*BaseCoordinator) ServiceType added in v1.0.0

func (coord *BaseCoordinator) ServiceType() plugins.ServiceType

ServiceType returns the plug-in service type.

func (*BaseCoordinator) SetKeyCoder added in v1.0.0

func (coord *BaseCoordinator) SetKeyCoder(coder coordinator.KeyCoder)

SetKeyCoder sets the key coder.

type CoordinatorService

type CoordinatorService interface {
	coordinator.Store
	plugins.Service
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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