etag

package
v0.0.0-...-9abe124 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package etag implements generation functionalities for the ETag specification of RFC7273 2.3. https://tools.ietf.org/html/rfc7232#section-2.3.1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(body []byte, weak bool) string

Generate an ETag by body byte array. weak specifies if the generated ETag should be tagged as "weak".

Types

This section is empty.

Jump to

Keyboard shortcuts

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