feat: add cloud router access and polish UI
This commit is contained in:
@@ -118,20 +118,21 @@ type Alert struct {
|
||||
}
|
||||
|
||||
type RemoteSession struct {
|
||||
ID string `json:"id"`
|
||||
DeviceID string `json:"device_id"`
|
||||
Target string `json:"target"`
|
||||
Status string `json:"status"`
|
||||
ServerHost string `json:"server_host,omitempty"`
|
||||
ServerPort int `json:"server_port,omitempty"`
|
||||
RemotePort int `json:"remote_port,omitempty"`
|
||||
LuCIPort int `json:"luci_port,omitempty"`
|
||||
LuCIScheme string `json:"luci_scheme,omitempty"`
|
||||
LocalHost string `json:"local_host,omitempty"`
|
||||
LocalPort int `json:"local_port,omitempty"`
|
||||
CommandID string `json:"command_id,omitempty"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
ExpiresAt time.Time `json:"expires_at"`
|
||||
StartedAt *time.Time `json:"started_at,omitempty"`
|
||||
ClosedAt *time.Time `json:"closed_at,omitempty"`
|
||||
ID string `json:"id"`
|
||||
DeviceID string `json:"device_id"`
|
||||
Target string `json:"target"`
|
||||
Status string `json:"status"`
|
||||
ServerHost string `json:"server_host,omitempty"`
|
||||
ServerPort int `json:"server_port,omitempty"`
|
||||
RemotePort int `json:"remote_port,omitempty"`
|
||||
LuCIPort int `json:"luci_port,omitempty"`
|
||||
LuCIScheme string `json:"luci_scheme,omitempty"`
|
||||
LocalHost string `json:"local_host,omitempty"`
|
||||
LocalPort int `json:"local_port,omitempty"`
|
||||
CommandID string `json:"command_id,omitempty"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
ExpiresAt time.Time `json:"expires_at"`
|
||||
StartedAt *time.Time `json:"started_at,omitempty"`
|
||||
ClosedAt *time.Time `json:"closed_at,omitempty"`
|
||||
AccessState string `json:"access_state,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user