
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
github.com/parrotmac/go-namecheap-sdk
$ go get github.com/namecheap/go-namecheap-sdk
Generally callers would create a namecheap.Client
and make calls off of that.
import (
"github.com/namecheap/go-namecheap-sdk"
)
// Reads environment variables
client, err := namecheap.New()
// Directly build client
client, err := namecheap.NewClient(username, apiuser string, token string, ip string, useSandbox)
Calling namecheap.New()
reads the following environment variables:
NAMECHEAP_USERNAME
: Username: e.g. adamdecafNAMECHEAP_API_USER
: ApiUser: e.g. adamdecafNAMECHEAP_TOKEN
: From https://ap.www.namecheap.com/Profile/Tools/ApiAccessNAMECHEAP_IP
: Your IP (must be whitelisted)NAMECHEAP_USE_SANDBOX
: Use sandbox environmentWe appreciate feedback, issues and Pull Requests. You can build the project with make build
in the root and run tests with make test
.
If you're looking to run tests yourself you can configure the environmental variables and override the test records in client_test.go
. (To make live API calls) Otherwise only mockable tests will run.
The following are contributor oriented environmental variables:
DEBUG
: Log all responsesMOCKED
: Force disable testClient
FAQs
Unknown package
Did you know?
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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.