Registry / utility / go-http-utils-etag

go-http-utils-etag

JSON →
library0.0.0-20161124023236-513ea8f21eb1gogounverified

Package etag provides HTTP ETag generation and validation utilities.

go get github.com/go-http-utils/etag
INSTALL
IMPORT
SIG · GO-HTTP-UTILS-ETAG
G
go-http-utils-etag
utilitygov0.0.0-20161124023236-513ea8f21eb1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

etag
github.com/go-http-utils/etag

Generates an ETag from byte data with weak validation.

package main import ( "fmt" "github.com/go-http-utils/etag" ) func main() { data := []byte("hello") tag := etag.Generate(data, true) fmt.Println(tag) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20161124023236-513ea8f21eb1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
go-http-utils-etag — go get go-http-utils-etag · libregistry