1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-18 04:40:03 +02:00
thalos/transport/message/encoding.go

4 lines
129 B
Go

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