OBS GO SDK 0929 Version

Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: weihongmin1 <weihongmin1@huawei.com>
Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
This commit is contained in:
2025-10-28 09:53:20 +00:00
committed by zuul
parent 793d68b1b5
commit 4d53c82e02
5 changed files with 699 additions and 737 deletions

View File

@ -61,7 +61,7 @@
"node_id":"obs_23_0001.xml", "node_id":"obs_23_0001.xml",
"product_code":"obs", "product_code":"obs",
"code":"4", "code":"4",
"des":"This topic provides the download links and installation methods of OBS SDK for Go.Latest version of OBS SDK for GoOBS SDK for Go can be installed in the following ways:Th", "des":"This topic provides the download links and installation methods of OBS SDK for Go.Latest version of OBS SDK for GoThis procedure uses the latest version as an example:Dow",
"doc_type":"sdk-go-devg", "doc_type":"sdk-go-devg",
"kw":"Downloading and Installing an SDK,Go SDK Developer Guide", "kw":"Downloading and Installing an SDK,Go SDK Developer Guide",
"search_title":"", "search_title":"",

View File

@ -27,7 +27,7 @@
"code":"3" "code":"3"
}, },
{ {
"desc":"This topic provides the download links and installation methods of OBS SDK for Go.Latest version of OBS SDK for GoOBS SDK for Go can be installed in the following ways:Th", "desc":"This topic provides the download links and installation methods of OBS SDK for Go.Latest version of OBS SDK for GoThis procedure uses the latest version as an example:Dow",
"product_code":"obs", "product_code":"obs",
"title":"Downloading and Installing an SDK", "title":"Downloading and Installing an SDK",
"uri":"obs_23_0001.html", "uri":"obs_23_0001.html",

View File

@ -4,8 +4,6 @@
<div id="body0000001554976826"><p id="obs_23_0001__p20811520185014">This topic provides the download links and installation methods of OBS SDK for Go.</p> <div id="body0000001554976826"><p id="obs_23_0001__p20811520185014">This topic provides the download links and installation methods of OBS SDK for Go.</p>
<div class="section" id="obs_23_0001__section7323173822517"><a name="obs_23_0001__section7323173822517"></a><a name="section7323173822517"></a><h4 class="sectiontitle">Downloading OBS SDK for Go</h4><ul id="obs_23_0001__ul17831193115487"><li id="obs_23_0001__li62310820416"><a href="https://github.com/opentelekomcloud-community/obs-go-sdk" target="_blank" rel="noopener noreferrer">Latest version of OBS SDK for Go</a></li></ul> <div class="section" id="obs_23_0001__section7323173822517"><a name="obs_23_0001__section7323173822517"></a><a name="section7323173822517"></a><h4 class="sectiontitle">Downloading OBS SDK for Go</h4><ul id="obs_23_0001__ul17831193115487"><li id="obs_23_0001__li62310820416"><a href="https://github.com/opentelekomcloud-community/obs-go-sdk" target="_blank" rel="noopener noreferrer">Latest version of OBS SDK for Go</a></li></ul>
</div> </div>
<div class="section" id="obs_23_0001__section31091719144715"><h4 class="sectiontitle">Installing OBS SDK for Go</h4><p id="obs_23_0001__p1083162214718">OBS SDK for Go can be installed in the following ways:</p>
</div>
<div class="section" id="obs_23_0001__section48385531554"><h4 class="sectiontitle">Downloading a Go SDK and Using GoLand to Compile It</h4><p id="obs_23_0001__p8060118">This procedure uses the latest version as an example:</p> <div class="section" id="obs_23_0001__section48385531554"><h4 class="sectiontitle">Downloading a Go SDK and Using GoLand to Compile It</h4><p id="obs_23_0001__p8060118">This procedure uses the latest version as an example:</p>
<ol id="obs_23_0001__ol176847266545"><li id="obs_23_0001__li17684026185417">Download <a href="#obs_23_0001__section7323173822517">the SDK package</a>.</li><li id="obs_23_0001__li468432616548">Decompress the package to obtain the following files: <strong id="obs_23_0001__b567915962912">src</strong> (the SDK source code and sample code) and <strong id="obs_23_0001__b768111592296">README.MD</strong> (the feature description file of SDK versions).</li><li id="obs_23_0001__li1868432685415">Use GoLand to create a Go project and copy the <strong id="obs_23_0001__b4353320103210">obs</strong>, <strong id="obs_23_0001__b135382019323">examples</strong>, and <strong id="obs_23_0001__b935412204320">main</strong> folders to the <strong id="obs_23_0001__b53553203326">src</strong> folder of your Go project.</li><li id="obs_23_0001__li18684826135419">Right-click the Go project and choose <strong id="obs_23_0001__b3116475340">Build Project</strong> from the drop-down list, and wait until the building is complete.<div class="note" id="obs_23_0001__note158112120236"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_23_0001__p1791916186233">After the building is complete, you can get a directory structure similar to the following:</p> <ol id="obs_23_0001__ol176847266545"><li id="obs_23_0001__li17684026185417">Download <a href="#obs_23_0001__section7323173822517">the SDK package</a>.</li><li id="obs_23_0001__li468432616548">Decompress the package to obtain the following files: <strong id="obs_23_0001__b567915962912">src</strong> (the SDK source code and sample code) and <strong id="obs_23_0001__b768111592296">README.MD</strong> (the feature description file of SDK versions).</li><li id="obs_23_0001__li1868432685415">Use GoLand to create a Go project and copy the <strong id="obs_23_0001__b4353320103210">obs</strong>, <strong id="obs_23_0001__b135382019323">examples</strong>, and <strong id="obs_23_0001__b935412204320">main</strong> folders to the <strong id="obs_23_0001__b53553203326">src</strong> folder of your Go project.</li><li id="obs_23_0001__li18684826135419">Right-click the Go project and choose <strong id="obs_23_0001__b3116475340">Build Project</strong> from the drop-down list, and wait until the building is complete.<div class="note" id="obs_23_0001__note158112120236"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_23_0001__p1791916186233">After the building is complete, you can get a directory structure similar to the following:</p>
<p id="obs_23_0001__p7879023122220">├── bin</p> <p id="obs_23_0001__p7879023122220">├── bin</p>

File diff suppressed because it is too large Load Diff

View File

@ -154,7 +154,7 @@
</tr> </tr>
<tr id="obs_33_0102__row12778133010258"><td class="cellrowborder" valign="top" width="34.343434343434346%" headers="mcps1.3.4.3.1.4.1.1 "><p id="obs_33_0102__p777833018256">WithMaxRedirectCount(maxRedirectCount int)</p> <tr id="obs_33_0102__row12778133010258"><td class="cellrowborder" valign="top" width="34.343434343434346%" headers="mcps1.3.4.3.1.4.1.1 "><p id="obs_33_0102__p777833018256">WithMaxRedirectCount(maxRedirectCount int)</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40.40404040404041%" headers="mcps1.3.4.3.1.4.1.2 "><p id="obs_33_0102__p5779113032517">Specifies the maximum number of times that the HTTP/HTTPS request is redirected. The default value is <strong id="obs_33_0102__b310420458">3</strong>.</p> <td class="cellrowborder" valign="top" width="40.40404040404041%" headers="mcps1.3.4.3.1.4.1.2 "><p id="obs_33_0102__p5779113032517">Specifies the maximum number of times that the HTTP/HTTPS request is redirected. The default value is <strong id="obs_33_0102__b152042288">3</strong>.</p>
</td> </td>
<td class="cellrowborder" valign="top" width="25.252525252525253%" headers="mcps1.3.4.3.1.4.1.3 "><p id="obs_33_0102__p13779630112512">[1, 5]</p> <td class="cellrowborder" valign="top" width="25.252525252525253%" headers="mcps1.3.4.3.1.4.1.3 "><p id="obs_33_0102__p13779630112512">[1, 5]</p>
</td> </td>