transport

package
v0.0.0-...-6d6d163 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrBadRouting for happend bad routing
	ErrBadRouting = errors.New("bad routing")
)

Functions

func NewGRPCService

func NewGRPCService(ctx context.Context, endpoint endpoints.Endpoints) pb.DictionaryServer

NewGRPCService create and return gprc service

func NewService

func NewService(endpoints endpoints.Endpoints, logger log.Logger) http.Handler

NewService return http.Handler for service

Types

This section is empty.

Jump to

Keyboard shortcuts

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