svc

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

spell-checker: disable

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
	UserId     *string
	PartnerId  *string
	XID        *string
	SvcName    string
	SvcVersion 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
	UserId     *string
	PartnerId  *string
	XID        *string
	SvcName    string
	SvcVersion string
	SvcParent  *string
	Message    string
	Severity   string
	Path       string
	Function   string
	Data       *string
	CreatedAt  time.Time
}

type CLogRequestService

type CLogRequestService struct {
	Uid        string
	UserId     *string
	PartnerId  *string
	XID        *string
	SvcName    string
	SvcVersion string
	SvcParent  *string
	Endpoint   string
	Version    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, usingTLS bool, usingClientLoadBalancing bool) (CLogSVC, error)

Jump to

Keyboard shortcuts

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