Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcApi ¶ added in v2.1.9
func GrpcApi(dir string, ic astutils.InterfaceCollector, http2grpc bool)
func RestApi ¶ added in v2.1.6
func RestApi(dir string, ic astutils.InterfaceCollector)
RestApi is checking whether parameter types in each of service interface methods valid or not Only support at most one golang non-built-in type as parameter in a service interface method because go-doudou cannot put more than one parameter into request body except v3.FileModel. If there are v3.FileModel parameters, go-doudou will assume you want a multipart/form-data api Support struct, map[string]ANY, built-in type and corresponding slice only Not support anonymous struct as parameter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.