Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FilterRule (0.07 sec)

  1. internal/event/config.go

    }
    
    // FilterRule - represents elements inside <FilterRule>...</FilterRule>
    type FilterRule struct {
    	Name  string `xml:"Name"`
    	Value string `xml:"Value"`
    }
    
    func (filter FilterRule) isEmpty() bool {
    	return filter.Name == "" && filter.Value == ""
    }
    
    // MarshalXML implements a custom marshaller to support `omitempty` feature.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
Back to top