Documentation
¶
Index ¶
Constants ¶
View Source
const ( TopicRegistrationReq = "user.registration.req" TopicLoginReq = "user.login.req" TopicRegistrations = "user.registrations" TopicLogins = "user.logins" )
View Source
const (
KeyCorrelationID = "correlation_id"
)
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(userService service.Service, kafkaBrokerURLs string) (controller.Controller, error)
Types ¶
type LoginWorker ¶
type LoginWorker struct {
// contains filtered or unexported fields
}
func (LoginWorker) Stop ¶
func (w LoginWorker) Stop() error
type RegistrationWorker ¶
type RegistrationWorker struct {
// contains filtered or unexported fields
}
func (RegistrationWorker) Stop ¶
func (w RegistrationWorker) Stop() error
type Worker ¶
func NewLoginWorker ¶
Click to show internal directories.
Click to hide internal directories.