Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Client ¶ added in v1.229.0
Client for HTTP.
type Context ¶ added in v1.225.0
type Context interface { // Request of the context. Request() *http.Request // Response of the context. Response() http.ResponseWriter context.Context }
Context for HTTP.
type Handler ¶ added in v1.218.0
type Handler[Req any, Res any] interface { // Handle func for request/response. Handle(ctx Context, req *Req) (*Res, error) }
Handler for HTTP.
type Server ¶ added in v1.164.0
type Server struct {
// contains filtered or unexported fields
}
Server for HTTP.
Click to show internal directories.
Click to hide internal directories.