grpc_service

package
v0.0.0-...-eda81a1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureReceivers

func ConfigureReceivers(config *config.Config, topics ...string) (*broker_io.KafkaReceiver, error)

func ConfigureServices

func ConfigureServices(controller Controllers, config *config.Config, metrics *grpc_prometheus.ServerMetrics) (*prometheus.Registry, *grpc.Server, error)

func ConfigureTransactionManager

func ConfigureTransactionManager(ctx context.Context, config *config.Config) (*manager.Manager, *postgresql.Database, error)

func LoadConfig

func LoadConfig(configFilePath string) *config.Config

func PrintMessage

func PrintMessage(message *sarama.ConsumerMessage)

Types

type Controllers

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

func ConfigureControllers

func ConfigureControllers(repos Repositories, txManager *trmpgx.Manager) Controllers

type Services

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

Jump to

Keyboard shortcuts

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