bind

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveCtxValue

func ResolveCtxValue(ctx context.Context, from string) (string, error)

ResolveCtxValue resolves a ctx: source string using Default.

Types

type Resolver

type Resolver interface {
	ResolveCtxValue(ctx context.Context, from string) (string, error)
}

Resolver resolves ctx:-prefixed bind sources from the current turn context.

var Default Resolver = &defaultResolver{}

Default is the process-wide ctx bind resolver.

Jump to

Keyboard shortcuts

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