config

package
v0.94.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaxResponseBytes added in v0.94.0

func MaxResponseBytes() (int64, error)

MaxResponseBytes reads ECHOPOINT_MAX_RESPONSE_BYTES, the largest response body a request node reads, defaulting to 10 MiB.

Types

type Config

type Config struct {
	BaseURL             string
	OrganizationID      string
	RunnerAPIKey        string
	RunnerID            string
	MaxParallelFlows    int
	HeartbeatInterval   time.Duration
	RequestTimeout      time.Duration
	IdleBackoff         time.Duration
	ErrorBackoff        time.Duration
	ShutdownGracePeriod time.Duration
	LogLevel            zerolog.Level
	LogFormat           string
	FlowAPIKey          string
	MaxResponseBytes    int64
}

func Load

func Load() (Config, error)

Jump to

Keyboard shortcuts

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