Documentation ¶
Index ¶
Constants ¶
View Source
const CREATE_WALLET_ACC_ENDPOINT = "/"
View Source
const WALLETS_DOMAIN_URL = "/api/wallets"
Variables ¶
This section is empty.
Functions ¶
func RunDomain ¶
func RunDomain(r *gin.Engine, walletsEnv *WalletsEnv, middlewares ...gin.HandlerFunc)
func WalletsRegister ¶
func WalletsRegister(router *gin.RouterGroup, env *WalletsEnv)
Types ¶
type CreateWalletParams ¶
type CreateWalletParams struct {
Password string `json:"password" binding:"required,password"`
}
type WalletResponse ¶
type WalletSerializer ¶
type WalletSerializer struct {
// contains filtered or unexported fields
}
func (WalletSerializer) Response ¶
func (t WalletSerializer) Response() WalletResponse
type WalletsEnv ¶
type WalletsEnv struct {
Keystore services.KeystoreService
}
func (*WalletsEnv) CreateWallet ¶
func (env *WalletsEnv) CreateWallet(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.