Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { Name string InputBody analysis.Type // Return may be nil Return analysis.Type InputForm Form InputQueryParams []TypedParam IsReturnBlob bool // Return is a []byte, interpreted as a file // contains filtered or unexported fields }
Contract describes the expected and returned types for one endpoint.
type Form ¶
func (Form) AsTypedValues ¶
func (f Form) AsTypedValues() []TypedParam
AsTypedValues returns the name of the form parameters with type String
type TypedParam ¶
Click to show internal directories.
Click to hide internal directories.