status

package
v0.0.1-alpha-8 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Transfer = "TRANSFER"
	Message  = "TOPIC_MESSAGE"
)

Hedera Watcher SDK message types

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func NewRepositoryForStatus

func NewRepositoryForStatus(dbClient *gorm.DB, statusType string) *Repository

func (Repository) CreateTimestamp

func (s Repository) CreateTimestamp(entityID string, timestamp int64) error

func (Repository) GetLastFetchedTimestamp

func (s Repository) GetLastFetchedTimestamp(entityID string) (int64, error)

func (Repository) UpdateLastFetchedTimestamp

func (s Repository) UpdateLastFetchedTimestamp(entityID string, timestamp int64) error

Jump to

Keyboard shortcuts

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