app

package
v0.0.0-...-cb1e3f4 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Config       config.Config
	Logger       logger.Logger
	DataManager  contract.DataManager
	CacheManager contract.CacheManager
	HTTPClient   *http.Client
}

func New

func New(env string) App

func (App) AtInterruption

func (App) AtInterruption(fn func())

func (App) EndAsErr

func (App) EndAsErr(err error, message string, infow io.Writer, errorw io.Writer)

func (App) Services

func (app App) Services() AppService

type AppService

type AppService struct {
	// contains filtered or unexported fields
}

func (AppService) NewChamp

func (svc AppService) NewChamp() contract.ChampService

func (AppService) NewScraper

func (svc AppService) NewScraper() contract.ScraperService

func (AppService) NewTeam

func (svc AppService) NewTeam() contract.TeamService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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