View Source hex_pb_versions (hex_core v0.10.0)
Link to this section Summary
Link to this section Types
-type '$msg'() :: 'Versions'() | 'Package'().
-type '$msg_name'() :: 'Versions' | 'Package'.
-type 'Package'() :: #{name => unicode:chardata(), versions => [unicode:chardata()], retired => [integer()]}.
-type 'Versions'() :: #{packages => ['Package'()], repository => unicode:chardata()}.
Link to this section Functions
-spec encode_msg('$msg'(), '$msg_name'()) -> binary().
-spec encode_msg('$msg'(), '$msg_name'(), list()) -> binary().
-spec enum_name_to_fqbin(_) -> no_return().
-spec enum_symbol_by_value(_, _) -> no_return().
-spec enum_value_by_symbol(_, _) -> no_return().
-spec fetch_enum_def(_) -> no_return().
-spec fetch_rpc_def(_, _) -> no_return().
-spec fqbin_to_enum_name(_) -> no_return().
-spec fqbin_to_service_name(_) -> no_return().
-spec fqbins_to_service_and_rpc_name(_, _) -> no_return().
-spec get_proto_by_enum_name_as_fqbin(_) -> no_return().
-spec get_proto_by_service_name_as_fqbin(_) -> no_return().
-spec get_protos_by_pkg_name_as_fqbin(_) -> no_return().
-spec service_and_rpc_name_to_fqbins(_, _) -> no_return().
-spec service_name_to_fqbin(_) -> no_return().