maintenance

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package maintenance provides utilities for maintenance mode handling

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaintenanceConfig

type MaintenanceConfig interface {
	MaintenanceMode() bool
}

type Responder

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

func New

func (*Responder) Handle

func (r *Responder) Handle(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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