qiniu

package
v0.0.0-...-80b44f5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 7 Imported by: 0

README

Qiniu Plugin

中文版

Added in version 0.2.0. Inner name qiniu.

Description

This plugin use Qiniu Cloud CND to store your image.

Options

You should provide Qiniu ACCESS KEY, SECRET KEY, bucket name and bucket host.

ACCESS KEY and SECRET KEY should be add into your env variable, use key RIKKA_QINIU_ACCESS and RIKKA_QINIU_SECRET.

Bucket name and bucket host should be provide use command line option:

-bname for the bucket name.

-bhost for bucket host.

BTW: you can set upload dir by provide -bpath option.

For example,ues -bpath rikka, then images will be under rikka folder。

Multi-level dir like -bpath rikka/images are also supported.

Guide

See Rikka Deploy Guide with Qiniu Plugin on DaoCloud.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Plugin is the main plugin instance
	Plugin = qiniuPlugin{}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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