App

package
v0.0.0-...-72abcba Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 9 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 zap.SugaredLogger
	Broker broker.Broker
	Sms    sms.Service
}

func New

func New() *App

func (*App) PublishState

func (app *App) PublishState(notice models.SchedulerNotice, state models.SchedulerState, error error)

func (*App) SmsHandler

func (app *App) SmsHandler(msg broker.Message) (bool, error)

handle msgs, if a msg cant handle return true and error

Jump to

Keyboard shortcuts

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