* MM-31436: Upgrade dependencies

Ran make update-dependencies

https://mattermost.atlassian.net/browse/MM-31436

```release-note
NONE
```

* add missing dep

* fix lru marshaling
Этот коммит содержится в:
Agniva De Sarker
2021-01-07 14:39:17 +05:30
коммит произвёл GitHub
родитель 09d2f698cc
Коммит 091659c8ad
808 изменённых файлов: 57414 добавлений и 46282 удалений

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"`