Documentation ¶
Index ¶
- func GRPCHTTPMux(httphandler http.Handler, grpchandler http.Handler) http.Handler
- func NewDynamicTLSConfig(ctx context.Context, certfile, keyfile string) (*tls.Config, error)
- func ServeContext(ctx context.Context, listen string, handler http.Handler, cert, key string) error
- func ServeHTTPContext(ctx context.Context, listen string, handler http.Handler) error
- func TLSConfig(cafile, certfile, keyfile string) (*tls.Config, error)
- type DynamicCertificate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GRPCHTTPMux ¶
func NewDynamicTLSConfig ¶
func ServeContext ¶
func ServeHTTPContext ¶
Types ¶
type DynamicCertificate ¶
type DynamicCertificate struct {
// contains filtered or unexported fields
}
func (*DynamicCertificate) GetConfigForClient ¶
func (c *DynamicCertificate) GetConfigForClient(hello *tls.ClientHelloInfo) (*tls.Config, error)
Click to show internal directories.
Click to hide internal directories.