下载
- Go
更新时间
获取 RTC 服务端 SDK 的下载链接、版本信息和示例项目。
通过 Go Module 集成 SDK
-
在终端中运行以下命令下载 SDK。
Bash git clone https://github.com/AgoraIO-Extensions/Agora-Golang-Server-SDK.git go_rtc_sdk -
进入 SDK 目录并执行编译。
Bash cd go_rtc_sdk make build -
在项目的
go.mod文件中添加以下配置。Bash replace github.com/AgoraIO-Extensions/Agora-Golang-Server-SDK/v2 => /path/to/go_rtc_sdk require github.com/AgoraIO-Extensions/Agora-Golang-Server-SDK/v2 version_number