fs

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: 13 Imported by: 0

README

fs Plugin

中文版

Inner name fs, default plugin of Rikka.

Description

it save image file to server where Rikka live directly, and run a static file server for those files.

Options

-dir set file dir where image saved. Default is files folder under work dir. If you are using Docker or deploying Rikka at Docker Cloud Server Provider, you can set it to a position easy to volume mount, like /data.

-fsDebugSleep Not for common use, it make a sleep before copy file to dir, simulate a long time operation,for javascript AJAX tests. In microsecond.

If your website support https,you can add -https argument to make fs plugin return image url with https protocol.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Plugin is the main plugin instance.
	Plugin = fsPlugin{}
)

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