trustwallet-assets/internal/config/validators.go

37 lines
871 B
Go
Raw Normal View History

package config
type RootFolder struct {
AllowedFiles []string `mapstructure:"allowed_files,omitempty"`
SkipFiles []string `mapstructure:"skip_files,omitempty"`
}
type ChainFolder struct {
AllowedFiles []string `mapstructure:"allowed_files,omitempty"`
}
type AssetFolder struct {
AllowedFiles []string `mapstructure:"allowed_files,omitempty"`
}
type ChainInfoFolder struct {
HasFiles []string `mapstructure:"has_files,omitempty"`
}
type ChainValidatorsAssetFolder struct {
HasFiles []string `mapstructure:"has_files,omitempty"`
}
type DappsFolder struct {
Ext string `mapstructure:"ext,omitempty"`
}
type CoinInfoFile struct {
Tags []Tag `mapstructure:"tags,omitempty"`
}
type Tag struct {
ID string `mapstructure:"id,omitempty"`
Name string `mapstructure:"name,omitempty"`
Description string `mapstructure:"description,omitempty"`
}