endpoints

package
v0.0.0-...-bfcc399 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeGetCategoriesEndpoint

func MakeGetCategoriesEndpoint(svc services.ArticleServicer) endpoint.Endpoint

GetCategories

Types

type Endpoints

type Endpoints struct {
	GetCategoriesEP endpoint.Endpoint
}

func NewEndpoints

func NewEndpoints(svc services.ArticleServicer, logger log.Logger, otTracer opentracing.Tracer, zipkinTracer *zipkin.Tracer) *Endpoints

func (*Endpoints) GetCategories

func (e *Endpoints) GetCategories(ctx context.Context) (res *articlePb.GetCategoriesResponse, err error)

Jump to

Keyboard shortcuts

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