Skip to content

go-mpos is an unofficial golang client for php-mpos

License

Notifications You must be signed in to change notification settings

thelolagemann/go-mpos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-mpos

GoDoc reference GitHub GitHub go.mod Go version

An unofficial PHP-MPOS API Client for go.

Getting started

Install

go get -u github.com/thelolagemann/go-mpos

Example usage

import "github.com/thelolagemann/go-mpos"

// create a new pool instance
pool := NewMiningPoolHub("API_KEY", "BASE_URL")

// get pool info
info, err := pool.PoolInfo()
if err != nil {
    // handle err
}
fmt.Printf("Pool is mining %v, with a %v%% fee\n", info.Coinname, info.Fees)

About

go-mpos is an unofficial golang client for php-mpos

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages