Documentation ¶
Index ¶
- func CreateAllPurposeAsset(sc datatype.ServiceContainer) gin.HandlerFunc
- func CreateAsset(sc datatype.ServiceContainer) gin.HandlerFunc
- func CreateAssetBlock(sc datatype.ServiceContainer) gin.HandlerFunc
- func FindAsset(sc datatype.ServiceContainer) gin.HandlerFunc
- func FindAssets(sc datatype.ServiceContainer) gin.HandlerFunc
- func GetUserFavoriteAssets(sc datatype.ServiceContainer) gin.HandlerFunc
- func InjectHandlers(sc datatype.ServiceContainer, rg *gin.RouterGroup)
- func OraclePing(sc datatype.ServiceContainer) gin.HandlerFunc
- func SensorVerifyBlock(sc datatype.ServiceContainer) gin.HandlerFunc
- func ToggleFavoriteAsset(sc datatype.ServiceContainer) gin.HandlerFunc
- func ToggleFavoriteBlock(sc datatype.ServiceContainer) gin.HandlerFunc
- func VerifyAssetBlock(sc datatype.ServiceContainer) gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAllPurposeAsset ¶
func CreateAllPurposeAsset(sc datatype.ServiceContainer) gin.HandlerFunc
CreateAllPurposeAsset create a new configured asset
func CreateAsset ¶
func CreateAsset(sc datatype.ServiceContainer) gin.HandlerFunc
CreateAsset create a new uncapped asset
func CreateAssetBlock ¶
func CreateAssetBlock(sc datatype.ServiceContainer) gin.HandlerFunc
CreateAssetBlock creat a new asset
func FindAsset ¶
func FindAsset(sc datatype.ServiceContainer) gin.HandlerFunc
FindAsset handle find asset route, returns asset data to the user
func FindAssets ¶
func FindAssets(sc datatype.ServiceContainer) gin.HandlerFunc
FindAssets fetch assets from db
func GetUserFavoriteAssets ¶
func GetUserFavoriteAssets(sc datatype.ServiceContainer) gin.HandlerFunc
GetUserFavoriteAssets get user's favorite assets
func InjectHandlers ¶
func InjectHandlers(sc datatype.ServiceContainer, rg *gin.RouterGroup)
InjectHandlers injects asset handlers into the application
func OraclePing ¶
func OraclePing(sc datatype.ServiceContainer) gin.HandlerFunc
OraclePing updates last ping for the oracle
func SensorVerifyBlock ¶
func SensorVerifyBlock(sc datatype.ServiceContainer) gin.HandlerFunc
SensorVerifyBlock for f2forum demo sensor hack API
func ToggleFavoriteAsset ¶
func ToggleFavoriteAsset(sc datatype.ServiceContainer) gin.HandlerFunc
ToggleFavoriteAsset toggles favorite asset
func ToggleFavoriteBlock ¶
func ToggleFavoriteBlock(sc datatype.ServiceContainer) gin.HandlerFunc
ToggleFavoriteBlock toggles favorite block
func VerifyAssetBlock ¶
func VerifyAssetBlock(sc datatype.ServiceContainer) gin.HandlerFunc
VerifyAssetBlock creat a new asset
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.