forkresolver

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 14 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*shutter.Shutter
	// contains filtered or unexported fields
}

func New

func New(config *Config, modules *Modules) *App

func (*App) IsReady

func (a *App) IsReady() bool

func (*App) Run

func (a *App) Run() error

type Config

type Config struct {
	ServiceVersion  string        // dmesh service version (v1)
	GRPCListenAddr  string        // Address to listen for incoming gRPC requests
	HttpListenAddr  string        // Address to listen for incoming http requests
	PublishInterval time.Duration // longest duration a dmesh peer will not publish
	IndicesPath     string        // Location for inflight indices
	BlocksStoreURL  string        // Path to read blocks archives
}

type Modules

type Modules struct {
	BlockMapper search.BlockMapper
	Dmesh       dmeshClient.SearchClient
}

Jump to

Keyboard shortcuts

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