indexer

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package indexer periodically reads from the db and stores data in the db

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainIndexer

type DomainIndexer interface {
	SyncMessages(ctx context.Context) error
}

DomainIndexer indexes a domain.

func NewDomainIndexer

func NewDomainIndexer(db db.SynapseDB, domain domains.DomainClient, interval time.Duration) DomainIndexer

NewDomainIndexer creates a new domain indexer. nolint: golint,revive

Jump to

Keyboard shortcuts

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