1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00

transport/message/encoder.go: rename to encoding.go

This commit is contained in:
Henrik Hautakoski 2023-02-10 16:54:08 +01:00
parent a20295ee88
commit 027ba0b1ff

View file

@ -1,4 +1,4 @@
package message
// Encoder is a function that can encode a object to the encoded format.
type Encoder func(v any) ([]byte, error)
type Encoder func(any) ([]byte, error)