aboutsummaryrefslogtreecommitdiff
path: root/dbstore/cpesearchtype.go
blob: 71785611739b81f71bea6df4fd24eaea3b8a71b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// database storage
package dbstore

//go:generate stringer -linecomment -type=CpeSearchType

// CPE search type
type CpeSearchType byte

const (
  CpeSearchAll CpeSearchType = iota // cpe/search-all
  CpeSearchTitle // cpe/search-title
  CpeSearchRef // cpe/search-ref
)