assethandlers

package
v0.0.0-...-c477d60 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 License: GPL-3.0 Imports: 15 Imported by: 1

Documentation

Index

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

FindAsset handle find asset route, returns asset data to the user

func FindAssets

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

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.

Jump to

Keyboard shortcuts

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