clog

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbqV1

type DbqV1 struct {
	SqlQuery     string
	SqlArgs      *string
	Severity     string
	ExecPath     string
	ExecFunc     string
	ErrorMessage *string
	StackTrace   *string
	Host1        string
	Host2        *string
	Duration1    int
	Duration2    *int
	StartedAt    time.Time
	FinishedAt   time.Time
}

type HttpCallV1 added in v1.0.3

type HttpCallV1 struct {
	Url        string
	Severity   string
	ReqHeader  *string
	ReqParam   *string
	ReqQuery   *string
	ReqForm    *string
	ReqFiles   *string
	ReqBody    *string
	ResData    *string
	ResCode    int
	ErrMessage *string
	StackTrace *string
	StartedAt  time.Time
	FinishedAt time.Time
}

type Instance

type Instance interface {
	Note(mol *Note, async ...bool) error
	DbqV1(mol *DbqV1, async ...bool) error
	HttpCallV1(mol *HttpCallV1, async ...bool) error
	ServicePieceV1(mol *ServicePieceV1, async ...bool) error
	ServiceV1(mol *ServiceV1, async ...bool) error
}

type Note added in v1.0.8

type Note struct {
	ExecPath string
	ExecFunc string
	Key      *string
	SubKey   *string
	Data     string
}

type ServicePieceV1

type ServicePieceV1 struct {
	SvcParentName    *string
	SvcParentVersion *string
	Endpoint         string
	Url              string
	ReqVersion       *string
	ReqSource        *string
	ReqHeader        *string
	ReqParam         *string
	ReqQuery         *string
	ReqForm          *string
	ReqBody          *string
	ClientIp         string
	StartedAt        time.Time
}

type ServiceV1

type ServiceV1 struct {
	SvcParentName    *string
	SvcParentVersion *string
	Endpoint         string
	Url              string
	Severity         string
	ExecPath         string
	ExecFunc         string
	ReqVersion       *string
	ReqSource        *string
	ReqHeader        *string
	ReqParam         *string
	ReqQuery         *string
	ReqForm          *string
	ReqFiles         *string
	ReqBody          *string
	ResData          *string
	ResCode          int
	ResSubCode       string
	ErrMessage       *string
	StackTrace       *string
	ClientIp         string
	StartedAt        time.Time
	FinishedAt       time.Time
}

Jump to

Keyboard shortcuts

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