registry

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

internal/registry/registry.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lookup

func Lookup(outputType reflect.Type) (schema.AnySchema, bool)

func LookupTyped

func LookupTyped[T any]() (schema.AnySchema, bool)

func Register

func Register(schemaValue schema.AnySchema)

func Reset

func Reset()

Types

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func New

func New() *Registry

func (*Registry) Lookup

func (registry *Registry) Lookup(outputType reflect.Type) (schema.AnySchema, bool)

func (*Registry) Register

func (registry *Registry) Register(schemaValue schema.AnySchema)

func (*Registry) Reset

func (registry *Registry) Reset()

Jump to

Keyboard shortcuts

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