feed

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2016 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUserNotFound = errors.New("user not found")
)

Functions

func EndpointInstrumentingMiddleware

func EndpointInstrumentingMiddleware(duration metrics.Histogram) endpoint.Middleware

func EndpointLoggingMiddleware

func EndpointLoggingMiddleware(logger log.Logger) endpoint.Middleware

func MakeCreateFeedEndpoint

func MakeCreateFeedEndpoint(s feed.FeedServer, tracer stdopentracing.Tracer, logger log.Logger) endpoint.Endpoint

func MakeGRPCServer

func MakeGRPCServer(ctx context.Context, s feed.FeedServer, tracer stdopentracing.Tracer, logger log.Logger) feed.FeedServer

MakeGRPCServer makes a set of endpoints available as a gRPC AddServer.

func MakeGetFeedsEndpoint

func MakeGetFeedsEndpoint(s feed.FeedServer, tracer stdopentracing.Tracer, logger log.Logger) endpoint.Endpoint

func NewFeedService

func NewFeedService() feed.FeedServer

NewFeedService returns a naive, stateless implementation of Feed Service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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