handler

package
v0.0.0-...-ad9b89a Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

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 *highv3.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.
contenttype
Package contenttype implement encoders and decoders for data by content types.
Package contenttype implement encoders and decoders for data by content types.
parameter
Package parameter defines serialization functions for HTTP parameters.
Package parameter defines serialization functions for HTTP parameters.

Jump to

Keyboard shortcuts

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