bas

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinerExtendData

type MinerExtendData struct {
	MainAddr string `json:"main_addr"`
	HopAddr  string `json:"hop_addr"`
	Location string `json:"location"`
	PoolAddr string `json:"pool_addr,omitempty"`
	Version  string `json:"version,omitempty"`
}

func ToMinerExtData

func ToMinerExtData(s string) (*MinerExtendData, error)

func (*MinerExtendData) Marshal

func (med *MinerExtendData) Marshal() string

Jump to

Keyboard shortcuts

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