mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
9 lines
184 B
Go
9 lines
184 B
Go
// Package encoder handles source encoding formats
|
|
package encoder
|
|
|
|
type Encoder interface {
|
|
Encode(interface{}) ([]byte, error)
|
|
Decode([]byte, interface{}) error
|
|
String() string
|
|
}
|