cron

package
v0.0.0-...-53f0542 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: ISC Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Time        time.Provider
	UUID        uuid.Provider
	KMutext     kmutex.Provider
	Scheduler   *gocron.Scheduler
	AppServices app.Services
}

Server Represents the http server running for this service

func NewServer

func NewServer(appConf *config.Conf, uuidProvider uuid.Provider, timeProvider time.Provider, kmutexProvider kmutex.Provider, appServices app.Services) *Server

NewServer HTTP Server constructor

func (*Server) ListenAndServe

func (cronServer *Server) ListenAndServe()

ListenAndServe Starts listening for requests

func (*Server) RunAnalyzer

func (cronServer *Server) RunAnalyzer() error

Jump to

Keyboard shortcuts

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