Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RpcContext ¶
type RpcContext struct {
ProjectPath string
ProjectName stringx.String
ServiceName stringx.String
CurrentPath string
Module string
ProtoFileSrc string
ProtoSource string
TargetDir string
IsInGoEnv bool
console.Console
}
func MustCreateRpcContext ¶
func MustCreateRpcContext(protoSrc, targetDir, serviceName string, idea bool) *RpcContext
func MustCreateRpcContextFromCli ¶
func MustCreateRpcContextFromCli(ctx *cli.Context) *RpcContext
Click to show internal directories.
Click to hide internal directories.