Skip to main content

uss

UPYUN Storage Service

Project#

https://github.com/beyondstorage/go-service-uss

Config#

Storager#

NameRequiredComments
credentialYonly support hmac protocol
nameYbucket name
work_dirNwork dir
endpointYspecific domain to access this storager

Example#

Init storager (see this page for details)

import (    _ "github.com/beyondstorage/go-service-uss/v3"    "github.com/beyondstorage/go-storage/v4/services")
store, err := services.NewStoragerFromString("uss://<bucket_name>/<work_dir>?credential=hmac:<account_name>:<account_key>&endpoint=https:<domain>")

Implementation#

This service implements following interfaces: