daemon

package
v0.0.0-...-a78adbb Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cmd = &cobra.Command{
		Use:           "daemon",
		Short:         "GraphQL API daemon",
		SilenceUsage:  true,
		SilenceErrors: true,
		Run: func(_ *cobra.Command, _ []string) {
			a, err := app.New()
			if err != nil {
				zap.L().Fatal(err.Error())
			}

			err = a.Init()
			if err != nil {
				zap.L().Fatal(err.Error())
			}

			err = a.Run()
			if err != nil {
				zap.L().Fatal(err.Error())
			}
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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