kodo

qiniu kodo

Config#

Servicer#

NameRequiredComments
credentialYonly support hmac protocol

Storager#

NameRequiredComments
nameYbucket name
work_dirNwork dir
endpointYspecific domain to access this storager

Example#

Init servicer

credential: hmac:<access_key>:<secret_key>

Init storager

credential: hmac:<access_key>:<secret_key>
name: <bucket_name>
work_dir: /<work_dir>
endpoint: http:<domain>