Documentation ¶
Index ¶
- Variables
- type ReportArgs
- func (p *ReportArgs) GetRecord() *ThriftLogRecord
- func (p *ReportArgs) IsSetRecord() bool
- func (p *ReportArgs) Read(iprot thrift.TProtocol) error
- func (p *ReportArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *ReportArgs) String() string
- func (p *ReportArgs) Write(oprot thrift.TProtocol) error
- type ThriftLogRecord
- func (p *ThriftLogRecord) GetFileName() string
- func (p *ThriftLogRecord) GetFuncName() string
- func (p *ThriftLogRecord) GetLevel() int32
- func (p *ThriftLogRecord) GetLineNo() int32
- func (p *ThriftLogRecord) GetMessage() string
- func (p *ThriftLogRecord) GetName() string
- func (p *ThriftLogRecord) GetPathName() string
- func (p *ThriftLogRecord) Read(iprot thrift.TProtocol) error
- func (p *ThriftLogRecord) ReadField1(iprot thrift.TProtocol) error
- func (p *ThriftLogRecord) ReadField2(iprot thrift.TProtocol) error
- func (p *ThriftLogRecord) ReadField3(iprot thrift.TProtocol) error
- func (p *ThriftLogRecord) ReadField4(iprot thrift.TProtocol) error
- func (p *ThriftLogRecord) ReadField5(iprot thrift.TProtocol) error
- func (p *ThriftLogRecord) ReadField6(iprot thrift.TProtocol) error
- func (p *ThriftLogRecord) ReadField7(iprot thrift.TProtocol) error
- func (p *ThriftLogRecord) String() string
- func (p *ThriftLogRecord) Write(oprot thrift.TProtocol) error
- type ThriftLoggingService
- type ThriftLoggingServiceClient
- type ThriftLoggingServiceProcessor
- func (p *ThriftLoggingServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *ThriftLoggingServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *ThriftLoggingServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *ThriftLoggingServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type ReportArgs ¶
type ReportArgs struct {
Record *ThriftLogRecord `thrift:"record,1" json:"record"`
}
func NewReportArgs ¶
func NewReportArgs() *ReportArgs
func (*ReportArgs) GetRecord ¶
func (p *ReportArgs) GetRecord() *ThriftLogRecord
func (*ReportArgs) IsSetRecord ¶
func (p *ReportArgs) IsSetRecord() bool
func (*ReportArgs) ReadField1 ¶
func (p *ReportArgs) ReadField1(iprot thrift.TProtocol) error
func (*ReportArgs) String ¶
func (p *ReportArgs) String() string
type ThriftLogRecord ¶
type ThriftLogRecord struct { Name string `thrift:"name,1" json:"name"` Level int32 `thrift:"level,2" json:"level"` PathName string `thrift:"path_name,3" json:"path_name"` FileName string `thrift:"file_name,4" json:"file_name"` LineNo int32 `thrift:"line_no,5" json:"line_no"` FuncName string `thrift:"func_name,6" json:"func_name"` Message string `thrift:"message,7" json:"message"` }
var ReportArgs_Record_DEFAULT *ThriftLogRecord
func NewThriftLogRecord ¶
func NewThriftLogRecord() *ThriftLogRecord
func (*ThriftLogRecord) GetFileName ¶
func (p *ThriftLogRecord) GetFileName() string
func (*ThriftLogRecord) GetFuncName ¶
func (p *ThriftLogRecord) GetFuncName() string
func (*ThriftLogRecord) GetLevel ¶
func (p *ThriftLogRecord) GetLevel() int32
func (*ThriftLogRecord) GetLineNo ¶
func (p *ThriftLogRecord) GetLineNo() int32
func (*ThriftLogRecord) GetMessage ¶
func (p *ThriftLogRecord) GetMessage() string
func (*ThriftLogRecord) GetName ¶
func (p *ThriftLogRecord) GetName() string
func (*ThriftLogRecord) GetPathName ¶
func (p *ThriftLogRecord) GetPathName() string
func (*ThriftLogRecord) ReadField1 ¶
func (p *ThriftLogRecord) ReadField1(iprot thrift.TProtocol) error
func (*ThriftLogRecord) ReadField2 ¶
func (p *ThriftLogRecord) ReadField2(iprot thrift.TProtocol) error
func (*ThriftLogRecord) ReadField3 ¶
func (p *ThriftLogRecord) ReadField3(iprot thrift.TProtocol) error
func (*ThriftLogRecord) ReadField4 ¶
func (p *ThriftLogRecord) ReadField4(iprot thrift.TProtocol) error
func (*ThriftLogRecord) ReadField5 ¶
func (p *ThriftLogRecord) ReadField5(iprot thrift.TProtocol) error
func (*ThriftLogRecord) ReadField6 ¶
func (p *ThriftLogRecord) ReadField6(iprot thrift.TProtocol) error
func (*ThriftLogRecord) ReadField7 ¶
func (p *ThriftLogRecord) ReadField7(iprot thrift.TProtocol) error
func (*ThriftLogRecord) String ¶
func (p *ThriftLogRecord) String() string
type ThriftLoggingService ¶
type ThriftLoggingService interface { // Parameters: // - Record Report(record *ThriftLogRecord) (err error) }
type ThriftLoggingServiceClient ¶
type ThriftLoggingServiceClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
func NewThriftLoggingServiceClientFactory ¶
func NewThriftLoggingServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ThriftLoggingServiceClient
func NewThriftLoggingServiceClientProtocol ¶
func NewThriftLoggingServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ThriftLoggingServiceClient
func (*ThriftLoggingServiceClient) Report ¶
func (p *ThriftLoggingServiceClient) Report(record *ThriftLogRecord) (err error)
Parameters:
- Record
type ThriftLoggingServiceProcessor ¶
type ThriftLoggingServiceProcessor struct {
// contains filtered or unexported fields
}
func NewThriftLoggingServiceProcessor ¶
func NewThriftLoggingServiceProcessor(handler ThriftLoggingService) *ThriftLoggingServiceProcessor
func (*ThriftLoggingServiceProcessor) AddToProcessorMap ¶
func (p *ThriftLoggingServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*ThriftLoggingServiceProcessor) GetProcessorFunction ¶
func (p *ThriftLoggingServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*ThriftLoggingServiceProcessor) Process ¶
func (p *ThriftLoggingServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*ThriftLoggingServiceProcessor) ProcessorMap ¶
func (p *ThriftLoggingServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Click to show internal directories.
Click to hide internal directories.