genzrpcclient

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Style  string
	Scope  string
	Output string
)

Functions

func Generate

func Generate(_ *cobra.Command, _ []string) error

Types

type DirContext

type DirContext struct {
	ImportBase      string
	PbPackage       string
	OptionGoPackage string
}

func (DirContext) GetCall

func (d DirContext) GetCall() generator.Dir

func (DirContext) GetConfig

func (d DirContext) GetConfig() generator.Dir

func (DirContext) GetEtc

func (d DirContext) GetEtc() generator.Dir

func (DirContext) GetInternal

func (d DirContext) GetInternal() generator.Dir

func (DirContext) GetLogic

func (d DirContext) GetLogic() generator.Dir

func (DirContext) GetMain

func (d DirContext) GetMain() generator.Dir

func (DirContext) GetPb

func (d DirContext) GetPb() generator.Dir

func (DirContext) GetProtoGo

func (d DirContext) GetProtoGo() generator.Dir

func (DirContext) GetServer

func (d DirContext) GetServer() generator.Dir

func (DirContext) GetServiceName

func (d DirContext) GetServiceName() stringx.String

func (DirContext) GetSvc

func (d DirContext) GetSvc() generator.Dir

func (DirContext) SetPbDir

func (d DirContext) SetPbDir(pbDir, grpcDir string)

Jump to

Keyboard shortcuts

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