Documentation ¶
Index ¶
- type Config
- func (c *Config) IsApricotPhase3Activated(timestamp time.Time) bool
- func (c *Config) IsApricotPhase5Activated(timestamp time.Time) bool
- func (c *Config) IsBanffActivated(timestamp time.Time) bool
- func (c *Config) IsCortinaActivated(timestamp time.Time) bool
- func (c *Config) IsDurangoActivated(timestamp time.Time) bool
- func (c *Config) IsEActivated(timestamp time.Time) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Time of the AP3 network upgrade ApricotPhase3Time time.Time // Time of the AP5 network upgrade ApricotPhase5Time time.Time // Time of the Banff network upgrade BanffTime time.Time // Time of the Cortina network upgrade CortinaTime time.Time // Time of the Durango network upgrade DurangoTime time.Time // Time of the E network upgrade EUpgradeTime time.Time }
func (*Config) IsApricotPhase3Activated ¶
func (*Config) IsApricotPhase5Activated ¶
Click to show internal directories.
Click to hide internal directories.