cmd

package
v0.0.0-...-e8ef226 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApiCmd = &cobra.Command{
	Use:   "api",
	Short: "API Server Command",
	RunE:  RunCommand(api),
}

Functions

func RunCommand

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

Types

type APIParams

type APIParams struct {
	CommonParams

	Sig      chan os.Signal
	Handlers handlers.HTTPHandlers
}

type CommonParams

type CommonParams struct {
	dig.In

	Cfg    *configs.Configs
	Logger logging.Logger
}

Jump to

Keyboard shortcuts

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