client := kervanscout.New(kervanscout.Config{
Host: "...",
ProjectToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.....",
})
type Data struct {
Agent string `json:"agent"`
Json string `json:"json"`
}
data := Data{
Agent: c.GetHeader("User-Agent"),
Json: "{\"test\": \"test\"},{05327776655,5555 1111 1111 1233,[email protected]}",
}
defer client.CatchPanicError()
client.SendIssue("foo", "bar", kervanscout.Options{
Payload:data,
})
-
Notifications
You must be signed in to change notification settings - Fork 1
License
kervandev/kervan-scout-go
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published