manager

package
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 Imports: 6 Imported by: 2

Documentation

Overview

Package manager @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllConfig

GetAllConfig 获取缓存组件配置的资源文件信息 @param embedfs.CfgConfig 本地存储文件 @param leveldb.CfgConfig 持久化leveldb存储 @param minio.CfgConfig 持久化Minio存储 @param qiniu.CfgConfig 持久化Qiniu存储 @param tencent.CfgConfig 持久化Tencent存储

func SetConfig

func SetConfig(embedfsYaml, leveldbYaml, minioYaml, qiniuYaml, tencentYaml string)

SetConfig 指定缓存组件配置的资源文件信息 @param embedfsYaml 本地存储文件 @param leveldbYaml 持久化leveldb存储 @param minioYaml 持久化Minio存储 @param qiniuYaml 持久化Qiniu存储 @param tencentYaml 持久化Tencent存储

func SetEmbedfsConfig

func SetEmbedfsConfig(yaml *embedfs.CfgConfig)

SetEmbedfsConfig 本地存储文件 @param yaml 本地存储文件

func SetLeveldbConfig

func SetLeveldbConfig(yaml *leveldb.CfgConfig)

SetLeveldbConfig 持久化leveldb存储 @param yaml 持久化leveldb存储

func SetMinioConfig

func SetMinioConfig(yaml *minio.CfgConfig)

SetMinioConfig 持久化Minio存储 @param yaml 持久化Minio存储

func SetQiniuConfig

func SetQiniuConfig(yaml *qiniu.CfgConfig)

SetQiniuConfig 持久化Qiniu存储 @param yaml 持久化Qiniu存储

func SetTencentConfig

func SetTencentConfig(yaml *tencent.CfgConfig)

SetTencentConfig 持久化Tencent存储 @param yaml 持久化Tencent存储

Types

This section is empty.

Jump to

Keyboard shortcuts

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