Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttp2Server ¶
func NewHttp2Server(bindAddr string, preMasterSecretLogPath string, handler http.Handler) (*http.Server, error)
NewHttp2Server returns a server instance with HTTP/2.0 and HTTP/2.0 cleartext support If this function cannot open or create the secret log file, **it still returns server instance** but without the secret log and error indication
Types ¶
Click to show internal directories.
Click to hide internal directories.