resolver

package
v0.18.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module(
	"vef:api:resolver",
	fx.Provide(
		fx.Annotate(
			NewRest,
			fx.ResultTags(`group:"vef:api:handler_resolvers"`),
		),
		fx.Annotate(
			NewRPC,
			fx.ResultTags(`group:"vef:api:handler_resolvers"`),
		),
	),
)

Functions

func NewRPC

func NewRPC() api.HandlerResolver

func NewRest

func NewRest() api.HandlerResolver

Types

type REST

type REST struct{}

func (*REST) Resolve

func (*REST) Resolve(resource api.Resource, spec api.OperationSpec) (any, error)

type RPC

type RPC struct{}

func (*RPC) Resolve

func (*RPC) Resolve(resource api.Resource, spec api.OperationSpec) (any, error)

Jump to

Keyboard shortcuts

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