mirror of https://github.com/tidwall/evio.git
fixed code format
This commit is contained in:
parent
f416191b31
commit
08622c142f
|
@ -180,8 +180,6 @@ events.Data = func(id int, in []byte) (out []byte, action evio.Action) {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Data translations
|
### Data translations
|
||||||
|
|
||||||
The `Translate` function wraps events and provides a `ReadWriter` that can be used to translate data off the wire from one format to another. This can be useful for transparently adding compression or encryption.
|
The `Translate` function wraps events and provides a `ReadWriter` that can be used to translate data off the wire from one format to another. This can be useful for transparently adding compression or encryption.
|
||||||
|
|
Loading…
Reference in New Issue