示例#1
0
func (s Versions) Versions() C.UInt64List     { return C.UInt64List(C.Struct(s).GetObject(1)) }
示例#2
0
func (s Z) Progressupdate() ProgressUpdate { return ProgressUpdate(C.Struct(s).GetObject(0).ToStruct()) }
示例#3
0
func (s Z) Match() Match     { return Match(C.Struct(s).GetObject(0).ToStruct()) }
示例#4
0
func (s Routable) SetTime(v int64)           { C.Struct(s).Set64(8, uint64(v)) }
示例#5
0
func (s Routable) SetData(v string)          { C.Struct(s).SetObject(1, s.Segment.NewText(v)) }
示例#6
0
func (s Routable) SetChannelID(v string)     { C.Struct(s).SetObject(0, s.Segment.NewText(v)) }
示例#7
0
func (s Routable) SetVersion(v int64)        { C.Struct(s).Set64(0, uint64(v)) }
示例#8
0
func (s ChangedRange) SetEndTime(v int64)            { C.Struct(s).Set64(8, uint64(v)) }
示例#9
0
func (s Request) SetQueryChangedRanges(v CmdQueryChangedRanges) {
	C.Struct(s).Set16(8, 5)
	C.Struct(s).SetObject(0, C.Object(v))
}
示例#10
0
func (s ChangedRange) SetStartTime(v int64)          { C.Struct(s).Set64(0, uint64(v)) }
示例#11
0
func (s ChangedRange) EndTime() int64                { return int64(C.Struct(s).Get64(8)) }
示例#12
0
func (s ChangedRange) StartTime() int64              { return int64(C.Struct(s).Get64(0)) }
示例#13
0
func (s Versions) SetVersions(v C.UInt64List) { C.Struct(s).SetObject(1, C.Object(v)) }
示例#14
0
func (s Request) QueryChangedRanges() CmdQueryChangedRanges {
	return CmdQueryChangedRanges(C.Struct(s).GetObject(0).ToStruct())
}
示例#15
0
func (s Request) SetDeleteValues(v CmdDeleteValues) {
	C.Struct(s).Set16(8, 7)
	C.Struct(s).SetObject(0, C.Object(v))
}
示例#16
0
func (s Ranges) Version() uint64               { return C.Struct(s).Get64(0) }
示例#17
0
func (s Routable) ChannelID() string         { return C.Struct(s).GetObject(0).ToText() }
示例#18
0
func (s Ranges) SetVersion(v uint64)           { C.Struct(s).Set64(0, v) }
示例#19
0
func (s Routable) Version() int64            { return int64(C.Struct(s).Get64(0)) }
示例#20
0
func (s Ranges) Values() ChangedRange_List     { return ChangedRange_List(C.Struct(s).GetObject(0)) }
示例#21
0
func (s Routable) Time() int64               { return int64(C.Struct(s).Get64(8)) }
示例#22
0
func (s Ranges) SetValues(v ChangedRange_List) { C.Struct(s).SetObject(0, C.Object(v)) }
示例#23
0
func (s Routable) Data() string              { return C.Struct(s).GetObject(1).ToText() }
示例#24
0
func (s Request) InsertValues() CmdInsertValues {
	return CmdInsertValues(C.Struct(s).GetObject(0).ToStruct())
}
示例#25
0
func (s Z) Which() Z_Which                 { return Z_Which(C.Struct(s).Get16(0)) }
示例#26
0
func (s Request) SetInsertValues(v CmdInsertValues) {
	C.Struct(s).Set16(8, 6)
	C.Struct(s).SetObject(0, C.Object(v))
}
示例#27
0
func (s Z) SetProgressupdate(v ProgressUpdate) {
	C.Struct(s).Set16(0, 0)
	C.Struct(s).SetObject(0, C.Object(v))
}
示例#28
0
func (s Request) DeleteValues() CmdDeleteValues {
	return CmdDeleteValues(C.Struct(s).GetObject(0).ToStruct())
}
示例#29
0
func (s Z) SetMatch(v Match) { C.Struct(s).Set16(0, 1); C.Struct(s).SetObject(0, C.Object(v)) }
示例#30
0
func (s Versions) SetUuids(v C.DataList)      { C.Struct(s).SetObject(0, C.Object(v)) }