go_micro_api_template

package
v0.0.0-...-1891367 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package go_micro_api_template is a generated protocol buffer package.

It is generated from these files:

github.com/micro/examples/template/api/proto/example/example.proto

It has these top-level messages:

Package go_micro_api_template is a generated protocol buffer package.

It is generated from these files:

github.com/micro/examples/template/api/proto/example/example.proto

It has these top-level messages:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterExampleHandler

func RegisterExampleHandler(s server.Server, hdlr ExampleHandler, opts ...server.HandlerOption)

func RegisterExampleServer

func RegisterExampleServer(s *grpc.Server, srv ExampleServer)

Types

type ExampleClient

type ExampleClient interface {
	Call(ctx context.Context, in *go_api.Request, opts ...grpc.CallOption) (*go_api.Response, error)
}

func NewExampleClient

func NewExampleClient(cc *grpc.ClientConn) ExampleClient

type ExampleHandler

type ExampleHandler interface {
	Call(context.Context, *go_api.Request, *go_api.Response) error
}

type ExampleServer

type ExampleServer interface {
	Call(context.Context, *go_api.Request) (*go_api.Response, error)
}

type ExampleService

type ExampleService interface {
	Call(ctx context.Context, in *go_api.Request, opts ...client.CallOption) (*go_api.Response, error)
}

func NewExampleService

func NewExampleService(serviceName string, c client.Client) ExampleService

Jump to

Keyboard shortcuts

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