ResourceWithEndpoints.AsHttp2Service
Method
func (ResourceWithEndpoints) AsHttp2Service() ResourceWithEndpointsSignature
method
AsHttp2Service builderConfigures a resource to mark all endpoints' transport as HTTP/2. This is useful for HTTP/2 services that need prior knowledge.
AsHttp2Service() ResourceWithEndpointsReturns
ResourceWithEndpoints The resource builder.
Returns a handle; failures surface later via Err().
Defined on
A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.
Applies to
This function applies to the following types: