es

package
v1.1.0-timing.5-beta.2... Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ESService

type ESService struct {
	CommandBus handler.FpCommandBus
	EventBus   command.FpEventBus

	RootMod   *modconfig.Mod
	Status    string     `json:"status"`
	StartedAt *time.Time `json:"started_at,omitempty"`
	StoppedAt *time.Time `json:"stopped_at,omitempty"`
	// contains filtered or unexported fields
}

func NewESService

func NewESService(ctx context.Context) (*ESService, error)

func (*ESService) IsRunning

func (es *ESService) IsRunning() bool

func (*ESService) Raise

func (es *ESService) Raise(evt interface{}) error

func (*ESService) Send

func (es *ESService) Send(cmd interface{}) error

func (*ESService) Start

func (es *ESService) Start() error

func (*ESService) Stop

func (es *ESService) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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