Skip to content

SpaceDefer/nemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nemon Server

www vaultenc live (2)

Go server for Nemon.

Setup and run instructions

To run this code locally, clone this repository and you can start coordinator or worker using following commands:

Please make sure that the coordinator and worker are connected on the same network(LAN).

To run coordinator :

go run main.go --mode coordinator --key <some-number> (--dev for development on localhost)

To run worker :

go run main.go --mode worker --key <same-number-as-the-coordinator> (--dev for development on localhost)

Some other commands

To compile modified proto files run:

make protos

Set up goimports to run on save

  • goland
  • vs code
    • Install goimports globally using $ go install golang.org/x/tools/cmd/goimports@latest
  • nvim
    • let g:go_fmt_autosave = 1

Code Info

Make sure to use error codes with status.Error in all gRPC errors

  • change all fmt.Printf or log.Fatalf in Worker to status.Error along with proper codes
  • more info

About

Nemon Backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors