status

package
v1.0.0-rc-3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 3 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) Create added in v1.4.0

func (s *Repository) Create(entityID string, timestampOrBlockNumber int64) error

func (*Repository) Get added in v1.4.0

func (s *Repository) Get(entityID string) (int64, error)

func (*Repository) Update added in v1.4.0

func (s *Repository) Update(entityID string, timestampOrBlockNumber int64) error

Jump to

Keyboard shortcuts

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