interfaces

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MiningMessageGeneric

type MiningMessageGeneric interface {
	Serialize() []byte
}

type MiningMessageWithID

type MiningMessageWithID interface {
	MiningMessageGeneric
	GetID() int
	SetID(int)
}

type StratumReadWriteCloser

type StratumReadWriteCloser interface {
	io.Closer
	StratumReadWriter
}

type StratumReadWriter

type StratumReadWriter interface {
	Read(ctx context.Context) (MiningMessageGeneric, error)
	Write(ctx context.Context, msg MiningMessageGeneric) error
}

Jump to

Keyboard shortcuts

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