ing
This commit is contained in:
parent
ace5a6e0f1
commit
66bdd4681d
|
@ -18,4 +18,6 @@ type NoAuthProbe struct {
|
||||||
APIKey string `json:"apiKey,omitempty"`
|
APIKey string `json:"apiKey,omitempty"`
|
||||||
Domain *domain.DomainMember `json:"domain,omitempty"`
|
Domain *domain.DomainMember `json:"domain,omitempty"`
|
||||||
Probe *probe.Probe `json:"probe,omitempty"`
|
Probe *probe.Probe `json:"probe,omitempty"`
|
||||||
|
ConnectDate util.Timestamp `json:"connectDate,omitempty"`
|
||||||
|
ConnectAddress string `json:"connectAddress,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,8 @@ type Probe struct {
|
||||||
Cidr string `json:"cidr,omitempty"`
|
Cidr string `json:"cidr,omitempty"`
|
||||||
AuthorizeDate util.Timestamp `json:"authorizeDate,omitempty"`
|
AuthorizeDate util.Timestamp `json:"authorizeDate,omitempty"`
|
||||||
AuthorizeMember *member.Member `json:"authorizeMember,omitempty"`
|
AuthorizeMember *member.Member `json:"authorizeMember,omitempty"`
|
||||||
|
ConnectDate util.Timestamp `json:"connectDate,omitempty"`
|
||||||
|
ConnectAddress string `json:"connectAddress,omitempty"`
|
||||||
|
|
||||||
TargetCount int `json:"targetCount,omitempty"`
|
TargetCount int `json:"targetCount,omitempty"`
|
||||||
SensorCount int `json:"sensorCount,omitempty"`
|
SensorCount int `json:"sensorCount,omitempty"`
|
||||||
|
|
6
service/noauthprobe/NoAuthProbeService.go
Normal file
6
service/noauthprobe/NoAuthProbeService.go
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
package noauthprobe
|
||||||
|
|
||||||
|
type NoAuthProbeService interface {
|
||||||
|
Accept(probeKey string) error
|
||||||
|
Deny() error
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user