Documentation
¶
Index ¶
- func RegisterLoggerServer(s *grpc.Server, srv LoggerServer)
- type AddErrorLogResponse
- func (*AddErrorLogResponse) Descriptor() ([]byte, []int)
- func (m *AddErrorLogResponse) GetError() string
- func (m *AddErrorLogResponse) GetResult() bool
- func (*AddErrorLogResponse) ProtoMessage()
- func (m *AddErrorLogResponse) Reset()
- func (m *AddErrorLogResponse) String() string
- func (m *AddErrorLogResponse) XXX_DiscardUnknown()
- func (m *AddErrorLogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddErrorLogResponse) XXX_Merge(src proto.Message)
- func (m *AddErrorLogResponse) XXX_Size() int
- func (m *AddErrorLogResponse) XXX_Unmarshal(b []byte) error
- type ErrorLog
- func (*ErrorLog) Descriptor() ([]byte, []int)
- func (m *ErrorLog) GetAdditionalInfo() string
- func (m *ErrorLog) GetMsg() string
- func (m *ErrorLog) GetProjectAddress() string
- func (m *ErrorLog) GetServiceId() int32
- func (m *ErrorLog) GetServiceTypeId() int32
- func (m *ErrorLog) GetTrace() string
- func (*ErrorLog) ProtoMessage()
- func (m *ErrorLog) Reset()
- func (m *ErrorLog) String() string
- func (m *ErrorLog) XXX_DiscardUnknown()
- func (m *ErrorLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ErrorLog) XXX_Merge(src proto.Message)
- func (m *ErrorLog) XXX_Size() int
- func (m *ErrorLog) XXX_Unmarshal(b []byte) error
- type LoggerClient
- type LoggerServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterLoggerServer ¶
func RegisterLoggerServer(s *grpc.Server, srv LoggerServer)
Types ¶
type AddErrorLogResponse ¶
type AddErrorLogResponse struct { Result bool `protobuf:"varint,1,opt,name=result" json:"result,omitempty"` Error string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddErrorLogResponse) Descriptor ¶
func (*AddErrorLogResponse) Descriptor() ([]byte, []int)
func (*AddErrorLogResponse) GetError ¶
func (m *AddErrorLogResponse) GetError() string
func (*AddErrorLogResponse) GetResult ¶
func (m *AddErrorLogResponse) GetResult() bool
func (*AddErrorLogResponse) ProtoMessage ¶
func (*AddErrorLogResponse) ProtoMessage()
func (*AddErrorLogResponse) Reset ¶
func (m *AddErrorLogResponse) Reset()
func (*AddErrorLogResponse) String ¶
func (m *AddErrorLogResponse) String() string
func (*AddErrorLogResponse) XXX_DiscardUnknown ¶
func (m *AddErrorLogResponse) XXX_DiscardUnknown()
func (*AddErrorLogResponse) XXX_Marshal ¶
func (m *AddErrorLogResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddErrorLogResponse) XXX_Merge ¶
func (dst *AddErrorLogResponse) XXX_Merge(src proto.Message)
func (*AddErrorLogResponse) XXX_Size ¶
func (m *AddErrorLogResponse) XXX_Size() int
func (*AddErrorLogResponse) XXX_Unmarshal ¶
func (m *AddErrorLogResponse) XXX_Unmarshal(b []byte) error
type ErrorLog ¶
type ErrorLog struct { ServiceId int32 `protobuf:"varint,1,opt,name=ServiceId" json:"ServiceId,omitempty"` ServiceTypeId int32 `protobuf:"varint,2,opt,name=ServiceTypeId" json:"ServiceTypeId,omitempty"` ProjectAddress string `protobuf:"bytes,3,opt,name=ProjectAddress" json:"ProjectAddress,omitempty"` Msg string `protobuf:"bytes,4,opt,name=Msg" json:"Msg,omitempty"` Trace string `protobuf:"bytes,5,opt,name=Trace" json:"Trace,omitempty"` AdditionalInfo string `protobuf:"bytes,6,opt,name=AdditionalInfo" json:"AdditionalInfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ErrorLog) Descriptor ¶
func (*ErrorLog) GetAdditionalInfo ¶
func (*ErrorLog) GetProjectAddress ¶
func (*ErrorLog) GetServiceId ¶
func (*ErrorLog) GetServiceTypeId ¶
func (*ErrorLog) ProtoMessage ¶
func (*ErrorLog) ProtoMessage()
func (*ErrorLog) XXX_DiscardUnknown ¶
func (m *ErrorLog) XXX_DiscardUnknown()
func (*ErrorLog) XXX_Marshal ¶
func (*ErrorLog) XXX_Unmarshal ¶
type LoggerClient ¶
type LoggerClient interface {
AddErrorLog(ctx context.Context, in *ErrorLog, opts ...grpc.CallOption) (*AddErrorLogResponse, error)
}
func NewLoggerClient ¶
func NewLoggerClient(cc *grpc.ClientConn) LoggerClient
type LoggerServer ¶
type LoggerServer interface {
AddErrorLog(context.Context, *ErrorLog) (*AddErrorLogResponse, error)
}
Click to show internal directories.
Click to hide internal directories.