Ejemplo n.º 1
0
func (p *LogEntry) ReadField2(iprot thrift.TProtocol) (err thrift.TProtocolException) {
	v2, err3 := iprot.ReadString()
	if err3 != nil {
		return thrift.NewTProtocolExceptionReadField(2, "message", p.ThriftName(), err3)
	}
	p.Message = v2
	return err
}
Ejemplo n.º 2
0
func (p *LogEntry) ReadField1(iprot thrift.TProtocol) (err thrift.TProtocolException) {
	v0, err1 := iprot.ReadString()
	if err1 != nil {
		return thrift.NewTProtocolExceptionReadField(1, "category", p.ThriftName(), err1)
	}
	p.Category = v0
	return err
}