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: 5
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
ClientSecret string `json:"client_secret,omitempty"`
Pin string `json:"pin"`
}
type Group struct {
PublicKey string `json:"public_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 Member struct {
ClientID string `json:"client_id,omitempty"`
VerifyKey string `json:"verify_key,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.