package
0.0.0-20230310201401-7aac46a7fa12
Repository: https://github.com/mitghi/protox.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

protocol

Protox binary protocol.

PDU ( protocol data unit )

Queue

structure

MessageId	: uint16 
Address		: string
ReturnPath	: string
Mark		: bytes
Message		: bytes

fixed header

  • fixed header options:

    bitsemantic
    0
    1hasPayload
    2isDuplicate
    3hasOpts

variable header

Options: 1 byte

  • options (0xF0):

    bitsemantic
    0hasMark
    1hasReturnPath
    2hasAddress
    3hasId
  • command (0x0F):

    bitsemantic
    4NOP
    5Drain
    6Destroy
    7Initialize

types

  • payload item types:

    payloadtype
    MessageIdunsigned int32
    Addressstring
    ReturnPathstring
    Markbytes
    Messagebytes

Work in progress

  • Chain to PDU extensions *.
  • Support other protocols
  • Support Adaptor
  • extending current PDUs to exceed 0xF points ( i.e. linking via 0x0F in control packet )