sentinel

package
v0.0.0-...-cdef871 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceName name of the service
	ServiceName = "sentinel"

	// QueueName queue name for queuesubscribes
	QueueName = "xbus.services." + ServiceName
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	services.Options
	Settings

	ActorStorage storage.ActorStorage
}

Options is used to create a 'processstate' service

func (Options) NewService

func (o Options) NewService() *Service

NewService creates a Service

type Service

type Service struct {
	services.BaseService
	// contains filtered or unexported fields
}

Service is in charge of emitting process status events to various subjects

func (*Service) Shutdown

func (s *Service) Shutdown() error

func (*Service) Startup

func (s *Service) Startup() error

Startup starts the service

type Settings

type Settings struct {
	SurveyOnlineStatusDelay time.Duration
}

Settings holds the configuration settings set by the configuration file or command line

Jump to

Keyboard shortcuts

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