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 addressname
: the worker namekeystore
: path to a PKCS12 keystore (used for encryption)keystore_password
: password for the keystore, leave to None to disable encryptionadapter
: 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.