services

package
v0.0.0-...-6077ea7 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockService

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

func NewBlockService

func NewBlockService(dao blockDAO) *BlockService

NewBlockService creates a new BlockService with the given DAO.

func (*BlockService) Create

func (b *BlockService) Create(block *insightjson.BlockResult) error

func (*BlockService) Delete

func (b *BlockService) Delete(hash chainhash.Hash) error

func (*BlockService) Get

Jump to

Keyboard shortcuts

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