Documentation ¶
Index ¶
- func Init()
- type EventBuilder
- func (b *EventBuilder) NewFeedEventFromEvent(ctx context.Context, event db.Event) (*db.FeedEvent, error)
- func (b *EventBuilder) NewFeedEventFromGroup(ctx context.Context, groupID string, action persist.Action) (*db.FeedEvent, error)
- func (b *EventBuilder) NewFeedEventFromTask(ctx context.Context, message task.FeedMessage) (*db.FeedEvent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventBuilder ¶
type EventBuilder struct {
// contains filtered or unexported fields
}
func NewEventBuilder ¶
func NewEventBuilder(queries *db.Queries) *EventBuilder
func (*EventBuilder) NewFeedEventFromEvent ¶
func (*EventBuilder) NewFeedEventFromGroup ¶
func (*EventBuilder) NewFeedEventFromTask ¶
func (b *EventBuilder) NewFeedEventFromTask(ctx context.Context, message task.FeedMessage) (*db.FeedEvent, error)
Click to show internal directories.
Click to hide internal directories.