hive

package module
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package hive provides common code for Hive services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(s any)

Run runs a Hive service or application.

func RunContext

func RunContext(ctx context.Context, s any)

RunContext runs a Hive service or application with the given context.

Types

type MessagingService added in v0.11.0

type MessagingService interface {
	// Start starts the service's goroutines.
	Start(ctx context.Context, ch messaging.Channel) (<-chan error, error)
}

type StandaloneService added in v0.11.0

type StandaloneService interface {
	// Start starts the service's goroutines.
	Start(ctx context.Context) (<-chan error, error)
}

Directories

Path Synopsis
apps
console/cmd command
hive-console prints logged events as they occur.
hive-console prints logged events as they occur.
dnstap-monitor/cmd command
hive-dnstap-monitor prints dns query events as they occur.
hive-dnstap-monitor prints dns query events as they occur.
Package chat defines Matrix chat events for Hive services.
Package chat defines Matrix chat events for Hive services.
Package config provides configuration management for Hive.
Package config provides configuration management for Hive.
Package logging provides centralized logging services for Hive.
Package logging provides centralized logging services for Hive.
event
Package event provides the Event interface and supporting types.
Package event provides the Event interface and supporting types.
internal/logger
Package logger provides the internal logger.
Package logger provides the internal logger.
internal/modifiers
Package modifiers provides the event modifier plugin system.
Package modifiers provides the event modifier plugin system.
internal/rxp
Package rxp provides common regular expression patterns.
Package rxp provides common regular expression patterns.
internal/rxparser
Package rxparser implements parsing strings using regular expressions.
Package rxparser implements parsing strings using regular expressions.
internal/unmarshal
Package unmarshal provides the UnmarshalEvent function.
Package unmarshal provides the UnmarshalEvent function.
sources
Package sources provides logger-specific Event implementations.
Package sources provides logger-specific Event implementations.
sources/systemd
Package systemd manages systemd journal entries for Hive.
Package systemd manages systemd journal entries for Hive.
wrappers
Package wrappers provides application-specific Event wrappers.
Package wrappers provides application-specific Event wrappers.
Package messaging provides messaging services for Hive.
Package messaging provides messaging services for Hive.
event
Package event provides the Event type.
Package event provides the Event type.
services
dns/tap/collector/cmd command
hive-dnstap-collector publishes dnstap data onto the Hive message bus.
hive-dnstap-collector publishes dnstap data onto the Hive message bus.
dns/tap/integrator/cmd command
hive-dnstap-integrator publishes dnstap data onto the Hive message bus.
hive-dnstap-integrator publishes dnstap data onto the Hive message bus.
logging/collector/cmd command
hive-log-collector publishes systemd journal entries onto the Hive message bus.
hive-log-collector publishes systemd journal entries onto the Hive message bus.
logging/collector/filters
Package filters allows excluding events from forwarding.
Package filters allows excluding events from forwarding.
logging/ingester/cmd command
hive-log-ingester routes systemd journal entries onto the Hive message bus.
hive-log-ingester routes systemd journal entries onto the Hive message bus.
logging/spooler/cmd command
hive-log-spooler routes systemd journal entries onto the Hive message bus.
hive-log-spooler routes systemd journal entries onto the Hive message bus.
matrix-connector/cmd command
hive-matrix-connector sends and receives Matrix events.
hive-matrix-connector sends and receives Matrix events.
Package util provides utilities for Hive libraries and services.
Package util provides utilities for Hive libraries and services.

Jump to

Keyboard shortcuts

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