Kayrock.Generate (kayrock v0.1.12) View Source

Macros for generating modules for the protocol schema

Link to this section Summary

Link to this section 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