router

package
v0.0.0-...-1595bd0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(clusterName string, allowedAdGroups []string, authProvider auth.AuthProvider, controllers ...models.Controller) http.Handler

NewServer Constructor function

func NewZerologHandler

func NewZerologHandler(log zerolog.Logger) negroni.HandlerFunc

NewZerologHandler injects and logs requests.

Types

type Server

type Server struct {
	Middleware *negroni.Negroni
	// contains filtered or unexported fields
}

Server Holds instance variables

Jump to

Keyboard shortcuts

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