endpoints

package
v0.0.0-...-88bcb0b Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHelloEndpoint

func MakeHelloEndpoint(s service.Service) endpoint.Endpoint

Types

type Endpoints

type Endpoints struct {
	Hello endpoint.Endpoint
}

type HelloRequest

type HelloRequest struct {
	FirstName string
	LastName  string
}

type HelloResponse

type HelloResponse struct {
	Greeting string
	Err      error
}

func (HelloResponse) Failed

func (r HelloResponse) Failed() error

Jump to

Keyboard shortcuts

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