-
Notifications
You must be signed in to change notification settings - Fork 709
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://jira.hyperledger.org/browse/FAB-2012 This is the last change set pertaining to the cobra/viper restructure. It removes all of the server-related global variables which were used in the past. The server is now implemented as a true library whose state variables are in the server or server config objects The primary changes are to pass the server object to all of the server endpoint objects (i.e. those of the form serverXXXX.go) so that they can reference the per-server state variables. I also had to move some of the util.go funtions into server so they had access to these per-server variables. Change-Id: I1208542b6aedea30bedcad280808429622900aff Signed-off-by: Keith Smith <bksmith@us.ibm.com>
- Loading branch information
Keith Smith
committed
Mar 9, 2017
1 parent
ee4f92a
commit df922a1
Showing
10 changed files
with
173 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.