handler

package
v0.0.0-...-3e478f6 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package handler defines the global proxy handler with default constructors

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupportedProxyType = errors.New("unsupported proxy type")

ErrUnsupportedProxyType occurs when the proxy type is unsupported.

Functions

func NewProxyHandler

func NewProxyHandler(
	operation *oaschema.Operation,
	options *proxyhandler.NewProxyHandlerOptions,
) (proxyhandler.ProxyHandler, error)

NewProxyHandler creates a proxy handler by type.

func RegisterProxyHandler

func RegisterProxyHandler(
	proxyType proxyhandler.ProxyActionType,
	constructor proxyhandler.NewProxyHandlerFunc,
)

RegisterProxyHandler registers the handler to the global registry.

Types

This section is empty.

Directories

Path Synopsis
Package graphqlhandler evaluates and execute GraphQL requests to the remote server.
Package graphqlhandler evaluates and execute GraphQL requests to the remote server.
Package proxyhandler defines types for the proxy handler.
Package proxyhandler defines types for the proxy handler.
Package resthandler evaluates and execute REST requests to the remote server.
Package resthandler evaluates and execute REST requests to the remote server.

Jump to

Keyboard shortcuts

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