readonlystorefx

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(name string, opts ...thrift.ClientOption) interface{}

Client provides a ReadOnlyStore client to an Fx application using the given name for routing.

fx.Provide(
	readonlystorefx.Client("..."),
	newHandler,
)

Types

type Params added in v1.13.0

type Params struct {
	fx.In

	Provider yarpc.ClientConfig
}

Params defines the dependencies for the ReadOnlyStore client.

type Result added in v1.13.0

type Result struct {
	fx.Out

	Client readonlystoreclient.Interface
}

Result defines the output of this Fx module. It provides a ReadOnlyStore client to an Fx application.

Jump to

Keyboard shortcuts

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