leo_rpc_client_utils

leo_rpc_client_utils is a utility module.

References

Description

leo_rpc_client_utils is a utility module

Function Index

create_client_worker_id/2 Generate client-worker-id from host and port.
get_client_worker_id/2 Retrieve client-worker’s id by host and port.

Function Details

create_client_worker_id/2

create_client_worker_id(Host, Port) -> string()

  • Host = string()
  • Port = pos_integer()

Generate client-worker-id from host and port

get_client_worker_id/2

get_client_worker_id(Host, Port) -> atom()

  • Host = string() | atom()
  • Port = pos_integer()

Retrieve client-worker’s id by host and port