fx

package
v0.0.0-...-4adff92 Latest Latest
Warning

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

Go to latest
Published: May 12, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module is an fx compatible module.

Functions

func NewService

func NewService(params ServiceParams) *web.Service

NewService returns a new service instance.

Types

type ServiceParams

type ServiceParams struct {
	dig.In

	Logger       log.Logger       `optional:"true"`
	ErrorHandler emperror.Handler `optional:"true"`
}

ServiceParams provides a set of dependencies for the service constructor.

Jump to

Keyboard shortcuts

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