memorycache/

directory
v0.0.0-...-a6b6bab Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 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
control
client
Package client @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package client @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
manager
Package manager @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package manager @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
implement
consts
Package consts @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package consts @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
enums
Package enums @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package enums @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
logic/embedfs
Package embedfs @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package embedfs @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
logic/leveldb
Package leveldb @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package leveldb @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
logic/minio
Package minio @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package minio @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
logic/qiniu
Package qiniu @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package qiniu @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
logic/template
Package template @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package template @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
logic/tencent
Package tencent @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package tencent @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
model
Package model @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package model @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
service
Package service @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package service @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License

Jump to

Keyboard shortcuts

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