xlog

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddXLog

func AddXLog(svc *svc.Context) gin.HandlerFunc

func AddXLogRoute added in v0.1.1

func AddXLogRoute(g *gin.RouterGroup, authMiddleware gin.HandlerFunc, svc *svc.Context)

func DeleteXLog

func DeleteXLog(svc *svc.Context) gin.HandlerFunc

func GetXLogs

func GetXLogs(svc *svc.Context) gin.HandlerFunc

Types

type DeleteXLogReq

type DeleteXLogReq struct {
	ID uint `uri:"x_id"`
}

type XLog

type XLog struct {
	gorm.Model

	Title       string `json:"Title,omitempty"`
	CreatedTime string `json:"CreatedTime,omitempty"`
	Area        string `json:"Area,omitempty"`
	Messages    string `json:"Messages,omitempty"`
}

Jump to

Keyboard shortcuts

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