server

package
v0.0.0-...-cda7753 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthResponse

type AuthResponse struct {
	User  string `json:"user"`
	Email string `json:"email"`
}

type AuthSettings

type AuthSettings struct {
	FakeUser string
	Proxy    string
}

func (AuthSettings) Validate

func (s AuthSettings) Validate() error

type FormOption

type FormOption struct {
	Name     string
	Value    string
	Selected bool
}

type Server

type Server struct {
	*mux.Router
	// contains filtered or unexported fields
}

HTTP Handler for application-level logic.

func NewServer

func NewServer(envClient *env.Client, allowlist *ephconfig.Allowlist, gatewayHost string, authSettings AuthSettings) (*Server, error)

Jump to

Keyboard shortcuts

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