schedule

package
v0.0.0-...-bc49666 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 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 ItemIdCreator

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

func (*ItemIdCreator) NextId

func (creator *ItemIdCreator) NextId() (id int)

type Logger

type Logger interface {
	Log(string)
	LogError(string)
}

type LoggerInterface

type LoggerInterface interface {
	Log(string)
	LogError(string)
}

type Schedule

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

func (*Schedule) GetEventsListCopy

func (schedule *Schedule) GetEventsListCopy() []event.Event

func (*Schedule) Id

func (schedule *Schedule) Id() int

func (*Schedule) TryAddEvent

func (schedule *Schedule) TryAddEvent(newEvent event.Event) bool

type ScheduleBuilder

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

func (*ScheduleBuilder) BuildSchedulesFromFiles

func (scheduleBuilder *ScheduleBuilder) BuildSchedulesFromFiles(filesDirectory string) list.List

func (*ScheduleBuilder) Init

func (scheduleBuilder *ScheduleBuilder) Init(logger logging.Logger)

type SchedulePrinter

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

func (*SchedulePrinter) Init

func (schedulePrinter *SchedulePrinter) Init(logger Logger)

func (*SchedulePrinter) PrintSchedule

func (schedulePrinter *SchedulePrinter) PrintSchedule(schedule Schedule)

Jump to

Keyboard shortcuts

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