28 lines
1.2 KiB
Go
28 lines
1.2 KiB
Go
package probe
|
|
|
|
import (
|
|
"encoding/json"
|
|
|
|
"git.loafle.net/overflow/commons-go/core/util"
|
|
"git.loafle.net/overflow/commons-go/model/meta"
|
|
"git.loafle.net/overflow/commons-go/model/domain"
|
|
"git.loafle.net/overflow/commons-go/model/member"
|
|
)
|
|
|
|
type Probe struct {
|
|
ID json.Number `json:"id,Number,omitempty"`
|
|
MetaProbeStatus *meta.MetaProbeStatus `json:"metaProbeStatus,omitempty"`
|
|
Description string `json:"description,omitempty"`
|
|
Domain *domain.Domain `json:"domain,omitempty"`
|
|
ProbeKey string `json:"probeKey,omitempty"`
|
|
EncryptionKey string `json:"encryptionKey,omitempty"`
|
|
Name string `json:"name,omitempty"`
|
|
Cidr string `json:"cidr,omitempty"`
|
|
AuthorizeDate *util.Timestamp `json:"authorizeDate,omitempty"`
|
|
AuthorizeMember *member.Member `json:"authorizeMember,omitempty"`
|
|
TargetCount int `json:"targetCount,omitempty"`
|
|
ConnectDate *util.Timestamp `json:"connectDate,omitempty"`
|
|
ConnectAddress string `json:"connectAddress,omitempty"`
|
|
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
|
}
|