Package list golang-github-go-kit-kit / 65599cf
Add missing comments Marcus Olsson 5 years ago
4 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
1212 Service
1313 }
1414
15 // NewLoggingService ...
15 // NewLoggingService returns a new instance of a logging Service.
1616 func NewLoggingService(logger log.Logger, s Service) Service {
1717 return &loggingService{logger, s}
1818 }
1313 Service
1414 }
1515
16 // NewLoggingService ...
16 // NewLoggingService returns a new instance of a logging Service.
1717 func NewLoggingService(logger log.Logger, s Service) Service {
1818 return &loggingService{logger, s}
1919 }
5151 return itineraries
5252 }
5353
54 // ServiceMiddleware ...
54 // ServiceMiddleware defines a middleware for a routing service.
5555 type ServiceMiddleware func(Service) Service
5656
57 // NewProxyingMiddleware ...
57 // NewProxyingMiddleware returns a new instance of a proxying middleware.
5858 func NewProxyingMiddleware(proxyURL string, ctx context.Context) ServiceMiddleware {
5959 return func(next Service) Service {
6060 var e endpoint.Endpoint
1010 Service
1111 }
1212
13 // NewLoggingService ...
13 // NewLoggingService returns a new instance of a logging Service.
1414 func NewLoggingService(logger log.Logger, s Service) Service {
1515 return &loggingService{logger, s}
1616 }