package
1.40.0
Repository: https://github.com/encoredev/encore.git
Documentation: pkg.go.dev

# Functions

DefaultClientHttpMethod works out the default HTTP method a client should use for a given RPC.
No description provided by the author
DescribeAuth generates a ParameterEncoding per field of the auth struct and returns it as the AuthEncoding.
DescribeRequest groups the provided httpMethods by default ParameterLocation and returns a RequestEncoding per ParameterLocation.
DescribeResponse generates a ParameterEncoding per field of the response struct and returns it as the ResponseEncoding.
DescribeRPC expresses how to encode an RPCs request and response objects for the wire.
No description provided by the author
GetConcreteStructType returns a construct Struct object for the given schema.
GetConcreteType returns a concrete type for the given schema.
IgnoreField returns true if the field name is "-" is any of the valid request or response tags.

# Constants

Parameter is placed in the body.
Parameter is placed in cookies.
Parameter is placed in the HTTP header.
Parameter is placed in the query string.
Parameter location is Undefined.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
AuthEncoding expresses how a response should be encoded on the wire.
No description provided by the author
ParameterEncoding expresses how a parameter should be encoded on the wire.
RequestEncoding expresses how a request should be encoded for an explicit set of HTTPMethods.
ResponseEncoding expresses how a response should be encoded on the wire.
RPCEncoding expresses how an RPC should be encoded on the wire for both the request and responses.
No description provided by the author

# Type aliases

ParameterLocation is the request/response home of the parameter.