Пример #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)) }