【文件属性】:
文件名称:go-dreamhost:转到用于访问Dreamhost API的库
文件大小:5KB
文件格式:ZIP
更新时间:2021-04-12 20:03:59
go dreamhost-api Go
去做梦的主人
go-dreamhost是用于访问的Go库。
用法
import "github.com/sgerrand/go-dreamhost"
构造一个新的Dreamhost客户端。 例如:
client := dreamhost . NewClient ( "your-api-key" , nil )
配置
请按照以下步骤生成新的API密钥:
访问。
输入对此键的注释。 我建议添加一个,以便以后识别。
选择此API密钥应有权访问的功能。 我建议将这些限制为您要控制的对象。
单击“立即生成新的API密钥!”
验证
go-dreamhost客户端将通过在创建新客户端时提供的API密钥进行传递。
执照
该库是根据分发的。
【文件预览】:
go-dreamhost-master
----.github()
--------workflows()
----LICENSE(1KB)
----go.sum(346B)
----README.md(1KB)
----dreamhost()
--------dreamhost.go(3KB)
--------dreamhost_test.go(2KB)
----go.mod(134B)