wallet

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: MIT Imports: 15 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateWalletSQL

func GenerateWalletSQL(filter QueryParams, limit int, count bool) string

func GetTableName

func GetTableName(currency string) string

func GetWallet

func GetWallet(c helper.Context, currencyName string) (res schema.Response)

func GetWalletRouter

func GetWalletRouter(c *gin.Context)

func GetWallets

func GetWallets(c helper.Context) (res schema.Response)

func GetWalletsRouter

func GetWalletsRouter(c *gin.Context)

func IsValidWallet

func IsValidWallet(walletName string) bool

Types

type QueryParams

type QueryParams struct {
	Id       *string `json:"id"`       // 用户ID
	Currency *string `json:"currency"` // 钱包币种
}

Jump to

Keyboard shortcuts

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