server

package
v0.0.0-...-0ccacba Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthZ

func AuthZ(handler http.HandlerFunc) http.HandlerFunc

AuthZ allow authz to be handled.

func BasicAuth

func BasicAuth(handler http.HandlerFunc) http.HandlerFunc

BasicAuth wraps a handler requiring HTTP basic auth for it using the given username and password and the specified realm, which shouldn't contain quotes.

Most web browser display a dialog with something like:

The website says: "<realm>"

Which is really stupid so you may want to set the realm to a message rather than an actual realm.

func LowerCaseURI

func LowerCaseURI(h http.Handler) http.Handler

LowerCaseURI returns a lower cases converted URL path

func SetRoutes

func SetRoutes(router *mux.Router)

SetRoutes - configures all https routes

func StartServer

func StartServer()

StartServer : Starts Kubeam Server

Types

This section is empty.

Jump to

Keyboard shortcuts

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