addsvc

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Sum(ctx context.Context, a, b int) (result int, err error)
	Concat(ctx context.Context, a, b string) (result string, err error)
}

Service describes a service that adds things together. Service realization should be in addsvc/service package.

@microgen middleware, logging, grpc, http, recovering, error-logging, tracing, caching, metrics @protobuf github.com/devimteam/microgen/examples/protobuf

Jump to

Keyboard shortcuts

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