Skip to content

Latest commit

 

History

History
108 lines (52 loc) · 2.28 KB

ubf_redis_plugin.md

File metadata and controls

108 lines (52 loc) · 2.28 KB

Module ubf_redis_plugin

Sample Redis contract.

. __Behaviours:__ [`ubf_plugin_stateless`](ubf_plugin_stateless.md).

Function Index

description/0
handlerEvent/1
handlerRpc/1

rpc handler

.
handlerStart/1

start handler

.
handlerStop/3

stop handler

.
info/0
keepalive/0
moduleRestart/1

restart module

.
moduleStart/1

start module

.

Function Details

description/0

description() -> any()

handlerEvent/1

handlerEvent(Event) -> any()

handlerRpc/1


handlerRpc(Event::any()) -> Reply::any()



rpc handler

handlerStart/1


handlerStart(Args::[any()]) -> {accept, Reply::any(), StateName::atom(), StateData::term()} | {reject, Reason::any()}



start handler

handlerStop/3


handlerStop(Pid::pid(), Reason::any(), StateData::term()) -> none()



stop handler

info/0

info() -> any()

keepalive/0

keepalive() -> any()

moduleRestart/1

moduleRestart(Args) -> any()

restart module

moduleStart/1

moduleStart(Args) -> any()

start module