mirror of
https://github.com/AuxXxilium/docker-ddns-server.git
synced 2024-11-23 23:00:59 +07:00
21 lines
263 B
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
|
|
}
|