models

package
v2.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLog

func AddLog(db *gorm.DB, wTime time.Time, level string, funcName string, line int,
	fileName string, srvName string, ip string, msg string, taskID uint32) error

AddLog ..

Types

type Log

type Log struct {
	Time     time.Time
	TaskID   uint32
	Level    string
	FuncName string
	FileName string
	Line     int
	Service  string
	IP       string
	Msg      string //日志详情
}

Log ..

type PropertyType

type PropertyType struct {
	Key           string
	Value         string
	ColType       string
	IsSearchParam string
	OldKey        string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL