clouddatastore

package
v0.0.0-...-1196ed7 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKey

func GetKey(in Keyer) *datastore.Key

func QueryBeginsWith

func QueryBeginsWith(query *datastore.Query, field, beginsWith string) *datastore.Query

Types

type DBCurrentBlock

type DBCurrentBlock struct {
	Process         string
	ContractAddress string
	BlockNumber     int `datastore:",noindex"`
}

func (*DBCurrentBlock) Entity

func (e *DBCurrentBlock) Entity() string

func (*DBCurrentBlock) Key

func (e *DBCurrentBlock) Key() string

type Keyer

type Keyer interface {
	Entity() string
	Key() string
}

Jump to

Keyboard shortcuts

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