# README
VEEN接口调用示例
前置准备
服务开通
请确保您已开通了边缘计算节点服务。您可前往火山引擎控制台,在左侧菜单中选择或在顶部搜索栏中搜索" 边缘计算节点"",进入服务控制台内完成开通流程。
获取安全凭证
Access Key(访问密钥)是访问火山引擎服务的安全凭证,包含Access Key ID(简称为AK)和Secret Access Key(简称为SK)两部分。您可登录火山引擎控制台 ,前往“访问控制”的“访问密钥 ”中创建及管理您的Access Key。更多信息可参考访问密钥帮助文档。
环境检查
Go版本需要不低于1.13.1。
运行方式
- 设置AK/SK
// init.go
ak = "Your AK"
sk = "Your SK"
- 编写测试用例: veen_test.go
package veen
import (
"testing"
)
func TestVeen(t *testing.T) {
// 调用创建边缘服务接口
CreateCloudServer(t)
}
- 执行测试用例
go test -v veen_test.go init.go create_cloudserver.go
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author