package
0.4.0
Repository: https://github.com/cloudwego/dynamicgo.git
Documentation: pkg.go.dev

# Functions

AnnoToMethod maps annotation to corresponding http method.
NewHTTPRequest creates a new HTTPRequest.
NewHTTPRequestFromStdReq creates a new HTTPRequest from http.Request.
NewHTTPRequestFromUrl creates a new HTTPRequest from url, body and url-path param.
NewHTTPResponse creates a new HTTPResponse.

# Constants

HeaderContentType is the key of Content-Type header.
HeaderSetCookie is the key of Set-Cookie header.

# Variables

DefaultJsonPairSize is the default size of json.Pair slice.

# Structs

Endpoint a http endpoint.
Request is a implementation of RequestGetter.
HTTPResponse is an implementation of ResponseSetter.
Param in url path e.g.
Http url-path params.

# Interfaces

RequestGetter is a interface for getting request parameters.
ResponseSetter is a interface for setting response parameters.