Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Attributes ¶
Attributes returns list of config parameters from "node" section that are set in "attribute_i" format, where i in range [0,100).
func BootstrapAddresses ¶ added in v0.22.0
func BootstrapAddresses(c *config.Config) (addr network.AddressGroup)
BootstrapAddresses returns value of "addresses" config parameter from "node" section as network.AddressGroup.
Panics if value is not a string list of valid NeoFS network addresses.
func Key ¶
func Key(c *config.Config) *keys.PrivateKey
Key returns value of "key" config parameter from "node" section.
If value is not set, fallbacks to Wallet section.
Panics if value is incorrect filename of binary encoded private key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.