ing
This commit is contained in:
parent
ace5a6e0f1
commit
66bdd4681d
|
@ -10,12 +10,14 @@ import (
|
|||
)
|
||||
|
||||
type NoAuthProbe struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Status *meta.MetaNoAuthProbeStatus `json:"status,omitempty"`
|
||||
TempProbeKey string `json:"tempProbeKey,omitempty"`
|
||||
CreateDate util.Timestamp `json:"createDate,omitempty"`
|
||||
APIKey string `json:"apiKey,omitempty"`
|
||||
Domain *domain.DomainMember `json:"domain,omitempty"`
|
||||
Probe *probe.Probe `json:"probe,omitempty"`
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Status *meta.MetaNoAuthProbeStatus `json:"status,omitempty"`
|
||||
TempProbeKey string `json:"tempProbeKey,omitempty"`
|
||||
CreateDate util.Timestamp `json:"createDate,omitempty"`
|
||||
APIKey string `json:"apiKey,omitempty"`
|
||||
Domain *domain.DomainMember `json:"domain,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"`
|
||||
AuthorizeDate util.Timestamp `json:"authorizeDate,omitempty"`
|
||||
AuthorizeMember *member.Member `json:"authorizeMember,omitempty"`
|
||||
ConnectDate util.Timestamp `json:"connectDate,omitempty"`
|
||||
ConnectAddress string `json:"connectAddress,omitempty"`
|
||||
|
||||
TargetCount int `json:"targetCount,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