bind

package
v1.135.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 7 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 Assembly added in v1.133.0

Assembly binds a profile for boot: the platform every domain shares, with its database validated, and the assembly block as addresses and the token pair every caller presents, with no placeholder left in it. A transport no listener serves is an empty address, which boot reports when a hosted domain registers it.

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