// listen on port 27017 for the key called payload
func main() {
ctx := context.TODO()
// ignore errors for now.
ch := make(chan bsoncore.Value)
go mcap.Listen(ctx, "payload", 27017, ch)
// start decoding payloads...
payload := <-ch
}
-
Notifications
You must be signed in to change notification settings - Fork 0
b1ron/mcap
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
mongo packet capture
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published