launcher

package
v0.0.0-...-98a7958 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package launcher provides a gRPC server to handle launcher requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	*grpc.Server
}

Handler extends the grpc.Server, providing Handler that allows us to serve both gRPC and http traffic.

func New

func New(
	tls kolide.OsqueryService,
	logger log.Logger,
	grpcServer *grpc.Server,
	healthCheckers map[string]health.Checker,
) *Handler

New creates a gRPC server to handle remote requests from launcher.

func (*Handler) Handler

func (hgprc *Handler) Handler(next http.Handler) http.Handler

Handler will route gRPC traffic to the gRPC server, other http traffic will be routed to normal http handler functions.

Jump to

Keyboard shortcuts

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