Categorygithub.com/aos-dev/go-service-kodo
modulepackage
1.1.0
Repository: https://github.com/aos-dev/go-service-kodo.git
Documentation: pkg.go.dev

# README

go-services-kodo

Build Status License go storage dev

kodo services support for go-storage

Install

go get github.com/aos-dev/go-service-kodo

# Packages

No description provided by the author

# Functions

GetObjectMetadata will get ObjectMetadata from Object.
New will create both Servicer and Storager.
NewServicer will create Servicer only.
NewStorager will create Storager only.
WithDefaultServicePairs will apply default_service_pairs value to Options DefaultServicePairs set default pairs for service actions.
WithDefaultStoragePairs will apply default_storage_pairs value to Options DefaultStoragePairs set default pairs for storager actions.
WithStorageClass will apply storage_class value to Options StorageClass.

# Constants

All available storage classes are listed here.
ref: https://developer.qiniu.com/kodo/api/3710/chtype.
All available storage classes are listed here.
Type is the type for kodo.

# Structs

DefaultServicePairs is default pairs for specific action.
DefaultStoragePairs is default pairs for specific action.
ObjectMetadata stores service metadata for object.
Service is the kodo config.
Storage is the gcs service client.