Directories
¶
Path | Synopsis |
---|---|
api
|
|
events/v1
Package v1 is a reverse proxy.
|
Package v1 is a reverse proxy. |
cmd
|
|
events
Package main contains entrypoint for the events service.
|
Package main contains entrypoint for the events service. |
scheduler
Package main contains entrypoint for the scheduler service.
|
Package main contains entrypoint for the scheduler service. |
sender
Package main contains entrypoint for the sender service.
|
Package main contains entrypoint for the sender service. |
internal
|
|
app
Package app provides events service with business logic handling.
|
Package app provides events service with business logic handling. |
config/events
Package events provides configuration structures for the service.
|
Package events provides configuration structures for the service. |
config/scheduler
Package scheduler provides configuration structures for the service.
|
Package scheduler provides configuration structures for the service. |
config/sender
Package sender provides configuration structures for the service.
|
Package sender provides configuration structures for the service. |
dto
Package dto provides data transfer objects for the events service.
|
Package dto provides data transfer objects for the events service. |
errors
Package errors contains errors used in the project.
|
Package errors contains errors used in the project. |
scheduler
Package scheduler provides an events scheduler, which is responsible for queuing the storage for events which need notifications and cleaning up old events from the storage.
|
Package scheduler provides an events scheduler, which is responsible for queuing the storage for events which need notifications and cleaning up old events from the storage. |
sender
Package sender provides an events sender, which is responsible for queuing the message queue for notifications and their sending.
|
Package sender provides an events sender, which is responsible for queuing the message queue for notifications and their sending. |
server/grpc
Package grpc provides a gRPC server implementation.
|
Package grpc provides a gRPC server implementation. |
server/http
Package http contains the implementation of the HTTP server.
|
Package http contains the implementation of the HTTP server. |
storage
Package storage provides a storage interface and factory method for storage construction.
|
Package storage provides a storage interface and factory method for storage construction. |
storage/memory
Package memory provides an in-memory storage implementation.
|
Package memory provides an in-memory storage implementation. |
storage/sql
Package sql provides a SQL database storage implementation.
|
Package sql provides a SQL database storage implementation. |
types
Package types contains Event type and its constructor and helper functions.
|
Package types contains Event type and its constructor and helper functions. |
pkg
|
|
config
Package config provides configuration loader and the interface for working with configuration.
|
Package config provides configuration loader and the interface for working with configuration. |
logger
Package logger package provides a constructor and wrapper methods for an underlying logger (currently - slog.Logger).
|
Package logger package provides a constructor and wrapper methods for an underlying logger (currently - slog.Logger). |
rabbitmq
Package rabbitmq provides a RabbitMQ client, which is suitable for sending and receiving messages.
|
Package rabbitmq provides a RabbitMQ client, which is suitable for sending and receiving messages. |
Click to show internal directories.
Click to hide internal directories.