utils

package
v0.0.0-...-9588916 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2019 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoubleHash256

func DoubleHash256(rawBytes []byte) string

func GetStrOrDeault

func GetStrOrDeault(val interface{}, d string) string

func IsDigital

func IsDigital(str string) bool

func Max

func Max(a int, b int) int

func Min

func Min(a int, b int) int

func NewBlockHashNotMatchErr

func NewBlockHashNotMatchErr(msg string) error

func ReserveBytes

func ReserveBytes(arr []byte)

Types

type BlockHashNotMatchErr

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

func (*BlockHashNotMatchErr) Error

func (b *BlockHashNotMatchErr) Error() string

Jump to

Keyboard shortcuts

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