endpoints

package
v0.0.0-...-a4d875f Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeFooEndpoint

func MakeFooEndpoint(svc service.TestThriftService) (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.TestThriftService) (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