package models import "time" type ForwardProxySettings struct { ID int `gorm:"primaryKey" json:"id"` ListenAddresses string `gorm:"column:listen_addresses" json:"listen_addresses"` ListenPort int `gorm:"column:listen_port" json:"listen_port"` CacheMemMB int `gorm:"column:cache_mem_mb" json:"cache_mem_mb"` CacheDirMB int `gorm:"column:cache_dir_mb" json:"cache_dir_mb"` MaxObjSizeMB int `gorm:"column:max_obj_size_mb" json:"max_obj_size_mb"` ConnectTimeout int `gorm:"column:connect_timeout" json:"connect_timeout"` ReadTimeout int `gorm:"column:read_timeout" json:"read_timeout"` RequestTimeout int `gorm:"column:request_timeout" json:"request_timeout"` CreatedAt time.Time `gorm:"column:created_at" json:"created_at"` UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"` } func (ForwardProxySettings) TableName() string { return "forward_proxy_settings" }