We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4aeb06 commit f6399a4Copy full SHA for f6399a4
2 files changed
README.md
@@ -50,6 +50,9 @@ func main() {
50
panic(err)
51
}
52
fmt.Printf("the query fingerprint is: %s\n", fp)
53
+
54
+ srv := p.GetServerMeta()
55
+ fmt.Printf("the SQL server listens ton port %d", srv.Port)
56
57
```
58
slowql.go
@@ -55,6 +55,7 @@ type Kind int
type Parser interface {
// GetNext returns the next query of the parser
GetNext() Query
+ // GetServerMeta returns informations about the SQL server in usage
59
GetServerMeta() Server
60
parseBlocs(rawBlocs chan []string)
61
parseServerMeta(chan []string)
0 commit comments