2

https://github.com/dustin/go-coap

I am using the above library for Building a Server-Client programs in Golang. How can we add a Resource or Endpoint on Server Side and write a Handler in-specific to that endpoint.

And also how to Publish data to specific Resource or Endpoint from client Side.

Can someone give examples using the above library. Thanks in Advance!

1 Answers1

0

The sample code of client and server are under ./example/

John Hua
  • 1,400
  • 9
  • 15