calendar

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Poller

type Poller interface {
	Start() error
}

Poller represents an entity capable of polling events from third party services.

func NewPoller

func NewPoller(scheduler scheduler.Scheduler, finishedEvents <-chan string, services ...Service) Poller

NewPoller returns an object that looks for and sends events to the scheduler.

type Service

type Service interface {
	GetEvents() ([]*event.Event, error)
}

Service represents a third party calendar service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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