Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Init() error GetLast(indexes []h3.H3Index) map[h3.H3Index]models.HexData GetWithTimestamp(indexes []h3.H3Index, ts int64) map[h3.H3Index]models.HexData IncInfected(index h3.H3Index, ts int64) error DecInfected(index h3.H3Index, ts int64) error IncHealthy(index h3.H3Index, ts int64) error DecHealthy(index h3.H3Index, ts int64) error }
func New ¶
func New(cfg *config.Config, provider *nats_provider.NATSProvider) Service
Click to show internal directories.
Click to hide internal directories.