mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
feat: terminal api
This commit is contained in:
12
model/terminal_api.go
Normal file
12
model/terminal_api.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package model
|
||||
|
||||
type TerminalForm struct {
|
||||
Protocol string `json:"protocol,omitempty"`
|
||||
ServerID uint64 `json:"server_id,omitempty"`
|
||||
}
|
||||
|
||||
type CreateTerminalResponse struct {
|
||||
SessionID string `json:"session_id,omitempty"`
|
||||
ServerID uint64 `json:"server_id,omitempty"`
|
||||
ServerName string `json:"server_name,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user