Handler

Interfacein fsthttpcompute-sdk-go v1.11.0View source
type Handler interface {
ServeHTTP(ctx context.Context, w ResponseWriter, r *Request)
}

Handler describes anything which can handle, or respond to, an HTTP request. It has the same semantics as net/http.Handler, but operates on the Request and ResponseWriter types defined in this package.

Methods