|
|
@@ -2,11 +2,12 @@ package main |
|
|
|
|
|
|
|
import ( |
|
|
|
"fmt" |
|
|
|
"net/http" |
|
|
|
|
|
|
|
"github.com/gorilla/mux" |
|
|
|
"github.com/imosed/signet/data" |
|
|
|
"github.com/imosed/signet/endpoints" |
|
|
|
"github.com/spf13/viper" |
|
|
|
"net/http" |
|
|
|
) |
|
|
|
|
|
|
|
var err error |
|
|
@@ -36,7 +37,7 @@ func main() { |
|
|
|
router.HandleFunc("/GetQueueMembers", endpoints.GetQueueMembers) |
|
|
|
router.HandleFunc("/CreateRewardFund", endpoints.CreateRewardFund) |
|
|
|
router.HandleFunc("/CloseRewardFund", endpoints.CloseRewardFund) |
|
|
|
//router.HandleFunc("/SubmitFund", endpoints.SubmitFund) |
|
|
|
// router.HandleFunc("/SubmitFund", endpoints.SubmitFund) |
|
|
|
router.HandleFunc("/GetBalance", endpoints.GetBalance) |
|
|
|
router.HandleFunc("/Contribute", endpoints.Contribute) |
|
|
|
router.HandleFunc("/ContributorStream", endpoints.ContributorStream) |
|
|
|