Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GreeterService ¶
type GreeterService struct{}
GreeterService implementation of the Service interface.
func (GreeterService) Greeting ¶
func (GreeterService) Greeting(name string) (greeting string)
Greeting implementation of the Service.
func (GreeterService) Health ¶
func (GreeterService) Health() bool
Health implementation of the Service.
type ServiceMiddleware ¶
ServiceMiddleware describes a service middleware.
func LoggingMiddleware ¶
func LoggingMiddleware(logger log.Logger) ServiceMiddleware
LoggingMiddleware takes a logger as a dependency and returns a ServiceMiddleware.
Click to show internal directories.
Click to hide internal directories.