MM-31436: Upgrade dependencies (#16605)
* MM-31436: Upgrade dependencies Ran make update-dependencies https://mattermost.atlassian.net/browse/MM-31436 ```release-note NONE ``` * add missing dep * fix lru marshaling
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
09d2f698cc
Коммит
091659c8ad
20
vendor/github.com/splitio/go-split-commons/v2/push/dtos.go
сгенерированный
поставляемый
20
vendor/github.com/splitio/go-split-commons/v2/push/dtos.go
сгенерированный
поставляемый
@@ -1,5 +1,10 @@
|
||||
package push
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/splitio/go-toolkit/v3/common"
|
||||
)
|
||||
|
||||
// IncomingEvent struct to process every kind of notification that comes from streaming
|
||||
type IncomingEvent struct {
|
||||
id *string
|
||||
@@ -16,6 +21,21 @@ type IncomingEvent struct {
|
||||
href *string
|
||||
}
|
||||
|
||||
func (i *IncomingEvent) String() string {
|
||||
return fmt.Sprintf(`Incoming event [id="%s", ts=%d, enc="%s", data="%s", name="%s", client="%s", `+
|
||||
`event="%s", channel="%s", code=%d, status=%d]`,
|
||||
common.StringFromRef(i.id),
|
||||
common.Int64FromRef(i.timestamp),
|
||||
common.StringFromRef(i.encoding),
|
||||
common.StringFromRef(i.data),
|
||||
common.StringFromRef(i.name),
|
||||
common.StringFromRef(i.clientID),
|
||||
i.event,
|
||||
common.StringFromRef(i.channel),
|
||||
common.IntFromRef(i.code),
|
||||
common.IntFromRef(i.statusCode))
|
||||
}
|
||||
|
||||
// Metrics dto
|
||||
type Metrics struct {
|
||||
Publishers int `json:"publishers"`
|
||||
|
||||
Ссылка в новой задаче
Block a user