How ayvan/iso8583 works
This is a Go ISO 8583 message-encoding library. Callers define message data using tagged field structs, construct a message, and marshal it to bytes; for decoding, a Parser selects a registered template from the MTI and loads the message fields. The codec also supports extended messages with ASCII-hex bitmaps. The graph reflects the shown calls and README capabilities; it does not imply network transport or inspect unsampled implementation details.
Main entry points: message.go Message codec · parser.go MTI parser · field.go ISO field types · bcd.go BCD conversion
Components 5
Message codec
- Message codec
message.go - MTI parser
parser.go
Field types
- ISO field types
field.go
Encoding helpers
- BCD conversion
bcd.go
Other components
- Library caller
Connections 6
- Library caller → Message codec: builds and encodes
README.md - Library caller → MTI parser: registers and parses
parser.go - MTI parser → Message codec: creates and loads
parser.go - Message codec → ISO field types: encodes and loads
message.go - Message codec → BCD conversion: encodes MTI
message.go - ISO field types → BCD conversion: converts values
field.go