Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(esaApiKey, esaTeam string, opts ...PatrollerOptionFn) patroller
Types ¶
type Checker ¶
type Checker interface {
Check(post string) (*MaybeOutdated, error)
}
type MaybeOutdated ¶
type PatrollerOptionFn ¶
type PatrollerOptionFn func(*patroller)
func WithCheckerEnableSimpleAnnotation ¶
func WithCheckerEnableSimpleAnnotation() PatrollerOptionFn
func WithCheckerThreshold ¶
func WithCheckerThreshold(day int) PatrollerOptionFn
func WithDebug ¶
func WithDebug() PatrollerOptionFn
type Result ¶
type Result struct { Items []*MaybeOutdated `json:"items"` Warnings []*Warning `json:"warnings"` }
Click to show internal directories.
Click to hide internal directories.