全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: golang-github-stevvooe-resumable  ]

套件:golang-github-stevvooe-resumable-dev(0.0~git20150521.0.51ad441-2.1)

golang-github-stevvooe-resumable-dev 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 golang-github-stevvooe-resumable

維護小組:

外部的資源:

相似套件:

Subset of the Go `crypto` Package with a Resumable Hash Interface

Package resumable registers resumable versions of hash functions. Resumable varieties of hash functions are available via the standard crypto package. Support can be checked by type assertion against the resumable.Hash interface.

While one can use these sub-packages directly, it makes more sense to register them using side-effect imports:

  import _ "github.com/stevvooe/resumable/sha256"

This will make the resumable hashes available to the application through the standard crypto package. For example, if a new sha256 is required, one should use the following:

  h := crypto.SHA256.New()

Such a features allows one to control the inclusion of resumable hash support in a single file. Applications that require the resumable hash implementation can type switch to detect support, while other parts of the application can be completely oblivious to the presence of the alternative hash functions.

Also note that the implementations available in this package are completely untouched from their Go counterparts in the standard library. Only an extra file is added to each package to implement the extra resumable hash functions.

下載 golang-github-stevvooe-resumable-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 18。9 kB97。0 kB [檔案列表]