Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecuteProtocUsecase ¶
type ExecuteProtocUsecase interface { Perform() error InstallPlugins() error ExecuteProtoc() error }
ExecuteProtocUsecase is an useecase interface for executing protoc module.
func NewExecuteProtocUsecase ¶
func NewExecuteProtocUsecase(cfg *protoc.Config, fs afero.Fs, ui module.UI, commandFactory module.CommandFactory, rootDir string) ExecuteProtocUsecase
NewExecuteProtocUsecase returns an new ExecuteProtocUsecase implementation instance.
type GenerateServiceUsecase ¶
GenerateServiceUsecase is an useecase interface for geenrating .proto file and its implementation skeleton.
func NewGenerateServiceUsecase ¶
func NewGenerateServiceUsecase(ui module.UI, generator module.Generator, rootDir string) GenerateServiceUsecase
NewGenerateServiceUsecase returns an new GenerateServiceUsecase implementation instance.
type InitializeProjectUsecase ¶
type InitializeProjectUsecase interface { Perform(rootDir string, depSkipped, headUsed bool) error GenerateProject(rootDir string, headUsed bool) error InstallDeps(rootDir string) error }
InitializeProjectUsecase is an interface to create a new grapi project.
func NewInitializeProjectUsecase ¶
func NewInitializeProjectUsecase(ui module.UI, generator module.Generator, commandFactory module.CommandFactory, version string) InitializeProjectUsecase
NewInitializeProjectUsecase creates a new InitializeProjectUsecase instance.
Click to show internal directories.
Click to hide internal directories.