Documentation ¶
Overview ¶
package modifier provides a universal way of handling a slice of modifiers
Index ¶
- func Add[K Mod](slice *[]K, mod K, f int) (overwrote bool, evt glog.Event)
- func Find[K Mod](slice *[]K, key string) int
- func FindCheckExpiry[K Mod](slice *[]K, key string, f int) (int, bool)
- func LogAdd[K Mod](prefix string, index int, mod K, logger glog.Logger, overwrote bool, ...)
- type Base
- type Mod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct { ModKey string Dur int Hitlag bool ModExpiry int // contains filtered or unexported fields }
func NewBaseWithHitlag ¶
func (*Base) AffectedByHitlag ¶
Click to show internal directories.
Click to hide internal directories.