handler

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(repository repository, provider provider.Provider) *Handler

func (*Handler) HandleDynamicForward

func (h *Handler) HandleDynamicForward(c echo.Context) error

func (*Handler) HandleStaticForward

func (h *Handler) HandleStaticForward(c echo.Context) error

type UpstreamResponse

type UpstreamResponse struct {
	StatusCode int
	Header     map[string][]string
	Body       []byte
}

Jump to

Keyboard shortcuts

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