Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { HTTPMethod string Path string RawQuery string Fragment string Proto string ProtoMajor int ProtoMinor int Host string RemoteAddr string RequestURI string ContentLength int64 Body []byte Headers map[string][]string PathParams map[string]string QueryParams map[string][]string Route string }
This is just a wrapper around the protobuf definition in proto/ingress.proto It makes them easier to use and avoids exposing the generated code to the rest of the runtime package.
func ReqFromHTTP ¶
type Response ¶
This is just a wrapper around the protobuf definition in proto/ingress.proto It makes them easier to use and avoids exposing the generated code to the rest of the runtime package.
func ResFromProto ¶
func ResFromProto(res *manifest.FoldHTTPResponse) *Response
Click to show internal directories.
Click to hide internal directories.