src

package
v0.0.0-...-e9c9027 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: MIT, MIT Imports: 25 Imported by: 0

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.

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)
log
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)

Jump to

Keyboard shortcuts

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