mattermost-community-enterp.../vendor/github.com/splitio/go-split-commons/v7/dtos/largesegment.go
Claude ec1f89217a Merge: Complete Mattermost Server with Community Enterprise
Full Mattermost server source with integrated Community Enterprise features.
Includes vendor directory for offline/air-gapped builds.

Structure:
- enterprise-impl/: Enterprise feature implementations
- enterprise-community/: Init files that register implementations
- enterprise/: Bridge imports (community_imports.go)
- vendor/: All dependencies for offline builds

Build (online):
  go build ./cmd/mattermost

Build (offline/air-gapped):
  go build -mod=vendor ./cmd/mattermost

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 23:59:07 +09:00

43 lines
1.0 KiB
Go

package dtos
import "net/http"
// Params
type Params struct {
Method string `json:"m"` // method
URL string `json:"u"` // url
Headers http.Header `json:"h"` // headers
Body []byte `json:"b,omitempty"` // body
}
// Data
type Data struct {
Interval *int64 `json:"i,omitempty"` // interval
Format int `json:"f"` // 0 unknown | 1 csv | otro // format
TotalKeys int64 `json:"k"` // totalKeys
FileSize int64 `json:"s"` // fileSize
ExpiresAt int64 `json:"e"` // expiration time url
}
// RFD struct
type RFD struct {
Data Data `json:"d"`
Params Params `json:"p"`
}
// LargeSegmentRFDResponseDTO
type LargeSegmentRFDResponseDTO struct {
Name string `json:"n"`
NotificationType string `json:"t"`
RFD *RFD `json:"rfd,omitempty"`
SpecVersion string `json:"v"`
ChangeNumber int64 `json:"cn"`
}
// LargeSegment
type LargeSegment struct {
Name string
Keys []string
ChangeNumber int64
}