Files
proxy/server/web/app/models/channel.go

20 lines
265 B
Go
Raw Normal View History

2025-02-19 14:23:58 +08:00
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
}