internal

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileMd5ByContent added in v0.0.3

func FileMd5ByContent(file string) (string, error)

获取文件的md5字符串 根据文件内容进行md5

func FileMd5BySpec added in v0.0.3

func FileMd5BySpec(file string) (string, error)

获取文件的md5字符串 根据文件名字、文件大小 文件数据的前100byte+后100byte作为md5数据

Types

type ProtocolUrl added in v0.0.5

type ProtocolUrl int
const (
	PDownloadList ProtocolUrl = iota
	PDownloadSpec
	PDownloadMd5
	PDownloadTrucate
	PDownloadDelete
)

func (ProtocolUrl) ClientUrl added in v0.0.5

func (p ProtocolUrl) ClientUrl(baseurl string, args url.Values) string

func (ProtocolUrl) ServerUrl added in v0.0.5

func (p ProtocolUrl) ServerUrl() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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