Пример #1
0
func NewLogResult() *LogResult {
	output := &LogResult{
		TStruct: thrift.NewTStruct("Log_result", []thrift.TField{
			thrift.NewTField("success", thrift.I32, 0),
		}),
	}
	{
	}
	return output
}
Пример #2
0
func NewLogArgs() *LogArgs {
	output := &LogArgs{
		TStruct: thrift.NewTStruct("Log_args", []thrift.TField{
			thrift.NewTField("messages", thrift.LIST, 1),
		}),
	}
	{
	}
	return output
}
Пример #3
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
}