proxy

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MPL-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 Response

type Response struct {
	StatusCode int
	Headers    map[string]string
	Body       []byte
}

Response representa a resposta do serviço downstream.

func ForwardRequest

func ForwardRequest(ctx context.Context, method, url string, body []byte, headers map[string]string, timeoutStr string) (*Response, error)

ForwardRequest envia a requisição enriquecida para o serviço de destino.

Jump to

Keyboard shortcuts

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