web

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WebCmd = &cobra.Command{
	Use:   "web",
	Short: "Start backend web",
	PreRun: func(cmd *cobra.Command, args []string) {
		err := bootstrap.InitGinMode(cmd.Context())
		if err != nil {
			logrus.Fatalf("error init gin mode: %v", err)
		}
	},
	Run: Server,
}

Functions

func Server

func Server(cmd *cobra.Command, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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