grpc

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 29 Imported by: 0

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 seqdb.Client,
	inmemWithRedisCache cache.Cache,
	redisCache cache.Cache,
	asyncSearches *asyncsearches.Service,
	p *profiles.Profiles,
) *API

func (*API) CancelAsyncSearch

func (*API) DeleteAsyncSearch

func (*API) GetAggregation

func (*API) GetEvent

func (*API) GetFields

func (*API) GetHistogram

func (*API) GetLimits

func (*API) GetPinnedFields

func (a *API) GetPinnedFields(_ 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) StartAsyncSearch

func (a *API) StartAsyncSearch(
	ctx context.Context,
	req *seqapi.StartAsyncSearchRequest,
) (*seqapi.StartAsyncSearchResponse, 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