qnyoss

package
v1.21.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2024 License: Zlib Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OssFile

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

func NewOssFile

func NewOssFile(config fileconfig.Config) *OssFile

func (*OssFile) UploadStream

func (of *OssFile) UploadStream(fileResult *fileconfig.Result, stream *fileconfig.Stream) error

func (*OssFile) UploadToken

func (of *OssFile) UploadToken(bucket string, key string) string

UploadToken 获取七牛云Token

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL