cmd

package
v0.0.0-...-e825868 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GRPCCmd = &cobra.Command{
	Use:   "grpc",
	Short: "gRPC Server Command",
	RunE:  RunCommand(gRPC),
}

Functions

func RunCommand

func RunCommand(runner any) func(*cobra.Command, []string) error

Types

type CommonParams

type CommonParams struct {
	dig.In

	Cfg    *configs.Configs
	Logger logging.Logger
}

type GRPCParams

type GRPCParams struct {
	CommonParams

	Sig            chan os.Signal
	ProductsServer protos.ProductsServer
}

Jump to

Keyboard shortcuts

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