package
1.2.4
Repository: https://github.com/ccheers/xpkg.git
Documentation: pkg.go.dev

# README

aliyun

import "github.com/ccheers/xpkg/oss/aliyun"

Index

type Oss

type Oss struct {
    // contains filtered or unexported fields
}

func NewOss

func NewOss(client *oss.Client) *Oss

func (*Oss) Get

func (o *Oss) Get(ctx context.Context, bucket string, key string) (resp []byte, err error)

func (*Oss) Set

func (o *Oss) Set(ctx context.Context, bucket string, key string, reader io.Reader) (err error)

Generated by gomarkdoc

# Functions

No description provided by the author

# Structs

No description provided by the author