Documentation ¶
Index ¶
- Constants
- func NewCmdRootFile(meta *generator.Meta) (generator.Generator, error)
- func NewCmdRunClientFile(meta *generator.Meta) (generator.Generator, error)
- func NewCmdRunFile(meta *generator.Meta) (generator.Generator, error)
- func NewCmdRunGrpcServerFile(meta *generator.Meta) (generator.Generator, error)
- func NewCmdRunHttpServerFile(meta *generator.Meta) (generator.Generator, error)
- func NewCmdRunNormalHttpServerFile(meta *generator.Meta) (generator.Generator, error)
- type CmdRootFile
- type CmdRunClientFile
- type CmdRunDaprGrpcServerFile
- type CmdRunDaprHttpServerFile
- type CmdRunFile
- type CmdRunNormalHttpServerFile
Constants ¶
View Source
const ( RootFilename = "root.go" VarEnv = "env" VarConfigFile = "configFile" )
View Source
const ( RunFilename = "run.go" VarRunCmd = "runCmd" VarAddress = "cliAddress" )
View Source
const ( CmdRunClientFilename = "run_client.go" VarRunClientCmd = "runClientCmd" MethodRunClient = "runClient" )
View Source
const ( CmdRunDaprGrpcServerFilename = "run_dapr_grpc.go" VarRunDaprGrpcServerCmd = "runDaprGrpcServerCmd" MethodRunDaprGprcServer = "runDaprGrpcServer" )
View Source
const ( CmdRunGrpcHttpServerFilename = "run_dapr_http.go" VarRunGrpcHttpServerCmd = "runDaprHttpServerCmd" MethodRunGrpcHttpServer = "runDaprHttpServer" )
View Source
const ( CmdRunNormalHttpServerFilename = "run_http.go" VarRunNormalHttpServerCmd = "runHttpServerCmd" MethodRunNormalHttpServer = "runHttpServer" )
Variables ¶
This section is empty.
Functions ¶
func NewCmdRunClientFile ¶
func NewCmdRunGrpcServerFile ¶
func NewCmdRunHttpServerFile ¶
Types ¶
type CmdRootFile ¶
type CmdRootFile struct { *generator.BaseGenerator Meta *generator.Meta AppName string GlobalDir string }
func (CmdRootFile) GetGenCodeFuncs ¶
func (f CmdRootFile) GetGenCodeFuncs() []func()
type CmdRunClientFile ¶
type CmdRunClientFile struct { *generator.BaseGenerator Meta *generator.Meta AppName string SvcDir string GrpcDir string PbDir string GlobalDir string }
func (CmdRunClientFile) GetGenCodeFuncs ¶
func (f CmdRunClientFile) GetGenCodeFuncs() []func()
type CmdRunDaprGrpcServerFile ¶
type CmdRunDaprGrpcServerFile struct { *generator.BaseGenerator Meta *generator.Meta AppName string SvcDir string GlobalDir string }
func (CmdRunDaprGrpcServerFile) GetGenCodeFuncs ¶
func (f CmdRunDaprGrpcServerFile) GetGenCodeFuncs() []func()
type CmdRunDaprHttpServerFile ¶
type CmdRunDaprHttpServerFile struct { *generator.BaseGenerator Meta *generator.Meta AppName string SvcDir string HttpDir string PbDir string GlobalDir string }
func (CmdRunDaprHttpServerFile) GetGenCodeFuncs ¶
func (f CmdRunDaprHttpServerFile) GetGenCodeFuncs() []func()
type CmdRunFile ¶
type CmdRunFile struct { *generator.BaseGenerator Meta *generator.Meta AppName string GlobalDir string }
func (CmdRunFile) GetGenCodeFuncs ¶
func (f CmdRunFile) GetGenCodeFuncs() []func()
type CmdRunNormalHttpServerFile ¶
type CmdRunNormalHttpServerFile struct { *generator.BaseGenerator Meta *generator.Meta AppName string SvcDir string GlobalDir string }
func (CmdRunNormalHttpServerFile) GetGenCodeFuncs ¶
func (f CmdRunNormalHttpServerFile) GetGenCodeFuncs() []func()
Click to show internal directories.
Click to hide internal directories.