Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Email string `user:"true" help:"operator email address" default:""` Wallet string `user:"true" help:"operator wallet address" default:""` WalletFeatures WalletFeatures `user:"true" help:"operator wallet features" default:""` }
Config defines properties related to storage node operator metadata.
type WalletFeatures ¶
type WalletFeatures []string
WalletFeatures payout opt-in wallet features list.
func (*WalletFeatures) Set ¶
func (features *WalletFeatures) Set(value string) error
Set implements pflag.Value by parsing a comma separated list of wallet features.
func (WalletFeatures) String ¶
func (features WalletFeatures) String() string
String returns the comma separated list of wallet features.
func (WalletFeatures) Type ¶
func (features WalletFeatures) Type() string
Type returns the type of the pflag.Value.
Click to show internal directories.
Click to hide internal directories.