executor

package
v0.0.0-...-d500d3c Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package executor contains implementations of backend.Executor that depend on the query service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAsyncQueryServiceExecutor

func NewAsyncQueryServiceExecutor(logger *zap.Logger, svc query.AsyncQueryService, st backend.Store) backend.Executor

NewQueryServiceExecutor returns a new executor based on the given AsyncQueryService.

func NewQueryServiceExecutor

func NewQueryServiceExecutor(logger *zap.Logger, svc query.QueryService, st backend.Store) backend.Executor

NewQueryServiceExecutor returns a new executor based on the given QueryService. In general, you should prefer NewAsyncQueryServiceExecutor, as that code is smaller and simpler, because asynchronous queries are more in line with the Executor interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

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