Exemplo n.º 1
0
func (p *LogResult) TStructFields() thrift.TFieldContainer {
	return thrift.NewTFieldContainer([]thrift.TField{
		thrift.NewTField("success", thrift.I32, 0),
	})
}
Exemplo n.º 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),
	})
}
Exemplo n.º 3
0
func (p *LogArgs) TStructFields() thrift.TFieldContainer {
	return thrift.NewTFieldContainer([]thrift.TField{
		thrift.NewTField("messages", thrift.LIST, 1),
	})
}