Closed htdvisser closed 7 years ago
As far as I understand, packages like api/stats
and api/ratelimit
are not moved, or are they? Please specify concrete packages being moved
The packages that contain .proto
files, as well as the fields
package (renamed to logfields
)
.
├── broker
├── discovery
├── gateway
├── handler
├── logfields
├── monitor
├── networkserver
├── protocol
│ └── lorawan
├── router
└── trace
what should happen with the Clients, i.e. monitor.Client
?
I see they are not moved. Should we leave them in the same packages they are in now?
There are a number of things that will have to be moved to the new API package:
*DeduplicatedUplinkMessage.InitResponseTemplate()
)trace
)There are a number of things that will need a new place somewhere else:
Message
/Payload
(un)marshalingstats
Or have to be removed completely:
I will take care of that also then
Great! Nice to finally clean this mess up 😄
We currently use
github.com/TheThingsNetwork/ttn/api
, but this is being moved togithub.com/TheThingsNetwork/api
.In the process we are making some changes to the generated Go code in the new
api
package:Id
is renamed toID
Eui
is renamed toEUI
Please report any other improvements in https://github.com/TheThingsNetwork/api/issues