mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 09:20:55 +00:00
Update es.go
This commit is contained in:
parent
2117562113
commit
1c4085e7ea
@ -28,7 +28,7 @@ func NewES() logs.Logger {
|
|||||||
// please import this package
|
// please import this package
|
||||||
// usually means that you can import this package in your main package
|
// usually means that you can import this package in your main package
|
||||||
// for example, anonymous:
|
// for example, anonymous:
|
||||||
// import _ github.com/astaxie/beego/logs/es
|
// import _ "github.com/astaxie/beego/logs/es"
|
||||||
type esLogger struct {
|
type esLogger struct {
|
||||||
*elasticsearch.Client
|
*elasticsearch.Client
|
||||||
DSN string `json:"dsn"`
|
DSN string `json:"dsn"`
|
||||||
|
Loading…
Reference in New Issue
Block a user