Documentation
¶
Index ¶
Constants ¶
View Source
const EnvPrefix = "neofs"
EnvPrefix is a prefix of ENV variables related to storage node configuration.
View Source
const EnvSeparator = "_"
EnvSeparator is a section separator in ENV variables.
Variables ¶
This section is empty.
Functions ¶
func CheckPtrBool ¶ added in v0.46.0
CheckPtrBool returns the value of v if it is not nil, otherwise returns def. If both v and def are nil, returns a new bool.
func ModeHook ¶ added in v0.46.0
func ModeHook() mapstructure.DecodeHookFuncType
ModeHook returns a mapstructure decode hook func that converts a string to a mode.Mode.
func SizeHook ¶ added in v0.46.0
func SizeHook() mapstructure.DecodeHookFuncType
SizeHook returns a mapstructure decode hook func that converts a string to a Size.
Types ¶
Click to show internal directories.
Click to hide internal directories.