server

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Platform                  string
	HTTPAddr, HTTPSAddr       string
	BrokerAddr, HealthSrvAddr string
	EventTimeout              time.Duration
	MaxEventSize              int64
)

Functions

This section is empty.

Types

type Server

type Server struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(comp *core.Component, pod string, tokenPath string) *Server

func (*Server) Run

func (srv *Server) Run() error

func (*Server) ServeHTTP

func (srv *Server) ServeHTTP(resWriter http.ResponseWriter, httpReq *http.Request)

IDEA have `kubefox-set-cookie` which takes dynamic context and puts it into cookie so do not have to set query params?

func (*Server) Shutdown

func (srv *Server) Shutdown()

Jump to

Keyboard shortcuts

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