server

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthZ

type HealthZ struct {
	Service        KeyManagementService
	HealthCheckURL *url.URL
	UnixSocketPath string
	RPCTimeout     time.Duration
}

func (*HealthZ) Serve

func (h *HealthZ) Serve() error

Serve creates the http handler for serving health requests

func (*HealthZ) ServeHTTP

func (h *HealthZ) ServeHTTP(w http.ResponseWriter, r *http.Request)

type KeyManagementService

func New

New creates an instance of the KMS Service Server.

Jump to

Keyboard shortcuts

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