Skip to content

module bluerpc.cli


function serve

serve(
    bind_addr='[::]:5052',
    name='unknown',
    keystore=PosixPath('/home/runner/.local/share/bluerpc/keystore.pfx'),
    keystore_password=None,
    adapter_mac='00:00:00:00:00:00',
    adapter_id=None
)  None

Run the worker and the mDNS task

Args:

  • bind_addr: the gRPC server bind address
  • name: the worker name
  • keystore: path to a PKCS12 keystore (used for encryption)
  • keystore_password: password for the keystore, leave to None to disable encryption
  • adapter: adapter mac address

function handler

handler(a, b)  None

Callback for sigint/sigterm, terminates the worker


function run

run()

Parse the arguments and start the worker


This file was automatically generated via lazydocs.