cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context)

Types

type Config

type Config struct {
	Log       logger.LogConfig      `mapstructure:"log"`
	Service   server.Config         `mapstructure:"service"`
	NewRelic  metric.NewRelicConfig `mapstructure:"newrelic"`
	PGConnStr string                `mapstructure:"pg_conn_str" default:"postgres://postgres@localhost:5432/entropy?sslmode=disable"`
	Worker    workerConf            `mapstructure:"worker"`
}

Config contains the application configuration.

type RunEFunc

type RunEFunc func(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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