net/http, accepts any io.Reader for uploads, and returns typed API errors for non-2xx responses.
Return Values
The Go SDK unwraps the CDN API envelopes into typed values:CDNAsset includes ID, UserID, ProjectID, DeploymentID, StorageName, Key, FileName, ContentType, Size, PublicURL, SHA256, ETag, Visibility, Kind, CreatedAt, and UpdatedAt.
Upload an Image
Open the image file and pass it as the upload reader. Public image uploads return a URL that can be used directly in an<img> tag, Open Graph metadata, avatars, or product galleries.
