Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
func ExtractHttpAnnotation ¶
func ExtractHttpAnnotation(s string) (Annotation, bool)
func ExtractRequestAnnotation ¶
func ExtractRequestAnnotation(s string) (Annotation, bool)
type ParseResult ¶
type ParseResult struct {
PackageName string
RequestType string
ApiEndpoint string
HttpMethod string
PathSubstitutions map[string]*ast.Field
QueryParams map[string]*ast.Field
PostFormParams map[string]*ast.Field
PostMultiPartParams map[string]*ast.Field
PostParams map[string]*ast.Field
HeaderParams map[string]*ast.Field
SyncResponse *ast.Field
AsyncResponse *ast.Field
CallbackType string
ResponseType string
}
Click to show internal directories.
Click to hide internal directories.