Discover Packages
github.com/fox-one/pando
cmd
pando-worker
config
package
Version:
v1.8.9-test-2
Opens a new window with list of versions in this module.
Published: Feb 24, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
DB db .Config `json:"db"`
Dapp Dapp `json:"dapp"`
Group Group `json:"group"`
Gas Gas `json:"gas"`
Flip Flip `json:"flip"`
Vault Vault `json:"vault"`
I18n I18n `json:"i18n"`
DataDog DataDog `json:"data_dog"`
}
Viperion load config by viper
type Dapp struct {
mixin.Keystore
Pin string `json:"pin"`
}
type DataDog struct {
ConversationID string `json:"conversation_id,omitempty"`
}
type Flip struct {
DetailPage string `json:"detail_page,omitempty"`
}
type Group struct {
Admins []string `json:"admins,omitempty"`
PrivateKey string `json:"private_key,omitempty"`
Members []string `json:"members,omitempty"`
Threshold uint8 `json:"threshold,omitempty"`
}
type I18n struct {
Path string `json:"path,omitempty"`
Language string `json:"language,omitempty"`
}
type Vault struct {
DetailPage string `json:"detail_page,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.