Discover Packages
github.com/omni-network/omni
lib
feature
package
Version:
v0.11.0
Opens a new window with list of versions in this module.
Published: Nov 25, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 4
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.
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 (
FlagEVMStakingModule Flag = "evm-staking-module"
)
Enabled returns true if the flag is enabled in the context.
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.