upstreams.yaml

This commit is contained in:
2023-11-27 17:19:08 +08:00
parent 4125c78f33
commit fb19d8a353
5 changed files with 41 additions and 19 deletions

View File

@@ -11,17 +11,18 @@ import (
)
type Record struct {
ID int64 `gorm:"primaryKey,autoIncrement"`
CreatedAt time.Time
IP string
Body string `gorm:"serializer:json"`
Model string
Response string
ResponseTime time.Duration
ElapsedTime time.Duration
Status int
UpstreamID uint
Authorization string
ID int64 `gorm:"primaryKey,autoIncrement"`
UpstreamEndpoint string
CreatedAt time.Time
IP string
Body string `gorm:"serializer:json"`
Model string
Response string
ResponseTime time.Duration
ElapsedTime time.Duration
Status int
UpstreamID uint
Authorization string
}
type StreamModeChunk struct {