api

package
v0.9.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArkAPIclient *core.ArkClient
View Source
var ArkGoStatsServerVersion string
View Source
var ArkStatsDB *storm.DB

Functions

func GetServerInformation

func GetServerInformation(c *gin.Context)

GetServerInformation Returns a server statistics

func InitGlobals

func InitGlobals()

func OnlyLocalCallAllowed

func OnlyLocalCallAllowed() gin.HandlerFunc

func ReceivePaymetLog

func ReceivePaymetLog(c *gin.Context)

ReceivePaymetLog from blockchain

func SendPaymentLog

func SendPaymentLog(c *gin.Context)

SendPaymentLog Returns a list of peers to client call. Response is in JSON

func SendPaymentLog4Delegate added in v0.8.0

func SendPaymentLog4Delegate(c *gin.Context)

SendPaymentLog4Delegate Returns a list of peers to client call. Response is in JSON

Types

type PostDataResponse

type PostDataResponse struct {
	Success  bool                  `json:"success,omitempty"`
	Payments []model.PaymentRecord `json:"payments,omitempty"`
	Error    string                `json:"error,omitempty"`
	Count    int                   `json:"count,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL