ETag Plug v0.1.0 API Reference

Modules

This module provides a number of util functions to interact with ETags in a Plug.Conn

The ETag generator behaviour. Simply defines a generate/1 callback which expects a string and returns a string

A drop in plug to add support for shallow ETags

Applies defaults and validates the given options for the plug. Allowed options are:

  • generator
  • methods
  • status_codes