Documentation ¶
Index ¶
- Variables
- func CheckServiceModelHandler() gin.HandlerFunc
- func EnterServiceMode(c *gin.Context)
- func GetArkNewsFromAddress(c *gin.Context)
- func GetBlocked(c *gin.Context)
- func GetDelegate(c *gin.Context)
- func GetDelegateNodeStatus(c *gin.Context)
- func GetDelegatePaymentRecord(c *gin.Context)
- func GetDelegatePaymentRecordDetails(c *gin.Context)
- func GetDelegateSharingConfig(c *gin.Context)
- func GetDelegateSocialData(c *gin.Context)
- func GetVoterEarningsTotal(c *gin.Context)
- func GetVotersList(c *gin.Context)
- func GetVotersPendingRewards(c *gin.Context)
- func InitGlobals(version string)
- func LeaveServiceMode(c *gin.Context)
- func OnlyLocalCallAllowed() gin.HandlerFunc
- func SendDARK(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
var ArkAPIclient *core.ArkClient
var ArkGoServerVersion string
var Arkpooldb *storm.DB
var VotersEarnings []core.DelegateDataProfit
Functions ¶
func CheckServiceModelHandler ¶
func CheckServiceModelHandler() gin.HandlerFunc
func EnterServiceMode ¶
func GetArkNewsFromAddress ¶ added in v0.8.0
GetArkNewsFromAddress - returns news to show
func GetBlocked ¶
GetBlocked Returns a list of peers to client call. Response is in JSON
func GetDelegate ¶
GetDelegate Returns a list of peers to client call. Response is in JSON
func GetDelegateNodeStatus ¶ added in v0.8.0
GetDelegateNodeStatus - returns news to show
func GetDelegatePaymentRecord ¶
GetDelegatePaymentRecord Returns a list of peers to client call. Response is in JSON URL samples: Get All Payment Runs: http://localhost:54000/delegate/paymentruns
func GetDelegatePaymentRecordDetails ¶
GetDelegatePaymentRecordDetails Returns a list of peers to client call. Response is in JSON URL samples: 1.TO GET ALL PAYMENT DETAILS: http://localhost:54000/delegate/paymentruns/details 2.TO GET ALL PAYMENT DETAILS FOR SPECIFIED PAYMENT RUN: http://localhost:54000/delegate/paymentruns/details?parentid=12 3.TO GET ALL PAYMENT DETAILS FOR SPECIFIED VOTER(address): http://localhost:54000/delegate/paymentruns/details?address=D5St8ot3asrxYW3o63EV3bM1VC6UBKMUfE 4.TO GET ALL PAYMENT DETAILS FOR SPECIFIED VOTER(address) in Specified RUN:http://localhost:54000/delegate/paymentruns/details?parentid=12&address=D5St8ot3asrxYW3o63EV3bM1VC6UBKMUfE
func GetDelegateSharingConfig ¶
GetDelegateSharingConfig Returns a list of peers to client call. Response is in JSON
func GetDelegateSocialData ¶ added in v0.8.0
GetDelegateSocialData returns delegate social details for fron page generation
func GetVoterEarningsTotal ¶ added in v0.9.6
GetVoterEarningsTotal Returns a list of peers to client call. Response is in JSON
func GetVotersList ¶ added in v0.7.9
GetVotersList Returns a list voters that voted for a delegate
func GetVotersPendingRewards ¶ added in v0.7.9
GetVotersPendingRewards Returns a list of peers to client call. Response is in JSON
func InitGlobals ¶
func InitGlobals(version string)
func LeaveServiceMode ¶
func OnlyLocalCallAllowed ¶
func OnlyLocalCallAllowed() gin.HandlerFunc
Types ¶
This section is empty.