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

func MountListeners

func MountListeners(zapLogger *zap.Logger, httpHandler http.Handler) group.Group

Types

This section is empty.

Source Files

Directories

Path Synopsis
pkg/config * @File: config.config.go * @Description: Defines common service configuration * @Author: Yoan Yomba (yoanyombapro@gmail.com)
pkg/database/postgresql Package postgresql witholds database specific utilities (postgres)
pkg/endpoint
pkg/helper
pkg/log
pkg/models/proto Package user is a generated protocol buffer package.
pkg/monitoring
pkg/queues
pkg/service
pkg/transport * @File: transport.http.go * @Description: Defines REST endpoints for the user service * @Author: Yoan Yomba (yoanyomba@lens-platform.net)
pkg/version