elasticsearch

package
v1.12.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(es *elasticsearch.Client, index string) zap.Sink

func NewCore

func NewCore() zapcore.Core

func RegisterSink

func RegisterSink()

kibana://${token}?index=${index}

Types

type Elasticsearch

type Elasticsearch struct {
	Es    *elasticsearch.Client
	Index string
}

func (*Elasticsearch) Close

func (k *Elasticsearch) Close() error

func (*Elasticsearch) Sync

func (k *Elasticsearch) Sync() error

func (*Elasticsearch) Write

func (k *Elasticsearch) Write(b []byte) (n int, err error)

TODO

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL