runtime

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProfilingEnabled  = "enabled"
	ProfilingDisabled = "disabled"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Profiling      string        `json:"profiling,omitempty"`
	ExportInterval time.Duration `json:"exportInterval,omitempty"`
}

func DefaultConfig

func DefaultConfig() Config

func NewFromMap

func NewFromMap(m map[string]string) (Config, error)

func (*Config) ProfilingEnabled

func (c *Config) ProfilingEnabled() bool

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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