Example #1
0
func NewLogEntry() *LogEntry {
	output := &LogEntry{
		TStruct: thrift.NewTStruct("LogEntry", []thrift.TField{
			thrift.NewTField("category", thrift.STRING, 1),
			thrift.NewTField("message", thrift.STRING, 2),
		}),
	}
	{
	}
	return output
}
Example #2
0
func NewLogResult() *LogResult {
	output := &LogResult{
		TStruct: thrift.NewTStruct("Log_result", []thrift.TField{
			thrift.NewTField("success", thrift.I32, 0),
		}),
	}
	{
	}
	return output
}
Example #3
0
func NewLogArgs() *LogArgs {
	output := &LogArgs{
		TStruct: thrift.NewTStruct("Log_args", []thrift.TField{
			thrift.NewTField("messages", thrift.LIST, 1),
		}),
	}
	{
	}
	return output
}
Example #4
0
func (p *LogEntry) TStructFields() thrift.TFieldContainer {
	return thrift.NewTFieldContainer([]thrift.TField{
		thrift.NewTField("category", thrift.STRING, 1),
		thrift.NewTField("message", thrift.STRING, 2),
	})
}
Example #5
0
func (p *LogResult) TStructFields() thrift.TFieldContainer {
	return thrift.NewTFieldContainer([]thrift.TField{
		thrift.NewTField("success", thrift.I32, 0),
	})
}
Example #6
0
func (p *LogArgs) TStructFields() thrift.TFieldContainer {
	return thrift.NewTFieldContainer([]thrift.TField{
		thrift.NewTField("messages", thrift.LIST, 1),
	})
}