cache

module
v0.0.0-...-f55c371 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0

README

一.插件描述

二.插件必要的配置文件参数

1.配置文件说明

# 在gofarme框架默认读取的config.yml中添加自定义项golang
central:
  #服务缓存信息
  cache:
    #本地存储文件路径
    embedFs:
      storage: ./storage
      bucket: central                                #对应的桶名称
    #minio存储
    minioCos:
      endpoint: 127.0.0.1:9000                      #Cos服务地址
      secretId: WJmxZupuAPEBWcrI                    #帐号
      secretKey: Y5U5Y2xRotyhrnIt9mFHWQPZlXOFxehE   #密钥
      bucket: central                                #对应的桶名称
      region:                                       #区域
      useSSL: false                                 #是否启用https
    #七牛Cos存储
    qiniuCos:
      endpoint: rxx2c8o5q.hn-bkt.clouddn.com # bucket的命名规则为{name}-{appid} ,此处填写的存储桶名称必须为此格式
      accessKey: AKIDiFWWGkxtYx5yb07xWprcJHyvb1A2dy3       #帐号
      secretKey: qQjnb8OTJsBD5h26uRhhQs3xby4tRjkU          #密钥
      bucket: central                                #对应的桶名称
      useSSL: false                                 #是否启用https
    #腾讯Cos存储
    tencentCos:
      endpoint: https://<bucket>.cos.<region>.myqcloud.com # bucket的命名规则为{name}-{appid} ,此处填写的存储桶名称必须为此格式
      appId: 1251151398                                    #appid
      secretId: AKIDiFWWGkxtYx5yb07xWprc6JHyvb1A2dy3       #帐号
      secretKey: qQjnb8OTJsBD5h26uRhhQs3xby4tRjkU          #密钥
      bucket: central                                #对应的桶名称
      region: guangzhou                                    #区域

Directories

Path Synopsis
Package client @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package client @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
internal
enums
Package enums @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package enums @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
impl/embedfs
Package embedfs @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package embedfs @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
impl/minio
Package minio @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package minio @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
impl/nutsdb
Package nutsdb @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package nutsdb @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
impl/qiniu
Package qiniu @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package qiniu @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
impl/template
Package template @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package template @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
impl/tencent
Package tencent @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package tencent @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
service
Package service @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package service @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
toolkit
channel
Package channel @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package channel @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
consts
Package consts @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package consts @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
file
Package file @Link https://gitee.com/linngc/center.mirror @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Package file @Link https://gitee.com/linngc/center.mirror @Copyright Copyright (c) 2022 center CLI @Author linngc @License
http
Package http @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package http @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
io
Package io @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package io @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
model
Package model @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package model @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
str
Package str @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License
Package str @Link https://gitee.com/linngc/central.mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License

Jump to

Keyboard shortcuts

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