Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(config *Config, mealService dinny.MealService, memberService dinny.MemberService) (*service, error)
NewService returns a new instance of slack.Service.
Types ¶
type Service ¶
type Service interface { PostEatingTomorrow() error WeeklyUpdate() error ReactionAddedEvent(e *slackevents.ReactionAddedEvent) error ReactionRemovedEvent(e *slackevents.ReactionRemovedEvent) error }
Service represents the service to communicate with the Slack API.
Click to show internal directories.
Click to hide internal directories.