collector

package
v1.0.0-alpha1.0...-2e0dbe4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package collector is the daemon collector main goroutine

Index

Constants

This section is empty.

Variables

View Source
var (
	Headers = []string{
		"svcname",
		"action",
		"hostname",
		"sid",
		"version",
		"begin",
		"status_log",
		"cron",
	}
	WatchDir = filepath.Join(rawconfig.Paths.Log, "actions")

	FeedPingerInterval = time.Second * 5
)
View Source
var (
	ErrZeroPath = errors.New("zero path")
)

Functions

This section is empty.

Types

type ObjectWithoutConfig

type ObjectWithoutConfig struct {
	ObjectWithoutConfig *[]string `json:"object_without_config"`
}

ObjectWithoutConfig used to decode response of post feed daemon status and ping

type T

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

func New

func New(ctx context.Context, subQS pubsub.QueueSizer, opts ...funcopt.O) *T

func (*T) Start

func (t *T) Start(ctx context.Context) error

func (*T) Stop

func (t *T) Stop() error

Jump to

Keyboard shortcuts

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