Files
proxy/server/pkg/models/channel.go
2025-03-08 11:18:47 +08:00

21 lines
266 B
Go

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