http2

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: MIT, BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtoHTTP1 = "http/1.1"
	ProtoHTTP2 = "h2"
)

HTTP protocols

Variables

This section is empty.

Functions

func AppendProto

func AppendProto(protos []string, proto string) []string

AppendProto returns a copy of protos with the proto appended or protos unmodified if it already contains the proto.

func ValidateCipherSuites

func ValidateCipherSuites(config *tls.Config) error

ValidateCipherSuites returns an error if the config's cipher suites are not suitable for HTTP/2.

Types

This section is empty.

Jump to

Keyboard shortcuts

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