app

package
v0.0.0-...-f0cd508 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Module modules for web-application
	Module = module.New(newAppServe).
		Append(
			module.New(validator.New),
			module.New(configInit),
			module.New(jobs),
			module.New(wrks.New),
			workers.Module,
			web.ServersModule,

			control.Module,
			scanner.Module,
		)
)

Functions

This section is empty.

Types

type Config

type Config struct {
	dig.Out

	Control control.Config
	Metrics web.MetricConfig

	Scanner scanner.Config
	Workers workers.ConfigWorkers
}

type JobsParams

type JobsParams struct {
	dig.In

	Scanner *scanner.Scanner
}

type Params

type Params struct {
	dig.In

	Logger  *zap.SugaredLogger
	Server  web.Service
	Workers workers.Group
}

Params struct

Directories

Path Synopsis
web

Jump to

Keyboard shortcuts

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