Skip to content

xmidt-org/wrp-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wrp-go

Build Status codecov Go Report Card Apache V2 License GitHub Release GoDoc

wrp-go provides a Go library implementing the Web Routing Protocol structures and supporting utilities.

Features

  • 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

Table of Contents

Code of Conduct

This project and everyone participating in it are governed by the XMiDT Code Of Conduct. By participating, you agree to this Code.

Examples

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.

Contributing

Refer to CONTRIBUTING.md.

About

go implementation of the Web Routing Protocol

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 12

Languages