cfg.go 281 B

123456789101112131415
  1. package zmostp_go
  2. import "io"
  3. type TransmitterConfig struct {
  4. Writer io.Writer
  5. HumanFriendlySending bool
  6. EnableCRC bool
  7. }
  8. type ReceiverConfig struct {
  9. ByteReader io.ByteReader
  10. EnableCRC bool
  11. DecodeFailureLog DecodeFailureLogHandler
  12. }