百度智能云

All Product Document

          Baremetal Compute Sevice

          SDK Installation Toolkit

          Running Environment

          GO SDK can run in environment of go1.3 and above.

          Install SDK

          Download from github directly

          Download from github with “go get” tool:

          go get github.com/baidubce/bce-sdk-go 

          SDK's directory structure

          bce-sdk-go
          |--auth                    // BCE signature and permission authentication 
          |--bce                     // BCE common base component 
          |--http                    // http communication module of BCE 
          |--services                // BCE related service directory 
          |   |--bbc                  // BBC Service Directory 
          |   |   |--client.go         // BBC client entrance 
          |   |   |--client_test.go    // BBC client test 
          |   |   |--deploySet.go      // BBC deployment set related interfaces 
          |   |   |--flavor.go         // BBC package related interface 
          |   |   |--image.go          // BBC image related interface 
          |   |   |--instance.go       // BBC instance related interface 
          |   |   |--operationLog.go   // BBC operation log related interface 
          |   |   |--tag.go            // BBC tag related interface 
          |   |   |--model.go          // Data model of BBC related API 
          |   |   |--util.go           // Tool used for realization of BBC related API 
          |   |--sts                  // STS service directory 
          |--util                    // BCE common tool realization 

          Uninstall SDK

          When it is expected to uninstall SDK, it is only needed to delete the source code downloaded.

          Previous
          Overview
          Next
          Initialization