nats migration

This commit is contained in:
2021-11-14 10:31:07 -03:00
parent 429580c010
commit 6aae4a5cdb
5 changed files with 75 additions and 17 deletions
+25
View File
@@ -6,6 +6,31 @@ import (
"go.digitalcircle.com.br/open/replaycli-go/api"
)
type Req struct {
To int
Url string
Id string
Eval string
Title string
Msg map[string]interface{}
}
type Res struct {
Id string
TabMetadata []TabMetadata
Ret map[string]interface{}
Raw []byte
}
type TabMetadata struct {
Description string `json:"description"`
DevtoolsFrontendUrl string `json:"devtoolsFrontendUrl"`
Id string `json:"id"`
Title string `json:"title"`
Type string `json:"type"`
Url string `json:"url"`
WebSocketDebuggerUrl string `json:"webSocketDebuggerUrl"`
}
type Cli struct {
*api.ApiCli
}