gateway

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WriteService

type WriteService interface {
	WriteV1(ctx context.Context, req *WriteV1Request) error
	WriteV4(ctx context.Context, req *WriteV4Request) error
}

func GetWriteService

func GetWriteService() WriteService

type WriteV1Request

type WriteV1Request struct {
	Batch     []*model.Metric
	Extension map[string]string
	NoMerge   bool
}

type WriteV4Request

type WriteV4Request struct {
	Batch []*pb.WriteMetricsRequestV4_TaskResult
}

Jump to

Keyboard shortcuts

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