clientlessendpoint

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientlessBetaHandler

type ClientlessBetaHandler struct {
	Dependencies *module.Dependencies
	// contains filtered or unexported fields
}

ClientlessBetaHandler is the handler for "/clientless/post-request"

func NewClientlessBetaHandler

func NewClientlessBetaHandler(deps *module.Dependencies) *ClientlessBetaHandler

NewClientlessBetaHandler creates a handler

func (*ClientlessBetaHandler) HandleRequest

HandleRequest handles "/clientless/post-request".

func (*ClientlessBetaHandler) Register

func (h *ClientlessBetaHandler) Register(g *zanzibar.Gateway) error

Register adds the http handler to the gateway's http router

type ClientlessClientlessArgWithHeadersHandler

type ClientlessClientlessArgWithHeadersHandler struct {
	Dependencies *module.Dependencies
	// contains filtered or unexported fields
}

ClientlessClientlessArgWithHeadersHandler is the handler for "/clientless/argWithHeaders"

func NewClientlessClientlessArgWithHeadersHandler

func NewClientlessClientlessArgWithHeadersHandler(deps *module.Dependencies) *ClientlessClientlessArgWithHeadersHandler

NewClientlessClientlessArgWithHeadersHandler creates a handler

func (*ClientlessClientlessArgWithHeadersHandler) HandleRequest

HandleRequest handles "/clientless/argWithHeaders".

func (*ClientlessClientlessArgWithHeadersHandler) Register

Register adds the http handler to the gateway's http router

type ClientlessEmptyclientlessRequestHandler

type ClientlessEmptyclientlessRequestHandler struct {
	Dependencies *module.Dependencies
	// contains filtered or unexported fields
}

ClientlessEmptyclientlessRequestHandler is the handler for "/clientless/emptyclientlessRequest"

func NewClientlessEmptyclientlessRequestHandler

func NewClientlessEmptyclientlessRequestHandler(deps *module.Dependencies) *ClientlessEmptyclientlessRequestHandler

NewClientlessEmptyclientlessRequestHandler creates a handler

func (*ClientlessEmptyclientlessRequestHandler) HandleRequest

HandleRequest handles "/clientless/emptyclientlessRequest".

func (*ClientlessEmptyclientlessRequestHandler) Register

Register adds the http handler to the gateway's http router

type Endpoint

type Endpoint interface {
	Register(*zanzibar.Gateway) error
}

Endpoint registers a request handler on a gateway

func NewEndpoint

func NewEndpoint(deps *module.Dependencies) Endpoint

NewEndpoint returns a collection of endpoints that can be registered on a gateway

type EndpointHandlers

type EndpointHandlers struct {
	ClientlessBetaHandler                     *ClientlessBetaHandler
	ClientlessClientlessArgWithHeadersHandler *ClientlessClientlessArgWithHeadersHandler
	ClientlessEmptyclientlessRequestHandler   *ClientlessEmptyclientlessRequestHandler
}

EndpointHandlers is a collection of individual endpoint handlers

func (*EndpointHandlers) Register

func (handlers *EndpointHandlers) Register(gateway *zanzibar.Gateway) error

Register registers the endpoint handlers with the gateway

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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