internal

package
v0.0.0-...-9afb84d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputeDoubleRequest

type ComputeDoubleRequest struct {
	Input64 int64
}

type ComputeDoubleResponse

type ComputeDoubleResponse struct {
	Response int64
}

type ServerInterface

type ServerInterface interface {
	ComputeDouble(ctx context.Context, request *ComputeDoubleRequest, version apiversion.Version) (*ComputeDoubleResponse, error)
	TellMeAPoem(ctx context.Context, request *TellMeAPoemRequest, version apiversion.Version) (*TellMeAPoemResponse, error)
}

all the functions the server needs to define

type TellMeAPoemRequest

type TellMeAPoemRequest struct {
	IWantATitle bool
}

type TellMeAPoemResponse

type TellMeAPoemResponse struct {
	Title string
	Lines []string
}

type VersionedAPI

type VersionedAPI interface {
	Register(grpcServer *grpc.Server)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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