Discover Packages
github.com/omni-network/omni
lib
feature
package
Version:
v0.18.0
Opens a new window with list of versions in this module.
Published: Aug 26, 2025
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
Documentation
¶
BindFlag binds the network identifier flag.
func SetGlobals(flags Flags )
SetGlobals enables all given flags globally.
WithFlag is a convenience function for testing to enable single flags.
WithFlags returns a copy of the context with the given flags enabled.
Note that this should only be called once on app startup.
Multiple calls will overwrite the existing flags.
Flag is a feature flag.
const (
FlagFuzzOctane Flag = "fuzz-octane"
)
Enabled returns true if the flag is enabled in the context or globally.
Flags is a convenience type for a slice of flags providing easy formatting to TOML and usage with spf13 flags.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.