View Source erupt_driver behaviour (erupt v0.1.0)

Link to this section Summary

Link to this section Callbacks

-callback add(any(), binary(), integer()) -> ok | {error, any()}.
-callback delete(any(), integer()) -> ok | {error, any()}.
-callback down(any()) -> ok | {error, any()}.
-callback exec(any(), iodata()) -> ok | {error, any()}.
-callback last(any()) -> {ok, {integer(), module(), integer()}} | {error, any()}.
-callback list(any()) -> {ok, list()} | {error, any()}.
-callback up(any()) -> ok | {error, any()}.