Install
Updated at:2025-10-16
Runtime environment
- Operating environment GO SDK can run in go 1.3 or higher.
Install SDK
Directly download from github
Use go get to download from GitHub:
Plain Text
1go get github.com/baidubce/bce-sdk-go
SDK directory structure
Plain Text
1bce-sdk-go
2 ├── auth //BCE signature classes
3 ├── bce //BCE Public basic components
4 ├── http //BCE HTTP communication classes
5 ├── model // BCE common model classes
6 ├── services
7 │ └── blb //General-purpose BLB service-related classes
8 │ ├── blb.go //General-purpose BLB client entry class
9 │ ├── listener.go //Listener client entry class
10 │ └── backendserver.go //Real server client entry class
11 │ └── appblb //Application BLB service-related classes
12 │ ├── appblb.go //Application BLB client entry class
13 │ ├── listener.go //Listener client entry class
14 │ └── appservergroup.go //Server group client entry class
Uninstall SDK
To remove the SDK, simply delete the downloaded source code.
