proxy

package
v0.0.0-...-d46a54d Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// XroadDefaulURL is default path where x-road is usually served from security server
	XroadDefaulURL string = "/cgi-bin/consumer_proxy"
)

Variables

This section is empty.

Functions

func NewProxyHandler

func NewProxyHandler(
	logger *zerolog.Logger,
	serverService server.AccessorService,
	ruleService rule.Service,
	cache request.Storage,
) (http.Handler, error)

NewProxyHandler creates new http handler for proxy

func Start

func Start(
	logger *zerolog.Logger,
	serverConfig config.ServerConf,
	requestCache request.Storage,
	serverService proxyserver.AccessorService,
	ruleService rule.Service,
	wg *sync.WaitGroup,
)

Start starts proxy server in goroutine

Types

This section is empty.

Directories

Path Synopsis
api
dto

Jump to

Keyboard shortcuts

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