docker-ddns-server/dyndns/model/log.go

21 lines
263 B
Go

package model
import (
"time"
"github.com/jinzhu/gorm"
)
// Log defines a log entry.
type Log struct {
gorm.Model
Status bool
Message string
Host Host
HostID uint
SentIP string
CallerIP string
TimeStamp time.Time
UserAgent string
}