utility

package
v0.0.0-...-6203b02 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package utility @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BucketInfo

func BucketInfo(ctx context.Context) (*marshal.BucketInfo, error)

BucketInfo 查询缓存路径信息

func Config

func Config() *config.AlpineConfig

Config 获取配置的资源文件信息

func GetMirrors

func GetMirrors(ctx context.Context) (mirrors []string, err error)

GetMirrors 获取配置的镜像地址

func OnConfig

func OnConfig(str string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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