server

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INTERNAL_PAGE_HOME string = "/"
	INTERNAL_PAGE_PING        = "/_/ping/"
)
View Source
const (
	TYPE_NOT_FOUND int = 0
	TYPE_HOME          = 1
	TYPE_PING          = 2
)
View Source
const LABEL_NO_VALID_VALUE = "N/A"
View Source
const SERVER_DEFAULT_TEMPLATE = `` /* 15719-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type AptProxy

type AptProxy struct {
	Handler http.Handler
	Rules   []linux.Rule
}

func CreateAptProxyRouter

func CreateAptProxyRouter() *AptProxy

func (*AptProxy) ServeHTTP

func (ap *AptProxy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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