frontend

package
v0.0.0-...-c7483da Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CACHE_SIZE = 200

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiGrokServer

type MultiGrokServer struct {
	// contains filtered or unexported fields
}

func NewMultiGrokServer

func NewMultiGrokServer(backends map[string]backends.Backend, httpPort, httpsPort int) *MultiGrokServer

func (*MultiGrokServer) FetchHandler

func (m *MultiGrokServer) FetchHandler(w http.ResponseWriter, req *http.Request)

func (*MultiGrokServer) HelpHandler

func (m *MultiGrokServer) HelpHandler(w http.ResponseWriter, req *http.Request)

func (*MultiGrokServer) ListenAndServeAutoCert

func (m *MultiGrokServer) ListenAndServeAutoCert(domain, cache string) error

func (*MultiGrokServer) ListenAndServeHttp

func (m *MultiGrokServer) ListenAndServeHttp() error

func (*MultiGrokServer) ListenAndServeHttps

func (m *MultiGrokServer) ListenAndServeHttps(crt, key string) error

func (*MultiGrokServer) LoopBackHandler

func (m *MultiGrokServer) LoopBackHandler(w http.ResponseWriter, req *http.Request)

func (*MultiGrokServer) RawSearchHandler

func (m *MultiGrokServer) RawSearchHandler(w http.ResponseWriter, req *http.Request)

func (*MultiGrokServer) RootHandler

func (m *MultiGrokServer) RootHandler(w http.ResponseWriter, req *http.Request)

func (*MultiGrokServer) SearchHandler

func (m *MultiGrokServer) SearchHandler(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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