package
Version:
v1.2.6
Opens a new window with list of versions in this module.
Published: Mar 24, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
DB db.Config `json:"db"`
Dapp Dapp `json:"dapp"`
Group Group `json:"group,omitempty"`
I18n I18n `json:"i18n,omitempty"`
}
Viperion load config by viper
type Dapp struct {
mixin.Keystore
Pin string `json:"pin"`
}
type Group struct {
Admins []string `json:"admins,omitempty"`
PrivateKey string `json:"private_key,omitempty"`
Members []string `json:"members,omitempty"`
Threshold uint8 `json:"threshold,omitempty"`
Vote Vote `json:"vote,omitempty"`
}
type I18n struct {
Path string `json:"path,omitempty"`
Language string `json:"language,omitempty"`
}
type Vote struct {
Asset string `json:"asset,omitempty"`
Amount decimal.Decimal `json:"amount,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.