Documentation ¶
Overview ¶
@host localhost:8085 @BasePath / @schemes http https
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitService ¶
func InitService(zapLogger *zap.Logger, db *gorm.DB, amqpproducerconn queues.Queue, amqpconsumerconn queues.Queue, counter service.Counters, tracer stdopentracing.Tracer, zipkinTracer *zipkin.Tracer) http.Handler
InitService builds the layers of the service "onion" from the inside out. First, the business logic service; then, the set of endpoints that wrap the service; and finally, a series of concrete transport adapters. The adapters, like the HTTP handler or the gRPC server, are the bridge between Go kit and the interfaces that the transports expect
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
pkg
|
|
config
* @File: config.config.go * @Description: Defines common service configuration * @Author: Yoan Yomba (yoanyombapro@gmail.com)
|
* @File: config.config.go * @Description: Defines common service configuration * @Author: Yoan Yomba (yoanyombapro@gmail.com) |
database/postgresql
Package postgresql witholds database specific utilities (postgres)
|
Package postgresql witholds database specific utilities (postgres) |
models/proto
Package user is a generated protocol buffer package.
|
Package user is a generated protocol buffer package. |
transport
* @File: transport.http.go * @Description: Defines REST endpoints for the user service * @Author: Yoan Yomba (yoanyomba@lens-platform.net)
|
* @File: transport.http.go * @Description: Defines REST endpoints for the user service * @Author: Yoan Yomba (yoanyomba@lens-platform.net) |
Click to show internal directories.
Click to hide internal directories.