endpoints

package
v0.0.0-...-e2cbee1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2017 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeFooEndpoint

func MakeFooEndpoint(svc service.TestGrpcService) (ep endpoint.Endpoint)

MakeFooEndpoint returns an endpoint that invokes Sum on the service. Primarily useful in a server.

Types

type Endpoints

type Endpoints struct {
	FooEndpoint endpoint.Endpoint
}

func New

func New(svc service.TestGrpcService) (ep Endpoints)

type FooRequest

type FooRequest struct {
	S string
}

type FooResponse

type FooResponse struct {
	Rs  string
	Err error
}

Jump to

Keyboard shortcuts

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