Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions fila/fibp.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Hot path (binary body):
0x01 ENQUEUE, 0x02 CONSUME, 0x03 ACK, 0x04 NACK

Admin (protobuf body):
Admin (binary body):
0x10 CREATE_QUEUE, 0x11 DELETE_QUEUE, 0x12 QUEUE_STATS,
0x13 LIST_QUEUES, 0x14 REDRIVE, 0x15 CONFIG_SET, 0x16 CONFIG_GET, 0x17 CONFIG_LIST

Expand Down Expand Up @@ -186,11 +186,6 @@ def encode_auth(corr_id: int, api_key: str) -> bytes:
return _encode_frame(0, OP_AUTH, corr_id, api_key.encode())


def encode_admin(op: int, corr_id: int, proto_body: bytes) -> bytes:
"""Encode an admin frame with a protobuf-serialised body."""
return _encode_frame(0, op, corr_id, proto_body)


# ------------------------------------------------------------------
# Decoding helpers
# ------------------------------------------------------------------
Expand Down
Empty file removed fila/v1/__init__.py
Empty file.
78 changes: 0 additions & 78 deletions fila/v1/admin_pb2.py

This file was deleted.

179 changes: 0 additions & 179 deletions fila/v1/admin_pb2.pyi

This file was deleted.

Loading
Loading