secondserviceserver

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(impl Interface) thrift.Service

New prepares an implementation of the SecondService service for registration.

handler := SecondServiceHandler{}
thrift.Register(dispatcher, secondserviceserver.New(handler))

Types

type Interface

type Interface interface {
	BlahBlah(
		ctx context.Context,
		reqMeta yarpc.ReqMeta,
	) (yarpc.ResMeta, error)

	SecondtestString(
		ctx context.Context,
		reqMeta yarpc.ReqMeta,
		Thing *string,
	) (string, yarpc.ResMeta, error)
}

Interface is the server-side interface for the SecondService service.

Jump to

Keyboard shortcuts

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