pattern

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	M_Pending  = "pending"
	M_Positive = "positive"
	M_Frozen   = "frozen"
	M_Exit     = "exit"
)

Variables

This section is empty.

Functions

func GetMinerAcc

func GetMinerAcc() []byte

func GetMinerIncomeAddr

func GetMinerIncomeAddr() string

func GetMinerRecentSche

func GetMinerRecentSche() string

func GetMinerSignAddr

func GetMinerSignAddr() string

func GetMinerState

func GetMinerState() string

func SetMinerAcc

func SetMinerAcc(acc []byte)

func SetMinerIncomeAddr

func SetMinerIncomeAddr(addr string)

func SetMinerRecentSche

func SetMinerRecentSche(sche string)

func SetMinerSignAddr

func SetMinerSignAddr(addr string)

func SetMinerState

func SetMinerState(st string)

Types

type Miner

type Miner struct {
	Acc        []byte
	SignAddr   string
	IncomeAddr string
	State      string
	RecentSche string
	// contains filtered or unexported fields
}

func GetMiner

func GetMiner() *Miner

Jump to

Keyboard shortcuts

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