[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1029721: ITP: golang-github-nrdcg-namesilo -- Go library for accessing the Namesilo API



Package: wnpp
Severity: wishlist
Owner: Anthony Fok <foka@debian.org>

* Package name    : golang-github-nrdcg-namesilo
  Version         : 0.2.1-1
  Upstream Author : The Natural Reserve of DNS Clients in Go.
* URL             : https://github.com/nrdcg/namesilo
* License         : MPL-2.0
  Programming Lang: Go
  Description     : Go library for accessing the Namesilo API

 namesilo is a Go client library for accessing the Namesilo API.
 .
 Example
 .
   package main
 .
   import (
   	"fmt"
   	"log"
 .
   	"github.com/nrdcg/namesilo"
   )
 .
   func main() {
   	transport, err := namesilo.NewTokenTransport("1234")
   	if err != nil {
   		log.Fatal(err)
   	}
 .
   	client := namesilo.NewClient(transport.Client())
 .
   	params := &namesilo.AddAccountFundsParams{
   		Amount:    "1000000",
   		PaymentID: "acbd",
   	}
 .
   	funds, err := client.AddAccountFunds(params)
   	if err != nil {
   		log.Fatal(err)
   	}
 .
   	fmt.Println(funds)
   }


Reason for packaging:

  golang-github-nrdcg-namesilo-dev is an unpackaged dependency
  of golang-github-xenolf-lego, a Let's Encrypt client written in Go.


Reply to: