datastore

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddress

func GetAddress(addr string) *model.Address

GetAddress makes creating,retrieving,updating the model type simplified.

func GetClaim

func GetClaim(addr string) *model.Claim

GetClaim makes creating,retrieving,updating the model type simplified.

func GetClaimTag added in v1.8.0

func GetClaimTag(tagID uint64, claimID string) *model.ClaimTag

GetClaimTag makes creating,retrieving,updating the model type simplified.

func GetInput

func GetInput(txHash string, isCoinBase bool, prevHash string, prevN uint) *model.Input

GetInput makes creating,retrieving,updating the model type simplified.

func GetOutput

func GetOutput(txHash string, vout uint) *model.Output

GetOutput makes creating,retrieving,updating the model type simplified.

func GetSupport

func GetSupport(txHash string, vout uint) *model.Support

GetSupport makes creating,retrieving,updating the model type simplified.

func GetTag added in v1.8.0

func GetTag(tag string) *model.Tag

GetTag makes creating,retrieving,updating the model type simplified.

func GetTxAddress

func GetTxAddress(txID uint64, addrID uint64) *model.TransactionAddress

GetTxAddress makes creating,retrieving,updating the model type simplified.

func PutAddress

func PutAddress(address *model.Address) error

PutAddress makes creating,retrieving,updating the model type simplified.

func PutClaim

func PutClaim(claim *model.Claim) error

PutClaim makes creating,retrieving,updating the model type simplified.

func PutClaimTag added in v1.8.0

func PutClaimTag(claimTag *model.ClaimTag) error

PutClaimTag makes creating,retrieving,updating the model type simplified.

func PutInput

func PutInput(input *model.Input) error

PutInput makes creating,retrieving,updating the model type simplified.

func PutOutput

func PutOutput(output *model.Output, columns boil.Columns) error

PutOutput makes creating,retrieving,updating the model type simplified.

func PutSupport

func PutSupport(support *model.Support) error

PutSupport makes creating,retrieving,updating the model type simplified.

func PutTag added in v1.8.0

func PutTag(tag *model.Tag) error

PutTag makes creating,retrieving,updating the model type simplified.

func PutTxAddress

func PutTxAddress(txAddress *model.TransactionAddress) error

PutTxAddress makes creating,retrieving,updating the model type simplified.

Types

This section is empty.

Jump to

Keyboard shortcuts

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