infrastructure

package
v0.0.0-...-0bd68be Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Types

type GrpcServer

type GrpcServer struct {
	// contains filtered or unexported fields
}

func NewGrpcServer

func NewGrpcServer(port string, microservices applications.MicroserviceServer, loggerManager *zap.Logger) *GrpcServer

type IRedisManager

type IRedisManager interface {
}

type LoggerManager

type LoggerManager struct {
	Logger *zap.Logger
}

func NewLoggerManager

func NewLoggerManager(environment string) *LoggerManager

type Postgres

type Postgres struct {
	Database squirrel.StatementBuilderType
	// contains filtered or unexported fields
}

func NewPostgres

func NewPostgres(host string, port string, databaseName string, user string, password string, loggerManager *zap.Logger) *Postgres

type RedisManager

type RedisManager struct {
	Client *redis.Client
}

func NewRedisManager

func NewRedisManager(host string, port string, password string, loggerManager *zap.Logger) *RedisManager

Jump to

Keyboard shortcuts

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