Documentation ¶
Index ¶
Constants ¶
View Source
const InnerNet_state_start = "1001"
View Source
const InnerNet_state_stop = "2002"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InnerNetClientDto ¶
type InnerNetDto ¶
type InnerNetDto struct { dto.PageDto InnerNetId string `json:"innerNetId" sql:"-" ` InnerNetPort string `json:"innerNetPort" sql:"-" ` Tun string `json:"tun" ` TunName string `json:"tunName" sql:"-"` Dns string `json:"dns"` Protocol string `json:"protocol"` InnerNetHosts []*InnerNetHostsDto `json:"innerNetHosts"` HostIds string `json:"hostIds"` CreateTime time.Time `json:"createTime" sql:"-"` StatusCd string `json:"statusCd" sql:"-"` State string `json:"state"` }
type InnerNetHostsDto ¶
type InnerNetLogDto ¶
type InnerNetPrivilegeDto ¶
type InnerNetPrivilegeDto struct { dto.PageDto PId string `json:"pId" sql:"-" ` SrcUserId string `json:"srcUserId" sql:"-" ` SrcUserName string `json:"srcUserName" sql:"-"` SrcPassword string `json:"srcPassword" sql:"-"` TargetUserId string `json:"targetUserId" sql:"-" ` TargetPort string `json:"targetPort" sql:"-" ` CreateTime time.Time `json:"createTime" sql:"-"` StatusCd string `json:"statusCd" sql:"-"` Token string `json:"token"` }
type InnerNetUserDto ¶
type InnerNetUserDto struct { dto.PageDto UserId string `json:"userId" sql:"-" ` Username string `json:"username" ` Password string `json:"password" ` Tel string `json:"tel"` Ip string `json:"ip"` LoginTime time.Time `json:"loginTime" sql:"-"` CreateTime time.Time `json:"createTime" sql:"-"` StatusCd string `json:"statusCd" sql:"-"` Token string `json:"token"` }
type SlaveInnerNetDataDto ¶
type SlaveInnerNetDataDto struct { ServerIpUrl string `json:"serverIpUrl"` InnerNet InnerNetDto `json:"innerNet"` Users []*InnerNetUserDto Privileges []*InnerNetPrivilegeDto }
Click to show internal directories.
Click to hide internal directories.