MCPcopy Create free account

hub / github.com/AleksK1NG/Go-CQRS-Kafka-gRPC-Microservices / functions

Functions555 in github.com/AleksK1NG/Go-CQRS-Kafka-gRPC-Microservices

MethodGetName
()
reader_service/proto/product_reader/product_reader_messages.pb.go:161
MethodGetName
()
reader_service/proto/product_reader/product_reader_messages.pb.go:279
MethodGetNewKafkaReader
(kafkaURL []string, topic, groupID string)
pkg/kafka/consumer_group.go:21
MethodGetNewKafkaWriter
(topic string)
pkg/kafka/consumer_group.go:22
MethodGetNewKafkaWriter
GetNewKafkaWriter create new kafka producer
pkg/kafka/consumer_group.go:57
MethodGetPage
()
reader_service/proto/product_reader/product_reader_messages.pb.go:563
MethodGetPrice
()
writer_service/proto/product_writer/product_writer_messages.pb.go:175
MethodGetPrice
()
writer_service/proto/product_writer/product_writer_messages.pb.go:293
MethodGetPrice
()
reader_service/proto/product_reader/product_reader_messages.pb.go:175
MethodGetPrice
()
reader_service/proto/product_reader/product_reader_messages.pb.go:293
MethodGetProduct
()
writer_service/proto/product_writer/product_writer_messages.pb.go:425
MethodGetProduct
()
reader_service/proto/product_reader/product_reader_messages.pb.go:434
MethodGetProduct
(ctx context.Context, key string)
reader_service/internal/product/repository/redis_repository.go:45
MethodGetProductByID
()
api_gateway_service/internal/products/delivery.go:10
MethodGetProductById
(ctx context.Context, in *GetProductByIdReq, opts ...grpc.CallOption)
writer_service/proto/product_writer/product_writer_grpc.pb.go:51
MethodGetProductById
(context.Context, *GetProductByIdReq)
writer_service/proto/product_writer/product_writer_grpc.pb.go:66
MethodGetProductById
(context.Context, *GetProductByIdReq)
writer_service/proto/product_writer/product_writer_grpc.pb.go:79
MethodGetProductById
(ctx context.Context, req *writerService.GetProductByIdReq)
writer_service/internal/product/delivery/grpc/grpc_service.go:88
MethodGetProductById
(ctx context.Context, uuid uuid.UUID)
writer_service/internal/product/repository/repository.go:14
MethodGetProductById
(ctx context.Context, uuid uuid.UUID)
writer_service/internal/product/repository/pg_repository.go:62
MethodGetProductById
(ctx context.Context, in *GetProductByIdReq, opts ...grpc.CallOption)
reader_service/proto/product_reader/product_reader_grpc.pb.go:53
MethodGetProductById
(context.Context, *GetProductByIdReq)
reader_service/proto/product_reader/product_reader_grpc.pb.go:86
MethodGetProductById
(context.Context, *GetProductByIdReq)
reader_service/proto/product_reader/product_reader_grpc.pb.go:101
MethodGetProductById
(ctx context.Context, req *readerService.GetProductByIdReq)
reader_service/internal/product/delivery/grpc/grpc_service.go:76
MethodGetProductById
(ctx context.Context, uuid uuid.UUID)
reader_service/internal/product/repository/mongo_repository.go:62
MethodGetProductID
()
writer_service/proto/product_writer/product_writer_messages.pb.go:154
MethodGetProductID
()
writer_service/proto/product_writer/product_writer_messages.pb.go:222
MethodGetProductID
()
writer_service/proto/product_writer/product_writer_messages.pb.go:272
MethodGetProductID
()
writer_service/proto/product_writer/product_writer_messages.pb.go:378
MethodGetProductID
()
reader_service/proto/product_reader/product_reader_messages.pb.go:154
MethodGetProductID
()
reader_service/proto/product_reader/product_reader_messages.pb.go:222
MethodGetProductID
()
reader_service/proto/product_reader/product_reader_messages.pb.go:272
MethodGetProductID
()
reader_service/proto/product_reader/product_reader_messages.pb.go:340
MethodGetProductID
()
reader_service/proto/product_reader/product_reader_messages.pb.go:387
MethodGetProductID
()
reader_service/proto/product_reader/product_reader_messages.pb.go:631
MethodGetQueryString
GetQueryString get query string
pkg/utils/pagination.go:103
MethodGetSize
()
reader_service/proto/product_reader/product_reader_messages.pb.go:570
MethodGrpcClientInterceptorLogger
(method string, req, reply interface{}, time time.Duration, metaData map[string][]string, err error)
pkg/logger/logger.go:241
MethodGrpcMiddlewareAccessLogger
(method string, time time.Duration, metaData map[string][]string, err error)
pkg/logger/logger.go:231
MethodHandle
(ctx context.Context, command *DeleteProductCommand)
writer_service/internal/product/commands/delete_product.go:18
MethodHandle
(ctx context.Context, command *DeleteProductCommand)
writer_service/internal/product/commands/delete_product.go:32
MethodHandle
(ctx context.Context, command *UpdateProductCommand)
writer_service/internal/product/commands/update_product.go:20
MethodHandle
(ctx context.Context, command *UpdateProductCommand)
writer_service/internal/product/commands/update_product.go:34
MethodHandle
(ctx context.Context, command *CreateProductCommand)
writer_service/internal/product/commands/create_product.go:20
MethodHandle
(ctx context.Context, command *CreateProductCommand)
writer_service/internal/product/commands/create_product.go:34
MethodHandle
(ctx context.Context, query *GetProductByIdQuery)
writer_service/internal/product/queries/get_product_by_id.go:12
MethodHandle
(ctx context.Context, query *GetProductByIdQuery)
writer_service/internal/product/queries/get_product_by_id.go:25
MethodHandle
(ctx context.Context, command *DeleteProductCommand)
api_gateway_service/internal/products/commands/delete_product.go:17
MethodHandle
(ctx context.Context, command *DeleteProductCommand)
api_gateway_service/internal/products/commands/delete_product.go:30
MethodHandle
(ctx context.Context, command *UpdateProductCommand)
api_gateway_service/internal/products/commands/update_product.go:17
MethodHandle
(ctx context.Context, command *UpdateProductCommand)
api_gateway_service/internal/products/commands/update_product.go:30
MethodHandle
(ctx context.Context, command *CreateProductCommand)
api_gateway_service/internal/products/commands/create_product.go:17
MethodHandle
(ctx context.Context, command *CreateProductCommand)
api_gateway_service/internal/products/commands/create_product.go:30
MethodHandle
(ctx context.Context, query *SearchProductQuery)
api_gateway_service/internal/products/queries/search_product.go:14
MethodHandle
(ctx context.Context, query *SearchProductQuery)
api_gateway_service/internal/products/queries/search_product.go:27
MethodHandle
(ctx context.Context, query *GetProductByIdQuery)
api_gateway_service/internal/products/queries/get_by_id.go:14
MethodHandle
(ctx context.Context, query *GetProductByIdQuery)
api_gateway_service/internal/products/queries/get_by_id.go:27
MethodHandle
(ctx context.Context, command *DeleteProductCommand)
reader_service/internal/product/commands/delete_product.go:12
MethodHandle
(ctx context.Context, command *DeleteProductCommand)
reader_service/internal/product/commands/delete_product.go:26
MethodHandle
(ctx context.Context, command *UpdateProductCommand)
reader_service/internal/product/commands/update_product.go:13
MethodHandle
(ctx context.Context, command *UpdateProductCommand)
reader_service/internal/product/commands/update_product.go:27
MethodHandle
(ctx context.Context, command *CreateProductCommand)
reader_service/internal/product/commands/create_product.go:13
MethodHandle
(ctx context.Context, command *CreateProductCommand)
reader_service/internal/product/commands/create_product.go:27
MethodHandle
(ctx context.Context, query *SearchProductQuery)
reader_service/internal/product/queries/search.go:26
MethodHandle
(ctx context.Context, query *GetProductByIdQuery)
reader_service/internal/product/queries/get_by_id.go:13
MethodHandle
(ctx context.Context, query *GetProductByIdQuery)
reader_service/internal/product/queries/get_by_id.go:27
MethodHttpMiddlewareAccessLogger
(method, uri string, status int, size int64, time time.Duration)
pkg/logger/logger.go:220
MethodInfo
Info uses fmt.Sprint to construct and log a message
pkg/logger/logger.go:140
MethodInfof
Infof uses fmt.Sprintf to log a templated message.
pkg/logger/logger.go:145
MethodInitLogger
InitLogger Init logger
pkg/logger/logger.go:83
MethodKafkaLogCommittedMessage
(topic string, partition int, offset int64)
pkg/logger/logger.go:265
MethodKafkaProcessMessage
(topic string, partition int, message string, workerID int, offset int64, time time.Time)
pkg/logger/logger.go:253
MethodLogger
Logger Interceptor
pkg/interceptors/manager.go:40
FunctionNewBadRequestError
NewBadRequestError New Bad Request Error
pkg/http_errors/http_errors.go:106
FunctionNewConsumerGroup
NewConsumerGroup kafka consumer group constructor
pkg/kafka/consumer_group.go:32
FunctionNewForbiddenError
NewForbiddenError New Forbidden Error
pkg/http_errors/http_errors.go:146
FunctionNewHttpClient
(debugMode bool)
pkg/http_client/http_client.go:19
FunctionNewInternalServerError
NewInternalServerError New Internal Server Error
pkg/http_errors/http_errors.go:160
FunctionNewKafkaConn
NewKafkaConn create new kafka connection
pkg/kafka/client.go:10
FunctionNewKafkaReader
NewKafkaReader create new configured kafka reader
pkg/kafka/reader.go:9
FunctionNewLoggerConfig
(logLevel string, devMode bool, encoder string)
pkg/logger/logger.go:17
FunctionNewNotFoundError
NewNotFoundError New Not Found Error
pkg/http_errors/http_errors.go:119
FunctionNewProductMessageProcessor
(log logger.Logger, cfg *config.Config, v *validator.Validate, ps *service.ProductService, metrics *metrics.Wr
writer_service/internal/product/delivery/kafka/consumer_group.go:26
FunctionNewReaderGrpcService
(log logger.Logger, cfg *config.Config, v *validator.Validate, ps *service.ProductService, metrics *metrics.Re
reader_service/internal/product/delivery/grpc/grpc_service.go:30
FunctionNewReaderMessageProcessor
(log logger.Logger, cfg *config.Config, v *validator.Validate, ps *service.ProductService, metrics *metrics.Re
reader_service/internal/product/delivery/kafka/consumer_group.go:26
FunctionNewReaderServiceClient
(cc grpc.ClientConnInterface)
reader_service/proto/product_reader/product_reader_grpc.pb.go:31
FunctionNewRestErrorFromBytes
NewRestErrorFromBytes New Rest Error From Bytes
pkg/http_errors/http_errors.go:97
FunctionNewRestErrorWithMessage
NewRestErrorWithMessage New Rest Error With Message
pkg/http_errors/http_errors.go:87
FunctionNewUnauthorizedError
NewUnauthorizedError New Unauthorized Error
pkg/http_errors/http_errors.go:132
FunctionNewUniversalRedisClient
(cfg *Config)
pkg/redis/redis.go:27
FunctionNewWriterGrpcService
(log logger.Logger, cfg *config.Config, v *validator.Validate, ps *service.ProductService, metrics *metrics.Wr
writer_service/internal/product/delivery/grpc/grpc_service.go:28
FunctionNewWriterServiceClient
(cc grpc.ClientConnInterface)
writer_service/proto/product_writer/product_writer_grpc.pb.go:29
FunctionNewWriterWrapper
NewWriterWrapper response writer wrapper
pkg/http_utils/http_utils.go:12
MethodPanic
Panic uses fmt.Sprint to construct and log a message, then panics.
pkg/logger/logger.go:195
MethodPanicf
Panicf uses fmt.Sprintf to log a templated message, then panics
pkg/logger/logger.go:200
MethodPrintf
(template string, args ...interface{})
pkg/logger/logger.go:39
MethodPrintf
Printf uses fmt.Sprintf to log a templated message
pkg/logger/logger.go:150
MethodProcessMessages
(ctx context.Context, r *kafka.Reader, wg *sync.WaitGroup, workerID int)
writer_service/internal/product/delivery/kafka/consumer_group.go:30
MethodProcessMessages
(ctx context.Context, r *kafka.Reader, wg *sync.WaitGroup, workerID int)
pkg/kafka/consumer_group.go:13
MethodProcessMessages
(ctx context.Context, r *kafka.Reader, wg *sync.WaitGroup, workerID int)
reader_service/internal/product/delivery/kafka/consumer_group.go:30
← previousnext →301–400 of 555, ranked by callers