Documentation ¶
Index ¶
- type CircleSubscriptionHandler
- func (h CircleSubscriptionHandler) HandleCircleEventSubscription(ctx context.Context, e *event.Event) error
- func (h CircleSubscriptionHandler) HandleDiscordWebhookConfigured(ctx context.Context, circleId string) error
- func (h CircleSubscriptionHandler) HandleDiscordWebhookRevoked(ctx context.Context, circleId string) error
- type ContentSubscriptionHandler
- type GetDummyHandler
- type Service
- type SubscriptionHandlers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircleSubscriptionHandler ¶
type CircleSubscriptionHandler struct {
// contains filtered or unexported fields
}
func NewCircleSubscriptionHandler ¶
func NewCircleSubscriptionHandler(repo repository.Repository, cricleAPI circlePb.CircleAPIClient, ) CircleSubscriptionHandler
func (CircleSubscriptionHandler) HandleCircleEventSubscription ¶
func (CircleSubscriptionHandler) HandleDiscordWebhookConfigured ¶
func (h CircleSubscriptionHandler) HandleDiscordWebhookConfigured(ctx context.Context, circleId string) error
func (CircleSubscriptionHandler) HandleDiscordWebhookRevoked ¶
func (h CircleSubscriptionHandler) HandleDiscordWebhookRevoked(ctx context.Context, circleId string) error
type ContentSubscriptionHandler ¶
type ContentSubscriptionHandler struct {
// contains filtered or unexported fields
}
func NewContentSubscriptionHandler ¶
func NewContentSubscriptionHandler( repo repository.Repository, contentAPIClient contentPb.ContentAPIClient, profileAPIClient profilePb.ProfileAPIClient, completer url.Completer, ) ContentSubscriptionHandler
func (ContentSubscriptionHandler) HandleContentEventSubscription ¶
func (ContentSubscriptionHandler) HandleNewPostEvent ¶
func (h ContentSubscriptionHandler) HandleNewPostEvent(ctx context.Context, postID string) error
type GetDummyHandler ¶
type GetDummyHandler struct {
// contains filtered or unexported fields
}
func NewGetDummyHandler ¶
func NewGetDummyHandler(repo repository.Repository, publisher pub.EventBusPublisher) GetDummyHandler
type Service ¶
type Service struct { GetDummyHandler SubscriptionHandlers }
func New ¶
func New( repo repository.Repository, eventPublisher pub.EventBusPublisher, contentAPI contentPb.ContentAPIClient, circleAPI circlePb.CircleAPIClient, profileAPI profilePb.ProfileAPIClient, completer url.Completer, ) Service
type SubscriptionHandlers ¶
type SubscriptionHandlers struct { ContentSubscriptionHandler CircleSubscriptionHandler }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.