ports

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAgendaService

type IAgendaService interface {
	GetCrossfitEvents() (ICalendar, error)
	UpdateEvents(ICalendar, domain.MonthWodExercises) error
}

type IBook

type IBook interface {
	GetEventID() string
	GetDay() int
	GetStartDate() time.Time
	GetEndDate() time.Time
}

type ICalendar

type ICalendar interface {
	GetID() string
	GetDaysBooked() map[int]IBook
	GetMonth() time.Month
}

type IManager

type IManager interface {
	SetConfigWithScopes(scopes ...string) error
	GetClient(ctx context.Context) *http.Client
}

type ResourceManager

type ResourceManager interface {
	DownloadPicture() (string, error)
}

type SourceData

type SourceData interface {
	DownloadPicture() (string, error)
}

type SourceReader

type SourceReader interface {
	Read(ctx context.Context) (domain.RawProcessor, error)
	SetFile(path string)
}

Jump to

Keyboard shortcuts

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