blob: 0764fc885d821496faf99441b511d72313786282 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package models
type RuleSet struct {
Tag string `json:"tag"`
Description string `json:"description"`
URL string `json:"url"`
Format string `json:"format"` // binary, source
Type string `json:"type"` // domain, ip
Optional bool `json:"optional"`
SHA256 string `json:"sha256,omitempty"`
}
type RuleSetManifest struct {
RuleSets []RuleSet `json:"rule_sets"`
}
type VersionResponse struct {
Version string `json:"version"`
URL string `json:"url"`
SHA256 string `json:"sha256,omitempty"`
Changelog string `json:"changelog,omitempty"`
}
|