clog_svc

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CLogService_ServiceLog_FullMethodName = "/clog_svc.CLogService/ServiceLog"
	CLogService_InfoLog_FullMethodName    = "/clog_svc.CLogService/InfoLog"
	CLogService_DbqLog_FullMethodName     = "/clog_svc.CLogService/DbqLog"
)

Variables

View Source
var CLogService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "clog_svc.CLogService",
	HandlerType: (*CLogServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ServiceLog",
			Handler:    _CLogService_ServiceLog_Handler,
		},
		{
			MethodName: "InfoLog",
			Handler:    _CLogService_InfoLog_Handler,
		},
		{
			MethodName: "DbqLog",
			Handler:    _CLogService_DbqLog_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "files/proto/clog.proto",
}

CLogService_ServiceDesc is the grpc.ServiceDesc for CLogService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_files_proto_clog_proto protoreflect.FileDescriptor

Functions

func RegisterCLogServiceServer

func RegisterCLogServiceServer(s grpc.ServiceRegistrar, srv CLogServiceServer)

Types

type CLogServiceClient

type CLogServiceClient interface {
	ServiceLog(ctx context.Context, in *RequestServiceLog, opts ...grpc.CallOption) (*Response, error)
	InfoLog(ctx context.Context, in *RequestInfoLog, opts ...grpc.CallOption) (*Response, error)
	DbqLog(ctx context.Context, in *RequestDbqLog, opts ...grpc.CallOption) (*Response, error)
}

CLogServiceClient is the client API for CLogService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CLogServiceServer

type CLogServiceServer interface {
	ServiceLog(context.Context, *RequestServiceLog) (*Response, error)
	InfoLog(context.Context, *RequestInfoLog) (*Response, error)
	DbqLog(context.Context, *RequestDbqLog) (*Response, error)
	// contains filtered or unexported methods
}

CLogServiceServer is the server API for CLogService service. All implementations must embed UnimplementedCLogServiceServer for forward compatibility

type RequestDbqLog added in v1.1.7

