Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContentPublished ¶
type ContentPublished struct {
URI string `avro:"uri"`
DataType string `avro:"data_type"`
CollectionID string `avro:"collection_id"`
JobID string `avro:"job_id"`
SearchIndex string `avro:"search_index"`
TraceID string `avro:"trace_id"`
}
ContentPublished provides an avro structure for a Content Published event
type ContentPublishedHandler ¶
type ContentPublishedHandler struct {
// contains filtered or unexported fields
}
func NewContentPublishedHandler ¶
func NewContentPublishedHandler(store sitemap.FileStore, client clients.ZebedeeClient, cfg *config.Config, fetcher sitemap.Fetcher) *ContentPublishedHandler
func (*ContentPublishedHandler) Handle ¶
func (h *ContentPublishedHandler) Handle(ctx context.Context, cfg *config.Config, event *ContentPublished) (err error)
Handle takes a single event.
Click to show internal directories.
Click to hide internal directories.