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 ¶
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
Click to show internal directories.
Click to hide internal directories.