terraform/vendor/github.com/logentries/le_goclient/README.md

24 lines
426 B
Markdown
Raw Normal View History

# Logentries client (golang)
Provides the capability to perform CRUD operations on log sets, logs, and log types.
# Example
```
package main
import (
"fmt"
logentries "github.com/logentries/le_goclient"
)
func main() {
client := logentries.NewClient("<account_key>")
res, err := client.User.Read(logentries.UserReadRequest{})
fmt.Printf("err: %s\n", err)
fmt.Println(res)
}
```
# License
See LICENSE.md