service

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: MIT Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationQueue

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

func NewNotificationQueue

func NewNotificationQueue() *NotificationQueue

func (*NotificationQueue) Notifications

func (queue *NotificationQueue) Notifications(name string) []*notification.Notification

func (*NotificationQueue) Notify

func (queue *NotificationQueue) Notify(notification *notification.Notification)

type Service

type Service interface {
	Start(*NotificationQueue, log.Logger) error
	Configure(*config.GAkisitorConfig) error
	Process() error
	Stop() error

	Name() string
	State() byte
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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