From 9d72dcf16b6bf379478f07ea46d0d52513cace6f Mon Sep 17 00:00:00 2001 From: zikwall Date: Tue, 30 Aug 2022 18:44:16 +0300 Subject: [PATCH] Fix readme markdown --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 71ba1eb..0275078 100644 --- a/README.md +++ b/README.md @@ -193,10 +193,10 @@ You can implement own data-buffer interface: `File`, `Rabbitmq`, `CustomMemory`, ```go type Buffer interface { - Write(vec Vector) - Read() []Vector - Len() int - Flush() + Write(vec Vector) + Read() []Vector + Len() int + Flush() } ``` @@ -213,8 +213,8 @@ You can implement queue engine by defining the `Queueable` interface: ```go type Queueable interface { - Queue(packet *Packet) - Retries() <-chan *Packet + Queue(packet *Packet) + Retries() <-chan *Packet } // and set it as an engine: