dto

package
v0.0.0-...-7623d86 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockTotal

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

func NewMinerBlockTotal

func NewMinerBlockTotal(db *gorm.DB) *BlockTotal

func (*BlockTotal) Create

func (dto *BlockTotal) Create(block *models.Miner) error

func (*BlockTotal) Delete

func (dto *BlockTotal) Delete(address string) error

func (*BlockTotal) List

func (dto *BlockTotal) List() ([]models.Miner, error)

Jump to

Keyboard shortcuts

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