loki

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Methods added in v0.4.0

func Methods() []string

Methods returns module methods

func ModuleName added in v0.4.0

func ModuleName(name string) string

ModuleName returns the module name

Types

type Loki

type Loki struct {
	// contains filtered or unexported fields
}

Loki represents the datasource of type Loki

func New

func New(cfg loki.Loki, logger *zap.Logger) (*Loki, error)

New creates new Loki datasource

func (*Loki) GetLoader

func (m *Loki) GetLoader(_ *script.Script) lua.LGFunction

GetLoader returns the datasource lua loader

func (*Loki) Name

func (m *Loki) Name() string

Name returns the datasource name

func (*Loki) Stop

func (m *Loki) Stop() error

Stop the datasource

Jump to

Keyboard shortcuts

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