test

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeAnotherCallEndpoint

func MakeAnotherCallEndpoint(service Service) endpoint.Endpoint

func MakeCallEndpoint

func MakeCallEndpoint(service Service) endpoint.Endpoint

func MakeOtherCallEndpoint

func MakeOtherCallEndpoint(service Service) endpoint.Endpoint

Types

type Service

type Service interface {
	Call(ctx context.Context, req interface{}) (interface{}, error)
	OtherCall(ctx context.Context, req interface{}) (interface{}, error)
	AnotherCall(ctx context.Context, req interface{}) (interface{}, error)
}

Jump to

Keyboard shortcuts

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