Beispiel #1
0
func (p *LogResult) TStructFields() thrift.TFieldContainer {
	return thrift.NewTFieldContainer([]thrift.TField{
		thrift.NewTField("success", thrift.I32, 0),
	})
}
Beispiel #2
0
func (p *LogEntry) TStructFields() thrift.TFieldContainer {
	return thrift.NewTFieldContainer([]thrift.TField{
		thrift.NewTField("category", thrift.STRING, 1),
		thrift.NewTField("message", thrift.STRING, 2),
	})
}
Beispiel #3
0
func (p *LogArgs) TStructFields() thrift.TFieldContainer {
	return thrift.NewTFieldContainer([]thrift.TField{
		thrift.NewTField("messages", thrift.LIST, 1),
	})
}