// Check is the Condition interface implementation for Map func (m *Map) Check(params data.Parameters) bool { if value, error := params.Get(m.Name); error == nil { if _, check := m.Values[value]; check { return !m.Exclude } } return m.Exclude }
//TypeValue is the common interval value function func TypeValue(params data.Parameters) int64 { return int64(params.Type()) }
//TimeValue is the common interval value function func TimeValue(params data.Parameters) int64 { return params.Time() }