Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProtoHTTP1 = "http/1.1" ProtoHTTP2 = "h2" )
HTTP protocols
Variables ¶
This section is empty.
Functions ¶
func AppendProto ¶
AppendProto returns a copy of protos with the proto appended or protos unmodified if it already contains the proto.
func ValidateCipherSuites ¶
ValidateCipherSuites returns an error if the config's cipher suites are not suitable for HTTP/2.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.