mirrorclient

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	MirrorMirror(
		ctx context.Context,
		request *gen.Request,
		opts ...yarpc.CallOption,
	) (*gen.Response, error)

	MirrorInternalMirror(
		ctx context.Context,
		request *gen.InternalRequest,
		opts ...yarpc.CallOption,
	) (*gen.InternalResponse, error)
}

Client defines mirror client interface.

func NewClient

func NewClient(deps *module.Dependencies) Client

NewClient returns a new gRPC client for service mirror

Directories

Path Synopsis
Package clientmock is a generated GoMock package.
Package clientmock is a generated GoMock package.

Jump to

Keyboard shortcuts

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