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.
Click to show internal directories.
Click to hide internal directories.