bind

package
v1.69.1 Latest Latest
Warning

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

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

Documentation

Overview

Package bind maps a config loaded from YAML onto RuntimeConfig.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrationDBParams

func MigrationDBParams[T config.ServiceRoot, S config.ServiceSecrets](l *config.Loaded[T, S]) (storage.Params, error)

func RuntimeConfig

func RuntimeConfig[T config.ServiceRoot, S config.ServiceSecrets, C config.ServiceConfig](l *config.Loaded[T, S], svc C) (*config.RuntimeConfig[C], error)

RuntimeConfig fills RuntimeConfig.Platform from the loaded file and pairs it with the service config the caller mapped. The caller validates the result once it has set the fields only its schema has, such as CORS.

Types

This section is empty.

Jump to

Keyboard shortcuts

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