controllers

package
v0.0.0-...-8556144 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: MIT Imports: 8 Imported by: 0

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.

func (StatusController) Get

func (s StatusController) Get(c *gin.Context)

Get a user public data.

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.

Jump to

Keyboard shortcuts

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