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

4 lines
131 B
Go

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