Help us shape the future of Go! Take the 2026 Go Developer Survey

apilogger

package
v0.8.83 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAPILogger added in v0.8.78

type IAPILogger interface {
	LogStart(ormService *beeorm.Engine, logType string, request interface{})
	LogError(ormService *beeorm.Engine, message string, response interface{})
	LogSuccess(ormService *beeorm.Engine, response interface{})
}

func NewMysqlAPILogger added in v0.8.78

func NewMysqlAPILogger(entity ILogEntity) IAPILogger

type ILogEntity added in v0.8.78

type ILogEntity interface {
	beeorm.Entity
	SetID(value uint64)
	SetType(value string)
	SetStatus(value string)
	SetRequest(value interface{})
	SetResponse(value interface{})
	SetMessage(value string)
	SetCreatedAt(value time.Time)
}

Jump to

Keyboard shortcuts

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