Module zotonic_model

Model behaviour.

Copyright © 2009-2018 Marc Worrell

This module defines the zotonic_model behaviour.
Required callback functions: m_get/3.
Optional callback functions: m_post/3, m_delete/3.

Authors: Marc Worrell (marc@worrell.nl).

Description

Model behaviour

Data Types

opt_msg()

opt_msg() = mqtt_packet_map:mqtt_packet() | undefined

return()

return() = {ok, {term(), list()}} | {error, unknown_path | term()}


Generated by EDoc