utility

package
v0.0.0-...-bf43de0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package utility @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 CheckFileExist

func CheckFileExist(file string) (bool, error)

CheckFileExist 检查文件是否存在

func CloseResponse

func CloseResponse(response *http.Response)

func GetHash

func GetHash(file []byte, hash string) []byte

GetHash 获取文件hash信息

func GetStrEncode

func GetStrEncode(user, pwd string) string

GetStrEncode 加密字符串

Types

This section is empty.

Directories

Path Synopsis
Package common @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package common @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) 2022 central CLI @Author linngc @License
Package manager @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