Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.49 KB

README.md

File metadata and controls

44 lines (26 loc) · 1.49 KB

Go-Ground-Station

The groundstation's backend written in GO.

This part of the groundstation is the side that communicates directly with the rPod/rFlight etc...

The groundstation uses the gRPC protocol to communicate with whatever type of frontend we'd choose to use.

Set up

Before pulling the repo make sure you understand how Go development works

The project is structured as follows: $GOPATH/src/rloop/

Dependencies

gRPC

According to the gRPC website:

  • Make sure you are using Go 1.6+ $ go version
  • Install gRPC $ go get -u google.golang.org/grpc
  • Install Protocol Buffers v3:

Running Locally

While developing you can simply run the app with the next command: $ go run main.go [<ports>]. If no ports are given, default ports defined in the constants package are used.

Profiling

Compile

Available Scripts

vet_all

Vet examines Go source code and reports suspicious constructs, [...] it can find errors not caught by the compilers.

build_all

The build script is useful as it will compile the go code for the 3 main platforms (Windows,Mac and Linux)