gateway

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetQuiet

func SetQuiet()

SetQuiet logging

Types

type Credentials

type Credentials struct {
	Username string
}

Credentials for authentication

type Gateway

type Gateway struct {
	Backend  *url.URL
	BasePath string
	Port     int
}

Gateway is the server that serves static files and proxies to the different backends

func (*Gateway) Serve

func (gw *Gateway) Serve()

Serve static files and proxy to the different backends

Jump to

Keyboard shortcuts

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