internal

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsyncWrite added in v0.0.11

func AsyncWrite(s Serializer)

func InitMetricWriter added in v0.0.11

func InitMetricWriter(p *kafka.Producer)

func NewInfluxdbClient added in v0.0.11

func NewInfluxdbClient(ctx context.Context, org, endpoint, bucket, token string) (def.TsdbWriter, error)

func Write added in v0.0.11

func Write(s Serializer) error

Types

type Serializer added in v0.0.11

type Serializer interface {
	Encode() ([]byte, error)
	Decode([]byte) error
}

Jump to

Keyboard shortcuts

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