ical

package
v0.0.2-rc-ci Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(service Service, plausibleClient *plausible.Client) func(r chi.Router)

Types

type Service

type Service interface {
	Feed(ctx context.Context, opts eventsearch.Options) (string, error)
	GroupFeed(ctx context.Context, groupID string) (string, error)
	PlaceFeed(ctx context.Context, placeID string) (string, error)
	EventIcal(ctx context.Context, eventID string) (string, error)
}

type ServiceImpl

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

func NewService

func NewService(eventSearchService eventsearch.Service, baseURL string) *ServiceImpl

func (*ServiceImpl) EventIcal

func (s *ServiceImpl) EventIcal(ctx context.Context, eventID string) (string, error)

func (*ServiceImpl) Feed

func (s *ServiceImpl) Feed(ctx context.Context, opts eventsearch.Options) (string, error)

func (*ServiceImpl) GroupFeed

func (s *ServiceImpl) GroupFeed(ctx context.Context, groupID string) (string, error)

func (*ServiceImpl) PlaceFeed

func (s *ServiceImpl) PlaceFeed(ctx context.Context, placeID string) (string, error)

Jump to

Keyboard shortcuts

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