bundle

package
v0.0.0-...-851e4b7 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2017 License: BSD-2-Clause Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package bundle implements the HTTP handler for the bundle command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(caBundleFile, intBundleFile string) (http.Handler, error)

NewHandler creates a new bundler that uses the root bundle and intermediate bundle in the trust chain.

Types

type Handler

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

Handler accepts requests for either remote or uploaded certificates to be bundled, and returns a certificate bundle (or error).

func (*Handler) Handle

func (h *Handler) Handle(w http.ResponseWriter, r *http.Request) error

Handle implements an http.Handler interface for the bundle handler.

Jump to

Keyboard shortcuts

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