endpoint

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set struct {
	AdditionEndpoint       endpoint.Endpoint
	SubtractionEndpoint    endpoint.Endpoint
	MultiplicationEndpoint endpoint.Endpoint
	DivisionEndpoint       endpoint.Endpoint
	GraphqlEndpoint        endpoint.Endpoint
}

Set collects all of the endpoints that compose a CalculatorService.

func NewSet

func NewSet(svc service.Calculator) Set

NewSet create a new set of endpoints that compose a CalculatorService.

Jump to

Keyboard shortcuts

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