Search documentation of kayrock
kayrock
v0.2.0
Pages
Modules
Mix
Tasks
Settings
View Source
Kayrock.Generate
(kayrock v0.2.0)
Macros for generating modules for the protocol schema
Summary
Functions
build_all(api, schema_module)
build_modules(api, schema_module, modname)
describe_type(api, field, mapspec)
generate_field_deserializer(scope, arg, next_field_name)
generate_request_struct(api, vsn, modname, response_modname, schema)
generate_response_struct(api, vsn, modname, schema)
generate_schema_metadata(schema_module)
generate_serializer(modname)
make_request_getter(vsn)
make_request_module(api, vsn, schema_module)
make_response_deserializer(vsn)
make_response_module(api, vsn, schema_module)
make_types(root_module, vmin, vmax)
Functions
Link to this function
build_all(api, schema_module)
View Source
Link to this function
build_modules(api, schema_module, modname)
View Source
Link to this function
describe_type(api, field, mapspec)
View Source
Link to this function
generate_field_deserializer(scope, arg, next_field_name)
View Source
Link to this function
generate_request_struct(api, vsn, modname, response_modname, schema)
View Source
Link to this function
generate_response_struct(api, vsn, modname, schema)
View Source
Link to this function
generate_schema_metadata(schema_module)
View Source
Link to this function
generate_serializer(modname)
View Source
Link to this function
make_request_getter(vsn)
View Source
Link to this function
make_request_module(api, vsn, schema_module)
View Source
Link to this function
make_response_deserializer(vsn)
View Source
Link to this function
make_response_module(api, vsn, schema_module)
View Source
Link to this function
make_types(root_module, vmin, vmax)
View Source