Module parthenon_schema_server

Behaviours: gen_server.

Function Index

add_schema/2
get_schema/1
handle_call/3
handle_cast/2
handle_info/2
init/1
start_link/0
terminate/2

Function Details

add_schema/2

add_schema(SchemaName::atom(), RawSchema::binary() | string()) -> ok | {error, term()}

get_schema/1

get_schema(SchemaName::atom()) -> {ok, parthenon_schema:schema()} | {error, not_found}

handle_call/3

handle_call(X1, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

init/1

init(X1) -> any()

start_link/0

start_link() -> {ok, pid()} | ignore | {error, term()}

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc