watchtokens

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenData

type TokenData struct {
	StreamTokens map[primitive.ObjectID]bson.Raw
	EventsToken  bson.Raw
}

func Load

func Load() *TokenData

func (*TokenData) Reset

func (tok *TokenData) Reset()

Reset is called after re-initialization of the Mongo database to remove prior watchlist tokens

func (*TokenData) Store

func (tok *TokenData) Store()

Jump to

Keyboard shortcuts

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