type RequestDbqLog struct {
	Uid        string                  `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	UserId     *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	PartnerId  *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=partnerId,proto3" json:"partnerId,omitempty"`
	Xid        *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=xid,proto3" json:"xid,omitempty"`
	SvcName    string                  `protobuf:"bytes,5,opt,name=svcName,proto3" json:"svcName,omitempty"`
	SvcVersion string                  `protobuf:"bytes,6,opt,name=svcVersion,proto3" json:"svcVersion,omitempty"`
	SvcParent  *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=svcParent,proto3" json:"svcParent,omitempty"`
	SqlQuery   string                  `protobuf:"bytes,8,opt,name=sqlQuery,proto3" json:"sqlQuery,omitempty"`
	SqlPars    *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=sqlPars,proto3" json:"sqlPars,omitempty"`
	Severity   string                  `protobuf:"bytes,10,opt,name=severity,proto3" json:"severity,omitempty"`
	Path       string                  `protobuf:"bytes,11,opt,name=path,proto3" json:"path,omitempty"`
	Function   string                  `protobuf:"bytes,12,opt,name=function,proto3" json:"function,omitempty"`
	Error      *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"`
	StackTrace *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"`
	StartAt    string                  `protobuf:"bytes,15,opt,name=startAt,proto3" json:"startAt,omitempty"`     // RFC3339 MilliSecond
	FinishAt   string                  `protobuf:"bytes,16,opt,name=finishAt,proto3" json:"finishAt,omitempty"`   // RFC3339 MilliSecond
	CreatedAt  string                  `protobuf:"bytes,17,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // RFC3339 MilliSecond
	// contains filtered or unexported fields
}

func (*RequestDbqLog) Descriptor deprecated added in v1.1.7

func (*RequestDbqLog) Descriptor() ([]byte, []int)

Deprecated: Use RequestDbqLog.ProtoReflect.Descriptor instead.

func (*RequestDbqLog) GetCreatedAt added in v1.1.7

func (x *RequestDbqLog) GetCreatedAt() string

func (*RequestDbqLog) GetError added in v1.1.7

func (x *RequestDbqLog) GetError() *wrapperspb.StringValue

func (*RequestDbqLog) GetFinishAt added in v1.1.7

func (x *RequestDbqLog) GetFinishAt() string

func (*RequestDbqLog) GetFunction added in v1.1.7

func (x *RequestDbqLog) GetFunction() string

func (*RequestDbqLog) GetPartnerId added in v1.1.21

func (x *RequestDbqLog) GetPartnerId() *wrapperspb.StringValue

func (*RequestDbqLog) GetPath added in v1.1.7

func (x *RequestDbqLog) GetPath() string

func (*RequestDbqLog) GetSeverity added in v1.1.7

func (x *RequestDbqLog) GetSeverity() string

func (*RequestDbqLog) GetSqlPars added in v1.1.7

func (x *RequestDbqLog) GetSqlPars() *wrapperspb.StringValue

func (*RequestDbqLog) GetSqlQuery added in v1.1.7

func (x *RequestDbqLog) GetSqlQuery() string

func (*RequestDbqLog) GetStackTrace added in v1.1.7

func (x *RequestDbqLog) GetStackTrace() *wrapperspb.StringValue

func (*RequestDbqLog) GetStartAt added in v1.1.7

func (x *RequestDbqLog) GetStartAt() string

func (*RequestDbqLog) GetSvcName added in v1.1.7

func (x *RequestDbqLog) GetSvcName() string

func (*RequestDbqLog) GetSvcParent added in v1.1.7

func (x *RequestDbqLog) GetSvcParent() *wrapperspb.StringValue

func (*RequestDbqLog) GetSvcVersion added in v1.1.27

func (x *RequestDbqLog) GetSvcVersion() string

func (*RequestDbqLog) GetUid added in v1.1.7

func (x *RequestDbqLog) GetUid() string

func (*RequestDbqLog) GetUserId added in v1.1.21

func (x *RequestDbqLog) GetUserId() *wrapperspb.StringValue

func (*RequestDbqLog) GetXid added in v1.1.21

func (x *RequestDbqLog) GetXid() *wrapperspb.StringValue

func (*RequestDbqLog) ProtoMessage added in v1.1.7

func (*RequestDbqLog) ProtoMessage()

func (*RequestDbqLog) ProtoReflect added in v1.1.7

func (x *RequestDbqLog) ProtoReflect() protoreflect.Message

func (*RequestDbqLog) Reset added in v1.1.7

func (x *RequestDbqLog) Reset()

func (*RequestDbqLog) String added in v1.1.7

func (x *RequestDbqLog) String() string

type RequestInfoLog

type RequestInfoLog struct {
	Uid        string                  `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	UserId     *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	PartnerId  *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=partnerId,proto3" json:"partnerId,omitempty"`
	Xid        *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=xid,proto3" json:"xid,omitempty"`
	SvcName    string                  `protobuf:"bytes,5,opt,name=svcName,proto3" json:"svcName,omitempty"`
	SvcVersion string                  `protobuf:"bytes,6,opt,name=svcVersion,proto3" json:"svcVersion,omitempty"`
	SvcParent  *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=svcParent,proto3" json:"svcParent,omitempty"`
	Message    string                  `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"`
	Severity   string                  `protobuf:"bytes,9,opt,name=severity,proto3" json:"severity,omitempty"`
	Path       string                  `protobuf:"bytes,10,opt,name=path,proto3" json:"path,omitempty"`
	Function   string                  `protobuf:"bytes,11,opt,name=function,proto3" json:"function,omitempty"`
	Data       *wrapperspb.StringValue `protobuf:"bytes,12,opt,name=data,proto3" json:"data,omitempty"`
	CreatedAt  string                  `protobuf:"bytes,13,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // RFC3339 MilliSecond
	// contains filtered or unexported fields
}

func (*RequestInfoLog) Descriptor deprecated

func (*RequestInfoLog) Descriptor() ([]byte, []int)

Deprecated: Use RequestInfoLog.ProtoReflect.Descriptor instead.

func (*RequestInfoLog) GetCreatedAt

func (x *RequestInfoLog) GetCreatedAt() string

func (*RequestInfoLog) GetData

func (x *RequestInfoLog) GetData() *wrapperspb.StringValue

func (*RequestInfoLog) GetFunction

func (x *RequestInfoLog) GetFunction() string

func (*RequestInfoLog) GetMessage

func (x *RequestInfoLog) GetMessage() string

func (*RequestInfoLog) GetPartnerId added in v1.1.21

func (x *RequestInfoLog) GetPartnerId() *wrapperspb.StringValue

func (*RequestInfoLog) GetPath

func (x *RequestInfoLog) GetPath() string

func (*RequestInfoLog) GetSeverity

func (x *RequestInfoLog) GetSeverity() string

func (*RequestInfoLog) GetSvcName

func (x *RequestInfoLog) GetSvcName() string

func (*RequestInfoLog) GetSvcParent

func (x *RequestInfoLog) GetSvcParent() *wrapperspb.StringValue

func (*RequestInfoLog) GetSvcVersion added in v1.1.27

func (x *RequestInfoLog) GetSvcVersion() string

func (*RequestInfoLog) GetUid

func (x *RequestInfoLog) GetUid() string

func (*RequestInfoLog) GetUserId added in v1.1.21

func (x *RequestInfoLog) GetUserId() *wrapperspb.StringValue

func (*RequestInfoLog) GetXid added in v1.1.21

func (x *RequestInfoLog) GetXid() *wrapperspb.StringValue

func (*RequestInfoLog) ProtoMessage

func (*RequestInfoLog) ProtoMessage()

func (*RequestInfoLog) ProtoReflect

func (x *RequestInfoLog) ProtoReflect() protoreflect.Message

func (*RequestInfoLog) Reset

func (x *RequestInfoLog) Reset()

func (*RequestInfoLog) String

func (x *RequestInfoLog) String() string

type RequestServiceLog

type RequestServiceLog struct {
	Uid        string                  `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	UserId     *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	PartnerId  *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=partnerId,proto3" json:"partnerId,omitempty"`
	Xid        *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=xid,proto3" json:"xid,omitempty"`
	SvcName    string                  `protobuf:"bytes,5,opt,name=svcName,proto3" json:"svcName,omitempty"`
	SvcVersion string                  `protobuf:"bytes,6,opt,name=svcVersion,proto3" json:"svcVersion,omitempty"`
	SvcParent  *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=svcParent,proto3" json:"svcParent,omitempty"`
	Endpoint   string                  `protobuf:"bytes,8,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Version    string                  `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"`
	Message    *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=message,proto3" json:"message,omitempty"`
	Severity   string                  `protobuf:"bytes,11,opt,name=severity,proto3" json:"severity,omitempty"`
	Path       string                  `protobuf:"bytes,12,opt,name=path,proto3" json:"path,omitempty"`
	Function   string                  `protobuf:"bytes,13,opt,name=function,proto3" json:"function,omitempty"`
	ReqHeader  *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=reqHeader,proto3" json:"reqHeader,omitempty"`
	ReqBody    *wrapperspb.StringValue `protobuf:"bytes,15,opt,name=reqBody,proto3" json:"reqBody,omitempty"`
	ReqParam   *wrapperspb.StringValue `protobuf:"bytes,16,opt,name=reqParam,proto3" json:"reqParam,omitempty"`
	ResData    *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=resData,proto3" json:"resData,omitempty"`
	ResCode    *wrapperspb.Int32Value  `protobuf:"bytes,18,opt,name=resCode,proto3" json:"resCode,omitempty"`
	Data       *wrapperspb.StringValue `protobuf:"bytes,19,opt,name=data,proto3" json:"data,omitempty"`
	Error      *wrapperspb.StringValue `protobuf:"bytes,20,opt,name=error,proto3" json:"error,omitempty"`
	StackTrace *wrapperspb.StringValue `protobuf:"bytes,21,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"`
	ClientIP   string                  `protobuf:"bytes,22,opt,name=clientIP,proto3" json:"clientIP,omitempty"`
	StartAt    string                  `protobuf:"bytes,23,opt,name=startAt,proto3" json:"startAt,omitempty"`     // RFC3339 MilliSecond
	FinishAt   string                  `protobuf:"bytes,24,opt,name=finishAt,proto3" json:"finishAt,omitempty"`   // RFC3339 MilliSecond
	CreatedAt  string                  `protobuf:"bytes,25,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // RFC3339 MilliSecond
	// contains filtered or unexported fields
}

func (*RequestServiceLog) Descriptor deprecated

func (*RequestServiceLog) Descriptor() ([]byte, []int)

Deprecated: Use RequestServiceLog.ProtoReflect.Descriptor instead.

func (*RequestServiceLog) GetClientIP added in v1.1.9

func (x *RequestServiceLog) GetClientIP() string

func (*RequestServiceLog) GetCreatedAt

func (x *RequestServiceLog) GetCreatedAt() string

func (*RequestServiceLog) GetData

func (*RequestServiceLog) GetEndpoint added in v1.1.11

func (x *RequestServiceLog) GetEndpoint() string

func (*RequestServiceLog) GetError

func (x *RequestServiceLog) GetError() *wrapperspb.StringValue

func (*RequestServiceLog) GetFinishAt

func (x *RequestServiceLog) GetFinishAt() string

func (*RequestServiceLog) GetFunction

func (x *RequestServiceLog) GetFunction() string

func (*RequestServiceLog) GetMessage

func (x *RequestServiceLog) GetMessage() *wrapperspb.StringValue

func (*RequestServiceLog) GetPartnerId added in v1.1.21

func (x *RequestServiceLog) GetPartnerId() *wrapperspb.StringValue

func (*RequestServiceLog) GetPath

func (x *RequestServiceLog) GetPath() string

func (*RequestServiceLog) GetReqBody

func (x *RequestServiceLog) GetReqBody() *wrapperspb.StringValue

func (*RequestServiceLog) GetReqHeader

func (x *RequestServiceLog) GetReqHeader() *wrapperspb.StringValue

func (*RequestServiceLog) GetReqParam

func (x *RequestServiceLog) GetReqParam() *wrapperspb.StringValue

func (*RequestServiceLog) GetResCode

func (x *RequestServiceLog) GetResCode() *wrapperspb.Int32Value

func (*RequestServiceLog) GetResData

func (x *RequestServiceLog) GetResData() *wrapperspb.StringValue

func (*RequestServiceLog) GetSeverity

func (x *RequestServiceLog) GetSeverity() string

func (*RequestServiceLog) GetStackTrace

func (x *RequestServiceLog) GetStackTrace() *wrapperspb.StringValue

func (*RequestServiceLog) GetStartAt

func (x *RequestServiceLog) GetStartAt() string

func (*RequestServiceLog) GetSvcName

func (x *RequestServiceLog) GetSvcName() string

func (*RequestServiceLog) GetSvcParent

func (x *RequestServiceLog) GetSvcParent() *wrapperspb.StringValue

func (*RequestServiceLog) GetSvcVersion added in v1.1.27

func (x *RequestServiceLog) GetSvcVersion() string

func (*RequestServiceLog) GetUid

func (x *RequestServiceLog) GetUid() string

func (*RequestServiceLog) GetUserId added in v1.1.21

func (x *RequestServiceLog) GetUserId() *wrapperspb.StringValue

func (*RequestServiceLog) GetVersion added in v1.1.21

func (x *RequestServiceLog) GetVersion() string

func (*RequestServiceLog) GetXid added in v1.1.21

func (*RequestServiceLog) ProtoMessage

func (*RequestServiceLog) ProtoMessage()

func (*RequestServiceLog) ProtoReflect

func (x *RequestServiceLog) ProtoReflect() protoreflect.Message

func (*RequestServiceLog) Reset

func (x *RequestServiceLog) Reset()

func (*RequestServiceLog) String

func (x *RequestServiceLog) String() string

type Response

type Response struct {
	Status  string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

func (*Response) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetMessage

func (x *Response) GetMessage() string

func (*Response) GetStatus

func (x *Response) GetStatus() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type UnimplementedCLogServiceServer

type UnimplementedCLogServiceServer struct {
}

UnimplementedCLogServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCLogServiceServer) DbqLog added in v1.1.7

func (UnimplementedCLogServiceServer) InfoLog

func (UnimplementedCLogServiceServer) ServiceLog

type UnsafeCLogServiceServer

type UnsafeCLogServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCLogServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CLogServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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