Documentation ¶
Index ¶
Constants ¶
View Source
const ( RpcTypeKindNamedStruct = "namedStruct" RpcTypeKindString = "string" RpcTypeKindInt = "int" RpcTypeKindBool = "bool" RpcTypeKindSlice = "slice" )
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(req GenerateReq)
Types ¶
type GenerateReq ¶
type RpcApi ¶
type RpcApi struct { Pos int Name string InputParameterList []RpcParameter OutputParameterList []RpcParameter }
type RpcParameter ¶
type RpcService ¶
type RpcService struct {
List []RpcApi
}
Click to show internal directories.
Click to hide internal directories.