Skip to content

Commit

Permalink
Merge cff40f1 into aa31b49
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmgleite committed Jun 21, 2018
2 parents aa31b49 + cff40f1 commit 7e12949
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ func SetLogger(l logger.Logger) {
logger.Log = l
}

// GetServerID returns the generated server id
func GetServerID() string {
return app.server.ID
}

// SetRPCServer to be used
func SetRPCServer(s cluster.RPCServer) {
app.rpcServer = s
Expand Down

0 comments on commit 7e12949

Please sign in to comment.