wrp-go provides a Go library implementing the Web Routing Protocol structures and supporting utilities.
- WRP Message Types: Complete implementation of all WRP message structures
- Multiple Encodings: Support for JSON and MessagePack serialization formats
- Device Identifiers: Parsing and validation of device IDs and locators with support for:
- MAC addresses (with automatic normalization)
- UUIDs
- Serial numbers
- DNS names
- Event names
- Self-referencing locators
- Zero-Copy Parsing: Efficient string handling for device identifiers and locators
- Validation: Built-in validation for messages and locators
- Transcoding: Easy conversion between different encoding formats
This project and everyone participating in it are governed by the XMiDT Code Of Conduct. By participating, you agree to this Code.
To use the wrp-go library, it first should be added as an import in the file you plan to use it. Examples can be found in the GoDoc.
Refer to CONTRIBUTING.md.