upstream

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpstreamConnection

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

func NewUpstreamConnection

func NewUpstreamConnection(headers map[string]string, proxy string, timeout int) *UpstreamConnection

func (*UpstreamConnection) Check

func (u *UpstreamConnection) Check(method string, uri string) (string, contenttype.MediaType, error)

func (*UpstreamConnection) Get

func (u *UpstreamConnection) Get(method, URI string) ([]byte, int, contenttype.MediaType, error)

Jump to

Keyboard shortcuts

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