zubairhamed / canopus

CoAP Client/Server implementing RFC 7252 for the Go Language
Apache License 2.0
155 stars 41 forks source link

Add ProxyFilter fn which allows filtering incoming clients #68

Closed zubairhamed closed 8 years ago

zubairhamed commented 8 years ago
server.SetProxyFilter(func(*Message, *net.UDPAddr) (bool) {
    ...
    return true
})
zubairhamed commented 8 years ago

merged proxy filter to master