go-edgegrid:Golang Akamai API客户端和Akamai OPEN EdgeGrid身份验证方案身份验证处理程序

时间:2024-06-04 17:27:58
【文件属性】:

文件名称:go-edgegrid:Golang Akamai API客户端和Akamai OPEN EdgeGrid身份验证方案身份验证处理程序

文件大小:31KB

文件格式:ZIP

更新时间:2024-06-04 17:27:58

Go

边缘网格 Golang API客户端。 。 edgegrid为Golang net/http包实现了方案,并且还提供了用于与Akamai 和 API进行交互的便捷API。 安装 假设Golang已正确安装: go get github.com/comcast/go-edgegrid/edgegrid 基本用法 基本用法假定您已建立以下环境变量。 AKAMAI_EDGEGRID_HOST= AKAMAI_EDGEGRID_CLIENT_TOKEN= AKAMAI_EDGEGRID_ACCESS_TOKEN= AKAMAI_EDGEGRID_CLIENT_SECRET= 记录请求/响应详细信息: AK_LOG=true GTM客户端 import "github.com/comcast/go-edgegrid/edgegrid" client := edgegrid . Ne


【文件预览】:
go-edgegrid-master
----Makefile(974B)
----edgegrid()
--------gtm_resources.go(9KB)
--------gtm_client_api.go(7KB)
--------papi_client.go(510B)
--------auth.go(4KB)
--------gtm_client_api_test.go(11KB)
--------util_test.go(2KB)
--------gtm_endpoints.go(1KB)
--------auth_test.go(6KB)
--------util.go(3KB)
--------gtm_client.go(509B)
--------gtm_endpoints_test.go(2KB)
--------papi_endpoints_test.go(4KB)
--------papi_client_api_test.go(13KB)
--------papi_endpoints.go(4KB)
--------client.go(2KB)
--------gtm_json_fixtures_test.go(55KB)
--------papi_resources.go(7KB)
--------papi_json_fixtures_test.go(3KB)
--------client_test.go(772B)
--------papi_client_api.go(7KB)
--------reader.go(118B)
----.travis.yml(45B)
----CONTRIBUTING.md(451B)
----LICENSE(581B)
----README.md(5KB)
----NOTICE(158B)

网友评论