daemon

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon

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

func New

func New(home string) *Daemon

func (*Daemon) Fetch

func (d *Daemon) Fetch(consumerID string, limit int, peek bool) (model.FetchResponse, error)

func (*Daemon) Notify

func (d *Daemon) Notify(event model.NormalizedEvent) (model.Envelope, error)

func (*Daemon) SocketPath

func (d *Daemon) SocketPath() string

func (*Daemon) Start

func (d *Daemon) Start() error

func (*Daemon) Status

func (d *Daemon) Status() (Status, error)

func (*Daemon) Stop

func (d *Daemon) Stop() error

func (*Daemon) Store

func (d *Daemon) Store() *storage.Store

type Status

type Status struct {
	Running    bool   `json:"running"`
	Home       string `json:"home"`
	SocketPath string `json:"socket_path"`
}

Jump to

Keyboard shortcuts

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