Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/nrfox/namecheap-2

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/nrfox/namecheap-2

  • v0.0.0-20211012033915-2eea33f5bec6
  • Source
  • Go
  • Socket score

Version published
Created
Source

Namecheap for libdns

Go Reference

This package implements the libdns interfaces for namecheap, allowing you to manage DNS records.

Usage

See namecheap api docs for details on how to get setup with using the namecheap API.

Once you have an API Key and have whitelisted your client IP, you can begin using this library. There's a simple integration test under ./internal/testing that can be used for testing with this library and serves as an exmpale for usage. You can pass in your credentials through command line flags:

go test ./internal/testing/... -api-key <your_api_key> -username <your_username> -domain example.com.

By default the sandbox URL is used but you can also pass the production endpint with the -endpoint <url> flag.

Testing

Unit tests are run with go tooling and gofmt should be run prior to submitting patches.

go test -race ./internal/namecheap/...
go fmt ./...

FAQs

Package last updated on 12 Oct 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc