2022-03-12 00:13:55 +03:00
|
|
|
package iso8583
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/moov-io/iso8583"
|
2023-04-30 10:33:20 +03:00
|
|
|
codec "go.unistack.org/micro/v4/codec"
|
2022-03-12 00:13:55 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
type specKey struct{}
|
|
|
|
|
|
|
|
func MessageSpec(spec *iso8583.MessageSpec) codec.Option {
|
|
|
|
return codec.SetOption(specKey{}, spec)
|
|
|
|
}
|