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 }
func NewLogResult() *LogResult { output := &LogResult{ TStruct: thrift.NewTStruct("Log_result", []thrift.TField{ thrift.NewTField("success", thrift.I32, 0), }), } { } return output }
func NewLogArgs() *LogArgs { output := &LogArgs{ TStruct: thrift.NewTStruct("Log_args", []thrift.TField{ thrift.NewTField("messages", thrift.LIST, 1), }), } { } return output }
func (p *LogEntry) TStructFields() thrift.TFieldContainer { return thrift.NewTFieldContainer([]thrift.TField{ thrift.NewTField("category", thrift.STRING, 1), thrift.NewTField("message", thrift.STRING, 2), }) }
func (p *LogResult) TStructFields() thrift.TFieldContainer { return thrift.NewTFieldContainer([]thrift.TField{ thrift.NewTField("success", thrift.I32, 0), }) }
func (p *LogArgs) TStructFields() thrift.TFieldContainer { return thrift.NewTFieldContainer([]thrift.TField{ thrift.NewTField("messages", thrift.LIST, 1), }) }