You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/nodicloud/go-porkbun

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/nodicloud/go-porkbun

v0.0.0-20250314221436-c5c9ea11bd41
Source
Go
Version published
Created
Source

Go library for accessing the Porkbun API

Build Status PkgGoDev Go Report Card

An Porkbun API client written in Go.

porkbun is a Go client library for accessing the Porkbun API.

Examples

package main

import (
 "context"
 "fmt"

 "github.com/nodicloud/go-porkbun"
)

func main() {
 client := porkbun.New("secret", "key")

 ctx := context.Background()

 yourIP, err := client.Ping(ctx)
 if err != nil {
  panic(err)
 }

 fmt.Println(yourIP)
}

API Documentation

  • API docs

FAQs

Package last updated on 14 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts