util

package
v0.7.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	EnvConnectorConfigType = "CONNECTOR_CONFIG_TYPE"
	EnvConfigFile          = "CONNECTOR_CONFIG"
)

Variables

This section is empty.

Functions

func Backoff

func Backoff(attempt int, max time.Duration) time.Duration

func ParseConfig

func ParseConfig(data []byte, v interface{}) error

func ParseConfigFile added in v0.6.0

func ParseConfigFile(v interface{}) error

func ReadConfigFile added in v0.6.0

func ReadConfigFile() ([]byte, error)

func SignalContext

func SignalContext() context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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