mirror of
https://github.com/PretendoNetwork/friends.git
synced 2024-05-17 20:30:47 -04:00
2f80336681
Replace MongoDB usage with GRPC calls to the account server. Also include documentation on the README and a Makefile.
21 lines
294 B
Go
21 lines
294 B
Go
package main
|
|
|
|
import (
|
|
"sync"
|
|
|
|
"github.com/PretendoNetwork/friends/grpc"
|
|
"github.com/PretendoNetwork/friends/nex"
|
|
)
|
|
|
|
var wg sync.WaitGroup
|
|
|
|
func main() {
|
|
wg.Add(3)
|
|
|
|
go grpc.StartGRPCServer()
|
|
go nex.StartAuthenticationServer()
|
|
go nex.StartSecureServer()
|
|
|
|
wg.Wait()
|
|
}
|