New Feature: Added support for CoAP proxying with TLS and DTLS in cmd/main.go and pkg/coap/coap.go. This allows users to securely send CoAP messages and proxy them to a target server.
Refactor: Updated the LoadTLSCfg function in pkg/tls/tls.go to use os.ReadFile instead of the deprecated ioutil.ReadFile.
Which issue(s) does this PR fix/relate to?
Resolves #24.
List any changes that modify/break current functionality
Signed-off-by: SammyOina sammyoina@gmail.com
What does this do?
cmd/main.go
andpkg/coap/coap.go
. This allows users to securely send CoAP messages and proxy them to a target server.LoadTLSCfg
function inpkg/tls/tls.go
to useos.ReadFile
instead of the deprecatedioutil.ReadFile
.Which issue(s) does this PR fix/relate to?
Resolves #24.
List any changes that modify/break current functionality
Have you included tests for your changes?
Did you document any new/modified functionality?
Notes