grpc

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 29 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	seqapi.UnimplementedSeqAPIServiceServer
	// contains filtered or unexported fields
}

func New

func New(
	cfg config.SeqAPI,
	seqDBСlients map[string]seqdb.Client,
	inmemWithRedisCache cache.Cache,
	redisCache cache.Cache,
	asyncSearches asyncsearches.Service,
) *API

func (*API) GetAggregation

func (*API) GetEnvFromContext added in v0.51.0

func (a *API) GetEnvFromContext(ctx context.Context) string

func (*API) GetEnvs added in v0.51.0

func (*API) GetEvent

func (*API) GetFields

func (*API) GetHistogram

func (*API) GetLimits

func (*API) GetParams added in v0.51.0

func (a *API) GetParams(env string) (apiParams, error)

func (*API) GetPinnedFields

func (a *API) GetPinnedFields(ctx context.Context, _ *seqapi.GetFieldsRequest) (*seqapi.GetFieldsResponse, error)

func (*API) Search

func (a *API) Search(ctx context.Context, req *seqapi.SearchRequest) (*seqapi.SearchResponse, error)

func (*API) Status

func (a *API) Status(ctx context.Context, req *seqapi.StatusRequest) (*seqapi.StatusResponse, error)

Jump to

Keyboard shortcuts

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