Skip to content

Commit

Permalink
Fix readme markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
zikwall committed Aug 30, 2022
1 parent 32dc84c commit 9d72dcf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
```

Expand All @@ -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:
Expand Down

0 comments on commit 9d72dcf

Please sign in to comment.