terraform/vendor/github.com/logentries/le_goclient
Derek Abdine 7bdc060d24 provider/logentries: Implementing logentries provider (#7067)
* logentries provider

* logentries vendoring

* logentries docs
2016-07-12 14:14:39 +01:00
..
LICENSE.md provider/logentries: Implementing logentries provider (#7067) 2016-07-12 14:14:39 +01:00
README.md provider/logentries: Implementing logentries provider (#7067) 2016-07-12 14:14:39 +01:00
client.go provider/logentries: Implementing logentries provider (#7067) 2016-07-12 14:14:39 +01:00
log.go provider/logentries: Implementing logentries provider (#7067) 2016-07-12 14:14:39 +01:00
logset.go provider/logentries: Implementing logentries provider (#7067) 2016-07-12 14:14:39 +01:00
logtype.go provider/logentries: Implementing logentries provider (#7067) 2016-07-12 14:14:39 +01:00
user.go provider/logentries: Implementing logentries provider (#7067) 2016-07-12 14:14:39 +01:00

README.md

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