Source code guide


#1

Hi

Where is the definition of lora “node” and “gateway” in the source code? So that we could make modifications into it.
Is there a developer guide style document in general? So that we could learn the structure more easily.
And, is there a specific way to install LoRa Server from source code?


#2

Please see: https://docs.loraserver.io/community/source/ :slight_smile: All source is on GitHub and is written in Go. Please check www.golang.org for the Go style guide.


#3

Hello guys.

As far as I have found, definition of “gateway”(entities we can add to LoRa server in “Gateways”) is here:
https://github.com/brocaar/loraserver/blob/master/internal/gateway/gateway.go:114
If by “node” @milad means “Device”, then it is defined here:
https://github.com/brocaar/loraserver/blob/master/internal/storage/device.go:13
Am I right? Or I am missing something?

Thanks