mirror of
https://github.com/valitydev/wapi-lib.git
synced 2024-11-06 18:25:17 +00:00
11 lines
281 B
Erlang
11 lines
281 B
Erlang
-module(wapi_dummy_service).
|
|
-behaviour(woody_server_thrift_handler).
|
|
|
|
-export([handle_function/4]).
|
|
|
|
-spec handle_function(woody:func(), woody:args(), woody_context:ctx(), #{}) ->
|
|
{ok, term()}.
|
|
|
|
handle_function(FunName, Args, _, #{function := Fun}) ->
|
|
Fun(FunName, Args).
|