Documentation ¶
Overview ¶
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Index ¶
- Variables
- func GenerateWalletSQL(filter QueryParams, limit int, count bool) string
- func GetTableName(currency string) string
- func GetWallet(c helper.Context, currencyName string) (res schema.Response)
- func GetWallets(c helper.Context) (res schema.Response)
- func IsValidWallet(walletName string) bool
- type QueryParams
Constants ¶
This section is empty.
Variables ¶
View Source
var GetWalletRouter = router.Handler(func(c router.Context) { currency := c.Param("currency") c.ResponseFunc(nil, func() schema.Response { return GetWallet(helper.NewContext(&c), currency) }) })
View Source
var GetWalletsRouter = router.Handler(func(c router.Context) { c.ResponseFunc(nil, func() schema.Response { return GetWallets(helper.NewContext(&c)) }) })
Functions ¶
func GenerateWalletSQL ¶
func GenerateWalletSQL(filter QueryParams, limit int, count bool) string
func GetTableName ¶
func IsValidWallet ¶
Types ¶
type QueryParams ¶
Click to show internal directories.
Click to hide internal directories.