Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ListenAddress string `toml:"listen_address"` DatabaseAddress string `toml:"database_address"` DatabaseName string `toml:"database_name"` NATSClusterID string `toml:"nats_cluster_id"` NATSURL string `toml:"nats_url"` GRPCTLSCertificateFile string `toml:"grpc_tls_certificate_file"` GRPCTLSKeyFile string `toml:"grpc_tls_key_file"` }
Config of EventStore service.
type EventStore ¶
type EventStore struct {
// contains filtered or unexported fields
}
EventStore defines gRPC handler for REST API and NATS events propagator.
func NewEventStore ¶
func NewEventStore( log *zap.Logger, config *Config, eventsStreaming *event.EventsStreaming, authDelivery *authDelivery.AuthenticateDelivery, employeeRepository employee.Repository, roleRepository role.Repository, ) *EventStore
NewEventStore returns new event store service.
Click to show internal directories.
Click to hide internal directories.