Current section
Files
Jump to
Current section
Files
lib/encoder.ex
defmodule PlugSessionRedisStore.Encoder do
@moduledoc """
Generic interface to encode/decode the session data.
"""
@doc "Encode session data."
@callback encode(term) :: term
@doc "Decode session data."
@callback decode(binary) :: term
end