Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PriceController ¶
type PriceController struct{}
PriceController describes a price controller.
func (PriceController) Get ¶
func (p PriceController) Get(c *gin.Context)
Get the current CoinMarketCap fiat price of ECA.
type StatusController ¶
type StatusController struct{}
StatusController describes a status controller.
type TransactionController ¶
type TransactionController struct{}
func (TransactionController) Get ¶
func (s TransactionController) Get(c *gin.Context)
Get a user public data.
func (TransactionController) Post ¶
func (s TransactionController) Post(c *gin.Context)
type TransactionRequest ¶
type TransactionRequest struct {
Hash string
}
type UserController ¶
type UserController struct{}
UserController describes a user controller.
func (UserController) Get ¶
func (u UserController) Get(c *gin.Context)
Get retrieves the authenticated user data.
func (UserController) Post ¶
func (u UserController) Post(c *gin.Context)
Post creates a new database entry for the authenticated user.
func (UserController) Put ¶
func (u UserController) Put(c *gin.Context)
Put update the authenticated user data.
type UserTokenController ¶
type UserTokenController struct{}
UserTokenController class.
func (UserTokenController) Get ¶
func (u UserTokenController) Get(c *gin.Context)
Get a user token challenge from a Purse Account address hash.
func (UserTokenController) Post ¶
func (u UserTokenController) Post(c *gin.Context)
Post a user token challenge from a Purse Account address hash.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.