rocket-gitee-pictures

Crates.iorocket-gitee-pictures
lib.rsrocket-gitee-pictures
version0.0.2
sourcesrc
created_at2021-08-05 02:59:21.926555
updated_at2021-08-16 01:40:42.458249
descriptionrocket use gitee for images repo
homepage
repositoryhttps://gitee.com/awol2010ex/rocket-gitee-pictures
max_upload_size
id431815
size70,375
(awol2010ex)

documentation

README

rocket 中显示gitee图片

测试(windows下)

set redis_host=redis ip

set redis_port=redis端口

set redis_password=Redis密码

set gitee_token=gitee私人token

set gitee_owner=gitee 账号

set gitee_repo=gitee仓库名

set gitee_branch=仓库分支名(master...)

set gitee_refresh_interval=刷新频率(毫秒整数)

运行

cargo run --example example1

访问 http://127.0.0.1/images/gitee/图片在仓库里的路径

Commit count: 0

cargo fmt