resolver

package
v0.0.0-...-36d6306 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestResolver

type RequestResolver interface {
	Resolve(ctx context.Context, baseID idwrap.IDWrap, deltaID *idwrap.IDWrap) (*delta.ResolveHTTPOutput, error)
}

RequestResolver defines the interface for resolving HTTP requests with their delta overlays.

type StandardResolver

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

StandardResolver implements RequestResolver using standard DB services.

func NewStandardResolver

func NewStandardResolver(
	httpService *shttp.HTTPService,
	httpHeaderService *shttp.HttpHeaderService,
	httpSearchParamService *shttp.HttpSearchParamService,
	httpBodyRawService *shttp.HttpBodyRawService,
	httpBodyFormService *shttp.HttpBodyFormService,
	httpBodyUrlEncodedService *shttp.HttpBodyUrlEncodedService,
	httpAssertService *shttp.HttpAssertService,
) *StandardResolver

NewStandardResolver creates a new instance of StandardResolver.

func (*StandardResolver) Resolve

func (r *StandardResolver) Resolve(ctx context.Context, baseID idwrap.IDWrap, deltaID *idwrap.IDWrap) (*delta.ResolveHTTPOutput, error)

Resolve fetches base and delta components and resolves them into a final HTTP request.

Jump to

Keyboard shortcuts

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