You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
403 B
12 lines
403 B
package kafka
|
|
|
|
const (
|
|
TopicRegistrations string = "registrations" // Топик для регистраций
|
|
)
|
|
|
|
// Структура сообщения передаваемого при регистрации
|
|
type MessageRegistration struct {
|
|
ID int64 `json:"unq"` // Уникальный идентификатор сообщения
|
|
Code string `json:"code"`
|
|
Email string `json:"email"`
|
|
}
|
|
|