hsts

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

NewParser creates a new HSTS annotation parser

Types

type Config

type Config struct {
	Enable     bool
	Subdomains bool
	MaxAge     string
	Preload    bool
}

Config contains per ingress resource configurations for HTTP Strict Transport Security

func (*Config) Equal

func (hsts1 *Config) Equal(hsts2 *Config) bool

Equal tests for equality between two HSTS types

Jump to

Keyboard shortcuts

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