Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPInterface ¶
type HTTPInterface struct { Scope Scope Resource Resource Method string URL string MethodName string // body RequestBody *RequestBody ResponseBody *ResponseBody // param PathParams []*PathParam QueryParams []*QueryParam // comments Comments string IsStreamClient bool IsStreamServer bool IsSpecified bool }
HTTPInterface parse grpc http options, go-zero api file
type QueryParam ¶
type RequestBody ¶
type ResourceHTTPInterfaceMap ¶
type ResourceHTTPInterfaceMap = map[Resource][]*HTTPInterface
type ResponseBody ¶
type ScopeResourceHTTPInterfaceMap ¶
type ScopeResourceHTTPInterfaceMap map[Scope]ResourceHTTPInterfaceMap
Click to show internal directories.
Click to hide internal directories.