Files
proxy/server/fwd/repo/channel.go
2025-05-12 15:13:48 +08:00

23 lines
299 B
Go

package repo
import (
"time"
"gorm.io/gorm"
)
// Channel 连接认证模型
type Channel struct {
gorm.Model
UserId uint
NodeId uint
UserAddr string
NodePort int
AuthIp bool
AuthPass bool
Protocol string
Username string
Password string
Expiration time.Time
}