Documentation
¶
Index ¶
- Constants
- type API
- func (api *API) CreateWallet(walletName string) (models.Wallet, error)
- func (api *API) DeleteWallet(wallet models.Wallet) error
- func (api *API) GetFund(insi string) (models.FundData, error)
- func (api *API) GetWallets() ([]models.Wallet, error)
- func (api *API) UpdateWallet(wallet models.Wallet) error
- type APIRef
- type APISetter
- type Loader
- type LoaderRef
- type LoaderSetter
- type State
- type StateRef
- type StateSetter
Constants ¶
View Source
const ( R_READ_WALLETS = "ReadWallets" R_CREATE_WALLET = "CreateWallet" R_READ_WALLET = "ReadWallet" R_UPDATE_WALLET = "UpdateWallet" R_DELETE_WALLET = "DeleteWallet" R_READ_FUND = "ReadFund" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Endpoint string // contains filtered or unexported fields }
API helps to communicate with the backend
func (*API) GetWallets ¶
GetWallets get all wallets
type Loader ¶
Loader helps to communicate with the backend
func (*Loader) UpdateFundData ¶
type LoaderSetter ¶
type LoaderSetter interface {
LoaderSet(*Loader)
}
type State ¶
type State struct {
S map[string]interface{} `vugu:"data"`
}
State web application store
type StateSetter ¶
type StateSetter interface {
StateSet(*State)
}
Click to show internal directories.
Click to hide internal directories.