config

package
v0.0.0-...-c1d0dbc Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TracerName = "scheduler"
)

Variables

This section is empty.

Functions

Types

type Config

type Config struct {
	Env       runtime.Env
	VaultAddr string
	NatsAddr  string
	ApiAddr   string
}

func New

func New() (*Config, error)

type Secrets

type Secrets struct {
	NatsToken string
}

func NewSecrets

func NewSecrets(ctx context.Context, vault hashivault.SecretsManager) (*Secrets, error)

Jump to

Keyboard shortcuts

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