status_endpoint

package
v1.0.3-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatusEndpoint

func NewStatusEndpoint(logger lager.Logger, auth Auth, broker Broker) *statusEndpoint

Types

type Auth

type Auth interface {
	LookupUser(req *http.Request) (model.User, error)
}

type Broker

type Broker interface {
	Find(user model.User) (model.Tunnel, bool)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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