models

package
v0.0.0-...-7a11ba4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAllPage404

func DeleteAllPage404() error

func ListPage404GroupBy

func ListPage404GroupBy() (interface{}, error)

Types

type Page404

type Page404 struct {
	ID      int `orm:"column(id);pk;auto"`
	Ip      string
	Method  string
	Url     string
	Code1   string
	Code2   string
	Status  string
	LogTime *time.Time `orm:"type(datetime);null"`
	Created *time.Time `orm:"auto_now_add;type(datetime)"`
}

func ListPage404

func ListPage404() ([]*Page404, error)

func NewPage404

func NewPage404(ip, method, url, code1, code2, status string, logTime time.Time) (*Page404, error)

Jump to

Keyboard shortcuts

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