svc

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLogRequestDbq added in v1.1.7

type CLogRequestDbq struct {
	Uid        string
	SvcName    string
	SvcParent  *string
	SqlQuery   string
	SqlPars    *string
	Severity   string
	Path       string
	Function   string
	Error      *string
	StackTrace *string
	StartAt    time.Time
	FinishAt   time.Time
	CreatedAt  time.Time
}

type CLogRequestInfo

type CLogRequestInfo struct {
	Uid       string
	SvcName   string
	SvcParent *string
	Message   string
	Severity  string
	Path      string
	Function  string
	Data      *string
	CreatedAt time.Time
}

type CLogRequestService

type CLogRequestService struct {
	Uid        string
	SvcName    string
	SvcParent  *string
	Message    *string
	Severity   string
	Path       string
	Function   string
	ReqHeader  *string
	ReqBody    *string
	ReqParam   *string
	ResData    *string
	ResCode    *int
	Data       *string
	Error      *string
	StackTrace *string
	ClientIP   string
	StartAt    time.Time
	FinishAt   time.Time
	CreatedAt  time.Time
}

type CLogSVC

type CLogSVC interface {
	Info(val CLogRequestInfo) (status string, message string, err error)
	Service(val CLogRequestService) (status string, message string, err error)
	Dbq(val CLogRequestDbq) (status string, message string, err error)
}

func InitCLogSVC

func InitCLogSVC(grpcAddress string) (CLogSVC, error)

Jump to

Keyboard shortcuts

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