server

package
v0.0.0-...-a23bd61 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: BSD-2-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_PORT = 5636
View Source
const SESSION_HEADER = "x-evebox-session-id"

Variables

This section is empty.

Functions

func Redirector

func Redirector(handler http.Handler) http.Handler

func SessionHandler

func SessionHandler(handler http.Handler) http.Handler

func VersionHeaderWrapper

func VersionHeaderWrapper(handler http.Handler) http.Handler

Types

type RequestLogWrapper

type RequestLogWrapper struct {
}

func (RequestLogWrapper) Write

func (w RequestLogWrapper) Write(b []byte) (n int, err error)

type Server

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

func NewServer

func NewServer(appContext appcontext.AppContext) *Server

func (*Server) Start

func (s *Server) Start(host string, port uint16) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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