cmd

package
v0.0.0-...-075f0a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 NewCmdRootFile

func NewCmdRootFile(meta *generator.Meta) (generator.Generator, error)

func NewCmdRunClientFile

func NewCmdRunClientFile(meta *generator.Meta) (generator.Generator, error)

func NewCmdRunFile

func NewCmdRunFile(meta *generator.Meta) (generator.Generator, error)

func NewCmdRunGrpcServerFile

func NewCmdRunGrpcServerFile(meta *generator.Meta) (generator.Generator, error)

func NewCmdRunHttpServerFile

func NewCmdRunHttpServerFile(meta *generator.Meta) (generator.Generator, error)

func NewCmdRunNormalHttpServerFile

func NewCmdRunNormalHttpServerFile(meta *generator.Meta) (generator.Generator, error)

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL