Overview of Qiniu Go SDK functional modules
masterThe SDK is organized into several functional modules covering Object Storage, Cloud Services, and Infrastructure:
Object Storage (v2 API Recommended)
storagev2: Core v2 API with typed requests/responses, auto-region detection, and connection pooling.storagev2/uploader: Manages uploads (automatically selects between form or chunked upload).storagev2/downloader: Manages downloads with concurrent chunk support.storagev2/objects: Object management via a chainable API (query, copy, move, delete, etc.).storagev2/credentials: Credential management viaCredentialsProviderinterface.storagev2/uptoken: Upload token management usingPutPolicy.storagev2/region: Region information and endpoint management.storagev2/apis: Low-level typed APIs.storage: Legacy v1 API.
Other Cloud Services
auth: Authentication and signing (AK/SK, request signing, callback verification).cdn: CDN acceleration (refresh, prefetch, traffic/bandwidth queries, logs).pili: Live streaming (Hub/Stream management, URL generation).rtc: Real-time audio/video (RoomToken, room management).sms: SMS services (sending, signature/template management).qvs: Video surveillance (GB/T 28181 device management, recording, snapshots).linking: IoT device connectivity (device management, keys).iam: Identity and Access Management (sub-accounts, groups, policies).media: Multimedia data processing (triggering and querying persistent processing).audit: Audit logs (account operation auditing).sandbox: Sandbox services (lifecycle, file ops, command execution).
Infrastructure
client: Underlying HTTP client.storagev2/http_client:storagev2specific HTTP client and options.reqid: Request ID propagation.conf: Global SDK configuration.