internal

package
v0.0.0-...-9effeff Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const DATE_FORMAT = "02.01.‘06"
View Source
const MAX_IMAGE_SIZE = 500
View Source
const NOTIFY_DAYS_AHEAD = 15
View Source
const URL = "https://www.zollhaus-leer.com/veranstaltungen/"

Variables

This section is empty.

Functions

func CollectNewEvents

func CollectNewEvents() ([]collect.Event, error)

Types

type Notificator

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

func NewNotificator

func NewNotificator(senderJid string) (*Notificator, error)

func (Notificator) SendFreshEvents

func (n Notificator) SendFreshEvents(ctx context.Context, receiver string)

func (Notificator) SendMonthlyEvents

func (n Notificator) SendMonthlyEvents(ctx context.Context, receiver string)

type SyncCollector

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

func NewSyncEventCollector

func NewSyncEventCollector(openAiToken, spotifyId, sporitySecret string) *SyncCollector

func (*SyncCollector) Init

func (sc *SyncCollector) Init() error

func (*SyncCollector) Sync

func (sc *SyncCollector) Sync(event *db.Event) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