Documentation
¶
Overview ¶
Code generated by go run github.com/nfx/slrp/ql/generator/main.go Foo. DO NOT EDIT.
Code generated by go run github.com/nfx/slrp/ql/generator/main.go Foo. DO NOT EDIT.
*
Per source, we can have the following state transitions ¶
```mermaid # https://mermaid.live/ stateDiagram
direction LR
Idle --> Running
Running --> Failed
Running --> Idle
Failed --> Running
state Running {
direction LR
[*] --> Scheduled
Scheduled --> New
Scheduled --> Ignored
New --> Probing
Probing --> Found
Probing --> Timeout
Probing --> Blacklisted
Timeout --> Reverify
Reverify --> Scheduled
Found --> [*]
Blacklisted --> [*]
}
````
Index ¶
- Constants
- func NewBlacklistApi(probe *Probe, info *ipinfo.Lookup) *blacklistDashboard
- func NewReverifyApi(probe *Probe, info *ipinfo.Lookup) *reverifyDashboard
- type Probe
- func (p *Probe) Configure(c app.Config) error
- func (p *Probe) Forget(ctx context.Context, proxy pmux.Proxy, err error) bool
- func (p *Probe) HttpDeletetByID(id string, r *http.Request) (interface{}, error)
- func (p *Probe) HttpGet(_ *http.Request) (interface{}, error)
- func (p *Probe) MarshalBinary() ([]byte, error)
- func (p *Probe) Schedule(ctx context.Context, proxy pmux.Proxy, source int) bool
- func (p *Probe) Snapshot() internal
- func (p *Probe) Start(ctx app.Context)
- func (p *Probe) UnmarshalBinary(data []byte) error
- type Stats2
Constants ¶
View Source
const Reverify int = 0
Variables ¶
This section is empty.
Functions ¶
func NewBlacklistApi ¶ added in v0.0.2
func NewReverifyApi ¶ added in v0.2.0
Types ¶
type Probe ¶
type Probe struct {
// contains filtered or unexported fields
}
func (*Probe) HttpDeletetByID ¶
func (*Probe) MarshalBinary ¶
func (*Probe) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.