Files
proxy/server/web/app/models/channel.go
2025-02-24 14:35:13 +08:00

20 lines
265 B
Go

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