Documentation ¶
Index ¶
- func AnnounceModify(fn AnnounceModifyFunc) state.ModifyFunc
- func AnnouncePeek(fn AnnouncePeekFunc) state.PeekFunc
- func EnvelopeBeatInfoModify(fn EnvelopeBeatInfoModifyFunc) state.ModifyFunc
- func EnvelopeBeatInfoPeek(fn EnvelopeBeatInfoPeekFunc) state.PeekFunc
- func EnvelopeBeatTickModify(fn EnvelopeBeatTickModifyFunc) state.ModifyFunc
- func EnvelopeBeatTickPeek(fn EnvelopeBeatTickPeekFunc) state.PeekFunc
- func EnvelopeRecordUpdateModify(fn EnvelopeRecordUpdateModifyFunc) state.ModifyFunc
- func EnvelopeRecordUpdatePeek(fn EnvelopeRecordUpdatePeekFunc) state.PeekFunc
- func NewID() string
- func NewIDBytes() []byte
- func RecordModify(fn RecordModifyFunc) state.ModifyFunc
- func RecordPeek(fn RecordPeekFunc) state.PeekFunc
- func WriteID(dst []byte) ([]byte, error)
- type Announce
- func (s Announce) Envelope() []byte
- func (s Announce) Id() string
- func (s Announce) IdBytes() []byte
- func (s Announce) MarshalCapLit() ([]byte, error)
- func (s Announce) MarshalJSON() ([]byte, error)
- func (s Announce) NodeID() string
- func (s Announce) NodeIDBytes() []byte
- func (s Announce) SetEnvelope(v []byte)
- func (s Announce) SetId(v string)
- func (s Announce) SetNodeID(v string)
- func (s Announce) SetSignature(v string)
- func (s Announce) SetTimestamp(v int64)
- func (s Announce) SetType(v AnnounceType)
- func (s Announce) Signature() string
- func (s Announce) SignatureBytes() []byte
- func (s Announce) Timestamp() int64
- func (s Announce) Type() AnnounceType
- func (s Announce) WriteCapLit(w io.Writer) error
- func (s Announce) WriteJSON(w io.Writer) error
- type AnnounceModifyFunc
- type AnnouncePeekFunc
- type AnnounceType
- type AnnounceType_List
- type Announce_List
- type EnvelopeBeatInfo
- func AutoNewEnvelopeBeatInfo(s *C.Segment) EnvelopeBeatInfo
- func NewEnvelopeBeatInfo(s *C.Segment) EnvelopeBeatInfo
- func NewRootEnvelopeBeatInfo(s *C.Segment) EnvelopeBeatInfo
- func ReadRootEnvelopeBeatInfo(s *C.Segment) EnvelopeBeatInfo
- func UnpackEnvelopeBeatInfo(data []byte) (EnvelopeBeatInfo, error)
- func (s EnvelopeBeatInfo) EthereumAddr() string
- func (s EnvelopeBeatInfo) EthereumAddrBytes() []byte
- func (s EnvelopeBeatInfo) Id() string
- func (s EnvelopeBeatInfo) IdBytes() []byte
- func (s EnvelopeBeatInfo) InboundWork() uint64
- func (s EnvelopeBeatInfo) MarshalCapLit() ([]byte, error)
- func (s EnvelopeBeatInfo) MarshalJSON() ([]byte, error)
- func (s EnvelopeBeatInfo) OutboundWork() uint64
- func (s EnvelopeBeatInfo) Session() string
- func (s EnvelopeBeatInfo) SessionBytes() []byte
- func (s EnvelopeBeatInfo) SetEthereumAddr(v string)
- func (s EnvelopeBeatInfo) SetId(v string)
- func (s EnvelopeBeatInfo) SetInboundWork(v uint64)
- func (s EnvelopeBeatInfo) SetOutboundWork(v uint64)
- func (s EnvelopeBeatInfo) SetSession(v string)
- func (s EnvelopeBeatInfo) SetUptimeUnix(v int64)
- func (s EnvelopeBeatInfo) UptimeUnix() int64
- func (s EnvelopeBeatInfo) WriteCapLit(w io.Writer) error
- func (s EnvelopeBeatInfo) WriteJSON(w io.Writer) error
- type EnvelopeBeatInfoModifyFunc
- type EnvelopeBeatInfoPeekFunc
- type EnvelopeBeatInfo_List
- type EnvelopeBeatTick
- func AutoNewEnvelopeBeatTick(s *C.Segment) EnvelopeBeatTick
- func NewEnvelopeBeatTick(s *C.Segment) EnvelopeBeatTick
- func NewRootEnvelopeBeatTick(s *C.Segment) EnvelopeBeatTick
- func ReadRootEnvelopeBeatTick(s *C.Segment) EnvelopeBeatTick
- func UnpackEnvelopeBeatTick(data []byte) (EnvelopeBeatTick, error)
- func (s EnvelopeBeatTick) Id() string
- func (s EnvelopeBeatTick) IdBytes() []byte
- func (s EnvelopeBeatTick) MarshalCapLit() ([]byte, error)
- func (s EnvelopeBeatTick) MarshalJSON() ([]byte, error)
- func (s EnvelopeBeatTick) Session() string
- func (s EnvelopeBeatTick) SessionBytes() []byte
- func (s EnvelopeBeatTick) SetId(v string)
- func (s EnvelopeBeatTick) SetSession(v string)
- func (s EnvelopeBeatTick) WriteCapLit(w io.Writer) error
- func (s EnvelopeBeatTick) WriteJSON(w io.Writer) error
- type EnvelopeBeatTickModifyFunc
- type EnvelopeBeatTickPeekFunc
- type EnvelopeBeatTick_List
- type EnvelopeRecordUpdate
- func AutoNewEnvelopeRecordUpdate(s *C.Segment) EnvelopeRecordUpdate
- func NewEnvelopeRecordUpdate(s *C.Segment) EnvelopeRecordUpdate
- func NewRootEnvelopeRecordUpdate(s *C.Segment) EnvelopeRecordUpdate
- func ReadRootEnvelopeRecordUpdate(s *C.Segment) EnvelopeRecordUpdate
- func UnpackEnvelopeRecordUpdate(data []byte) (EnvelopeRecordUpdate, error)
- func (e *EnvelopeRecordUpdate) Compare(e2 *EnvelopeRecordUpdate) int
- func (s EnvelopeRecordUpdate) Id() string
- func (s EnvelopeRecordUpdate) IdBytes() []byte
- func (s EnvelopeRecordUpdate) MarshalCapLit() ([]byte, error)
- func (s EnvelopeRecordUpdate) MarshalJSON() ([]byte, error)
- func (s EnvelopeRecordUpdate) SetId(v string)
- func (s EnvelopeRecordUpdate) SetVersion(v string)
- func (s EnvelopeRecordUpdate) SetVersionPrev(v string)
- func (s EnvelopeRecordUpdate) Version() string
- func (s EnvelopeRecordUpdate) VersionBytes() []byte
- func (s EnvelopeRecordUpdate) VersionPrev() string
- func (s EnvelopeRecordUpdate) VersionPrevBytes() []byte
- func (s EnvelopeRecordUpdate) WriteCapLit(w io.Writer) error
- func (s EnvelopeRecordUpdate) WriteJSON(w io.Writer) error
- type EnvelopeRecordUpdateModifyFunc
- type EnvelopeRecordUpdatePeekFunc
- type EnvelopeRecordUpdate_List
- type ObjectMeta
- func (s ObjectMeta) CreatedAt() int64
- func (s ObjectMeta) Id() string
- func (s ObjectMeta) IdBytes() []byte
- func (s ObjectMeta) IsDeleted() bool
- func (s ObjectMeta) MarshalCapLit() ([]byte, error)
- func (s ObjectMeta) MarshalJSON() ([]byte, error)
- func (s ObjectMeta) Path() string
- func (s ObjectMeta) PathBytes() []byte
- func (s ObjectMeta) SetCreatedAt(v int64)
- func (s ObjectMeta) SetId(v string)
- func (s ObjectMeta) SetIsDeleted(v bool)
- func (s ObjectMeta) SetPath(v string)
- func (s ObjectMeta) SetSize(v int64)
- func (s ObjectMeta) SetUserMeta(v string)
- func (s ObjectMeta) SetVersion(v string)
- func (s ObjectMeta) SetVersionPrevious(v string)
- func (s ObjectMeta) Size() int64
- func (s ObjectMeta) UserMeta() string
- func (s ObjectMeta) UserMetaBytes() []byte
- func (s ObjectMeta) Version() string
- func (s ObjectMeta) VersionBytes() []byte
- func (s ObjectMeta) VersionPrevious() string
- func (s ObjectMeta) VersionPreviousBytes() []byte
- func (s ObjectMeta) WriteCapLit(w io.Writer) error
- func (s ObjectMeta) WriteJSON(w io.Writer) error
- type ObjectMeta_List
- type Record
- func (r *Record) AnnounceEnvelope() (*EnvelopeRecordUpdate, error)
- func (s Record) CreatedAt() int64
- func (s Record) Current() RecordVersion
- func (s Record) Id() string
- func (s Record) IdBytes() []byte
- func (s Record) MarshalCapLit() ([]byte, error)
- func (s Record) MarshalJSON() ([]byte, error)
- func (s Record) Path() string
- func (s Record) PathBytes() []byte
- func (s Record) Previous() RecordVersion_List
- func (s Record) SetCreatedAt(v int64)
- func (s Record) SetCurrent(v RecordVersion)
- func (s Record) SetId(v string)
- func (s Record) SetPath(v string)
- func (s Record) SetPrevious(v RecordVersion_List)
- func (s Record) WriteCapLit(w io.Writer) error
- func (s Record) WriteJSON(w io.Writer) error
- type RecordModifyFunc
- type RecordPeekFunc
- type RecordVersion
- func (s RecordVersion) Announce() Announce
- func (s RecordVersion) MarshalCapLit() ([]byte, error)
- func (s RecordVersion) MarshalJSON() ([]byte, error)
- func (s RecordVersion) SetAnnounce(v Announce)
- func (s RecordVersion) SetVersion(v string)
- func (s RecordVersion) Version() string
- func (s RecordVersion) VersionBytes() []byte
- func (s RecordVersion) WriteCapLit(w io.Writer) error
- func (s RecordVersion) WriteJSON(w io.Writer) error
- type RecordVersion_List
- type Record_List
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnounceModify ¶
func AnnounceModify(fn AnnounceModifyFunc) state.ModifyFunc
func AnnouncePeek ¶
func AnnouncePeek(fn AnnouncePeekFunc) state.PeekFunc
func EnvelopeBeatInfoModify ¶
func EnvelopeBeatInfoModify(fn EnvelopeBeatInfoModifyFunc) state.ModifyFunc
func EnvelopeBeatInfoPeek ¶
func EnvelopeBeatInfoPeek(fn EnvelopeBeatInfoPeekFunc) state.PeekFunc
func EnvelopeBeatTickModify ¶
func EnvelopeBeatTickModify(fn EnvelopeBeatTickModifyFunc) state.ModifyFunc
func EnvelopeBeatTickPeek ¶
func EnvelopeBeatTickPeek(fn EnvelopeBeatTickPeekFunc) state.PeekFunc
func EnvelopeRecordUpdateModify ¶
func EnvelopeRecordUpdateModify(fn EnvelopeRecordUpdateModifyFunc) state.ModifyFunc
func EnvelopeRecordUpdatePeek ¶
func EnvelopeRecordUpdatePeek(fn EnvelopeRecordUpdatePeekFunc) state.PeekFunc
func NewIDBytes ¶
func NewIDBytes() []byte
func RecordModify ¶
func RecordModify(fn RecordModifyFunc) state.ModifyFunc
func RecordPeek ¶
func RecordPeek(fn RecordPeekFunc) state.PeekFunc
Types ¶
type Announce ¶
func AutoNewAnnounce ¶
func NewAnnounce ¶
func NewRootAnnounce ¶
func ReadRootAnnounce ¶
func UnpackAnnounce ¶
func (Announce) MarshalCapLit ¶
func (Announce) MarshalJSON ¶
func (Announce) NodeIDBytes ¶
func (Announce) SetEnvelope ¶
func (Announce) SetSignature ¶
func (Announce) SetTimestamp ¶
func (Announce) SetType ¶
func (s Announce) SetType(v AnnounceType)
func (Announce) SignatureBytes ¶
func (Announce) Type ¶
func (s Announce) Type() AnnounceType
type AnnounceModifyFunc ¶
type AnnounceType ¶
type AnnounceType uint16
const ( ANNOUNCETYPE_UNKNOWN AnnounceType = 0 ANNOUNCETYPE_BEATTICK AnnounceType = 1 ANNOUNCETYPE_BEATINFO AnnounceType = 2 ANNOUNCETYPE_RECORDUPDATE AnnounceType = 3 )
func AnnounceTypeFromString ¶
func AnnounceTypeFromString(c string) AnnounceType
func (AnnounceType) MarshalCapLit ¶
func (s AnnounceType) MarshalCapLit() ([]byte, error)
func (AnnounceType) MarshalJSON ¶
func (s AnnounceType) MarshalJSON() ([]byte, error)
func (AnnounceType) String ¶
func (c AnnounceType) String() string
func (AnnounceType) WriteCapLit ¶
func (s AnnounceType) WriteCapLit(w io.Writer) error
type AnnounceType_List ¶
type AnnounceType_List C.PointerList
func NewAnnounceTypeList ¶
func NewAnnounceTypeList(s *C.Segment, sz int) AnnounceType_List
func (AnnounceType_List) At ¶
func (s AnnounceType_List) At(i int) AnnounceType
func (AnnounceType_List) Len ¶
func (s AnnounceType_List) Len() int
func (AnnounceType_List) Set ¶
func (s AnnounceType_List) Set(i int, item AnnounceType)
func (AnnounceType_List) ToArray ¶
func (s AnnounceType_List) ToArray() []AnnounceType
type Announce_List ¶
type Announce_List C.PointerList
func NewAnnounceList ¶
func NewAnnounceList(s *C.Segment, sz int) Announce_List
func (Announce_List) At ¶
func (s Announce_List) At(i int) Announce
func (Announce_List) Len ¶
func (s Announce_List) Len() int
func (Announce_List) Set ¶
func (s Announce_List) Set(i int, item Announce)
func (Announce_List) ToArray ¶
func (s Announce_List) ToArray() []Announce
type EnvelopeBeatInfo ¶
func AutoNewEnvelopeBeatInfo ¶
func AutoNewEnvelopeBeatInfo(s *C.Segment) EnvelopeBeatInfo
func NewEnvelopeBeatInfo ¶
func NewEnvelopeBeatInfo(s *C.Segment) EnvelopeBeatInfo
func NewRootEnvelopeBeatInfo ¶
func NewRootEnvelopeBeatInfo(s *C.Segment) EnvelopeBeatInfo
func ReadRootEnvelopeBeatInfo ¶
func ReadRootEnvelopeBeatInfo(s *C.Segment) EnvelopeBeatInfo
func UnpackEnvelopeBeatInfo ¶
func UnpackEnvelopeBeatInfo(data []byte) (EnvelopeBeatInfo, error)
func (EnvelopeBeatInfo) EthereumAddr ¶
func (s EnvelopeBeatInfo) EthereumAddr() string
func (EnvelopeBeatInfo) EthereumAddrBytes ¶
func (s EnvelopeBeatInfo) EthereumAddrBytes() []byte
func (EnvelopeBeatInfo) Id ¶
func (s EnvelopeBeatInfo) Id() string
func (EnvelopeBeatInfo) IdBytes ¶
func (s EnvelopeBeatInfo) IdBytes() []byte
func (EnvelopeBeatInfo) InboundWork ¶
func (s EnvelopeBeatInfo) InboundWork() uint64
func (EnvelopeBeatInfo) MarshalCapLit ¶
func (s EnvelopeBeatInfo) MarshalCapLit() ([]byte, error)
func (EnvelopeBeatInfo) MarshalJSON ¶
func (s EnvelopeBeatInfo) MarshalJSON() ([]byte, error)
func (EnvelopeBeatInfo) OutboundWork ¶
func (s EnvelopeBeatInfo) OutboundWork() uint64
func (EnvelopeBeatInfo) Session ¶
func (s EnvelopeBeatInfo) Session() string
func (EnvelopeBeatInfo) SessionBytes ¶
func (s EnvelopeBeatInfo) SessionBytes() []byte
func (EnvelopeBeatInfo) SetEthereumAddr ¶
func (s EnvelopeBeatInfo) SetEthereumAddr(v string)
func (EnvelopeBeatInfo) SetId ¶
func (s EnvelopeBeatInfo) SetId(v string)
func (EnvelopeBeatInfo) SetInboundWork ¶
func (s EnvelopeBeatInfo) SetInboundWork(v uint64)
func (EnvelopeBeatInfo) SetOutboundWork ¶
func (s EnvelopeBeatInfo) SetOutboundWork(v uint64)
func (EnvelopeBeatInfo) SetSession ¶
func (s EnvelopeBeatInfo) SetSession(v string)
func (EnvelopeBeatInfo) SetUptimeUnix ¶
func (s EnvelopeBeatInfo) SetUptimeUnix(v int64)
func (EnvelopeBeatInfo) UptimeUnix ¶
func (s EnvelopeBeatInfo) UptimeUnix() int64
func (EnvelopeBeatInfo) WriteCapLit ¶
func (s EnvelopeBeatInfo) WriteCapLit(w io.Writer) error
type EnvelopeBeatInfoModifyFunc ¶
type EnvelopeBeatInfoModifyFunc func(key *state.Key, v *EnvelopeBeatInfo) (*EnvelopeBeatInfo, error)
type EnvelopeBeatInfoPeekFunc ¶
type EnvelopeBeatInfoPeekFunc func(key *state.Key, v *EnvelopeBeatInfo) error
type EnvelopeBeatInfo_List ¶
type EnvelopeBeatInfo_List C.PointerList
func NewEnvelopeBeatInfoList ¶
func NewEnvelopeBeatInfoList(s *C.Segment, sz int) EnvelopeBeatInfo_List
func (EnvelopeBeatInfo_List) At ¶
func (s EnvelopeBeatInfo_List) At(i int) EnvelopeBeatInfo
func (EnvelopeBeatInfo_List) Len ¶
func (s EnvelopeBeatInfo_List) Len() int
func (EnvelopeBeatInfo_List) Set ¶
func (s EnvelopeBeatInfo_List) Set(i int, item EnvelopeBeatInfo)
func (EnvelopeBeatInfo_List) ToArray ¶
func (s EnvelopeBeatInfo_List) ToArray() []EnvelopeBeatInfo
type EnvelopeBeatTick ¶
func AutoNewEnvelopeBeatTick ¶
func AutoNewEnvelopeBeatTick(s *C.Segment) EnvelopeBeatTick
func NewEnvelopeBeatTick ¶
func NewEnvelopeBeatTick(s *C.Segment) EnvelopeBeatTick
func NewRootEnvelopeBeatTick ¶
func NewRootEnvelopeBeatTick(s *C.Segment) EnvelopeBeatTick
func ReadRootEnvelopeBeatTick ¶
func ReadRootEnvelopeBeatTick(s *C.Segment) EnvelopeBeatTick
func UnpackEnvelopeBeatTick ¶
func UnpackEnvelopeBeatTick(data []byte) (EnvelopeBeatTick, error)
func (EnvelopeBeatTick) Id ¶
func (s EnvelopeBeatTick) Id() string
func (EnvelopeBeatTick) IdBytes ¶
func (s EnvelopeBeatTick) IdBytes() []byte
func (EnvelopeBeatTick) MarshalCapLit ¶
func (s EnvelopeBeatTick) MarshalCapLit() ([]byte, error)
func (EnvelopeBeatTick) MarshalJSON ¶
func (s EnvelopeBeatTick) MarshalJSON() ([]byte, error)
func (EnvelopeBeatTick) Session ¶
func (s EnvelopeBeatTick) Session() string
func (EnvelopeBeatTick) SessionBytes ¶
func (s EnvelopeBeatTick) SessionBytes() []byte
func (EnvelopeBeatTick) SetId ¶
func (s EnvelopeBeatTick) SetId(v string)
func (EnvelopeBeatTick) SetSession ¶
func (s EnvelopeBeatTick) SetSession(v string)
func (EnvelopeBeatTick) WriteCapLit ¶
func (s EnvelopeBeatTick) WriteCapLit(w io.Writer) error
type EnvelopeBeatTickModifyFunc ¶
type EnvelopeBeatTickModifyFunc func(key *state.Key, v *EnvelopeBeatTick) (*EnvelopeBeatTick, error)
type EnvelopeBeatTickPeekFunc ¶
type EnvelopeBeatTickPeekFunc func(key *state.Key, v *EnvelopeBeatTick) error
type EnvelopeBeatTick_List ¶
type EnvelopeBeatTick_List C.PointerList
func NewEnvelopeBeatTickList ¶
func NewEnvelopeBeatTickList(s *C.Segment, sz int) EnvelopeBeatTick_List
func (EnvelopeBeatTick_List) At ¶
func (s EnvelopeBeatTick_List) At(i int) EnvelopeBeatTick
func (EnvelopeBeatTick_List) Len ¶
func (s EnvelopeBeatTick_List) Len() int
func (EnvelopeBeatTick_List) Set ¶
func (s EnvelopeBeatTick_List) Set(i int, item EnvelopeBeatTick)
func (EnvelopeBeatTick_List) ToArray ¶
func (s EnvelopeBeatTick_List) ToArray() []EnvelopeBeatTick
type EnvelopeRecordUpdate ¶
func AutoNewEnvelopeRecordUpdate ¶
func AutoNewEnvelopeRecordUpdate(s *C.Segment) EnvelopeRecordUpdate
func NewEnvelopeRecordUpdate ¶
func NewEnvelopeRecordUpdate(s *C.Segment) EnvelopeRecordUpdate
func NewRootEnvelopeRecordUpdate ¶
func NewRootEnvelopeRecordUpdate(s *C.Segment) EnvelopeRecordUpdate
func ReadRootEnvelopeRecordUpdate ¶
func ReadRootEnvelopeRecordUpdate(s *C.Segment) EnvelopeRecordUpdate
func UnpackEnvelopeRecordUpdate ¶
func UnpackEnvelopeRecordUpdate(data []byte) (EnvelopeRecordUpdate, error)
func (*EnvelopeRecordUpdate) Compare ¶
func (e *EnvelopeRecordUpdate) Compare(e2 *EnvelopeRecordUpdate) int
func (EnvelopeRecordUpdate) Id ¶
func (s EnvelopeRecordUpdate) Id() string
func (EnvelopeRecordUpdate) IdBytes ¶
func (s EnvelopeRecordUpdate) IdBytes() []byte
func (EnvelopeRecordUpdate) MarshalCapLit ¶
func (s EnvelopeRecordUpdate) MarshalCapLit() ([]byte, error)
func (EnvelopeRecordUpdate) MarshalJSON ¶
func (s EnvelopeRecordUpdate) MarshalJSON() ([]byte, error)
func (EnvelopeRecordUpdate) SetId ¶
func (s EnvelopeRecordUpdate) SetId(v string)
func (EnvelopeRecordUpdate) SetVersion ¶
func (s EnvelopeRecordUpdate) SetVersion(v string)
func (EnvelopeRecordUpdate) SetVersionPrev ¶
func (s EnvelopeRecordUpdate) SetVersionPrev(v string)
func (EnvelopeRecordUpdate) Version ¶
func (s EnvelopeRecordUpdate) Version() string
func (EnvelopeRecordUpdate) VersionBytes ¶
func (s EnvelopeRecordUpdate) VersionBytes() []byte
func (EnvelopeRecordUpdate) VersionPrev ¶
func (s EnvelopeRecordUpdate) VersionPrev() string
func (EnvelopeRecordUpdate) VersionPrevBytes ¶
func (s EnvelopeRecordUpdate) VersionPrevBytes() []byte
func (EnvelopeRecordUpdate) WriteCapLit ¶
func (s EnvelopeRecordUpdate) WriteCapLit(w io.Writer) error
type EnvelopeRecordUpdateModifyFunc ¶
type EnvelopeRecordUpdateModifyFunc func(key *state.Key, v *EnvelopeRecordUpdate) (*EnvelopeRecordUpdate, error)
type EnvelopeRecordUpdatePeekFunc ¶
type EnvelopeRecordUpdatePeekFunc func(key *state.Key, v *EnvelopeRecordUpdate) error
type EnvelopeRecordUpdate_List ¶
type EnvelopeRecordUpdate_List C.PointerList
func NewEnvelopeRecordUpdateList ¶
func NewEnvelopeRecordUpdateList(s *C.Segment, sz int) EnvelopeRecordUpdate_List
func (EnvelopeRecordUpdate_List) At ¶
func (s EnvelopeRecordUpdate_List) At(i int) EnvelopeRecordUpdate
func (EnvelopeRecordUpdate_List) Len ¶
func (s EnvelopeRecordUpdate_List) Len() int
func (EnvelopeRecordUpdate_List) Set ¶
func (s EnvelopeRecordUpdate_List) Set(i int, item EnvelopeRecordUpdate)
func (EnvelopeRecordUpdate_List) ToArray ¶
func (s EnvelopeRecordUpdate_List) ToArray() []EnvelopeRecordUpdate
type ObjectMeta ¶
func AutoNewObjectMeta ¶
func AutoNewObjectMeta(s *C.Segment) ObjectMeta
func NewObjectMeta ¶
func NewObjectMeta(s *C.Segment) ObjectMeta
func NewRootObjectMeta ¶
func NewRootObjectMeta(s *C.Segment) ObjectMeta
func ReadRootObjectMeta ¶
func ReadRootObjectMeta(s *C.Segment) ObjectMeta
func (ObjectMeta) CreatedAt ¶
func (s ObjectMeta) CreatedAt() int64
func (ObjectMeta) Id ¶
func (s ObjectMeta) Id() string
func (ObjectMeta) IdBytes ¶
func (s ObjectMeta) IdBytes() []byte
func (ObjectMeta) IsDeleted ¶
func (s ObjectMeta) IsDeleted() bool
func (ObjectMeta) MarshalCapLit ¶
func (s ObjectMeta) MarshalCapLit() ([]byte, error)
func (ObjectMeta) MarshalJSON ¶
func (s ObjectMeta) MarshalJSON() ([]byte, error)
func (ObjectMeta) Path ¶
func (s ObjectMeta) Path() string
func (ObjectMeta) PathBytes ¶
func (s ObjectMeta) PathBytes() []byte
func (ObjectMeta) SetCreatedAt ¶
func (s ObjectMeta) SetCreatedAt(v int64)
func (ObjectMeta) SetId ¶
func (s ObjectMeta) SetId(v string)
func (ObjectMeta) SetIsDeleted ¶
func (s ObjectMeta) SetIsDeleted(v bool)
func (ObjectMeta) SetPath ¶
func (s ObjectMeta) SetPath(v string)
func (ObjectMeta) SetSize ¶
func (s ObjectMeta) SetSize(v int64)
func (ObjectMeta) SetUserMeta ¶
func (s ObjectMeta) SetUserMeta(v string)
func (ObjectMeta) SetVersion ¶
func (s ObjectMeta) SetVersion(v string)
func (ObjectMeta) SetVersionPrevious ¶
func (s ObjectMeta) SetVersionPrevious(v string)
func (ObjectMeta) Size ¶
func (s ObjectMeta) Size() int64
func (ObjectMeta) UserMeta ¶
func (s ObjectMeta) UserMeta() string
func (ObjectMeta) UserMetaBytes ¶
func (s ObjectMeta) UserMetaBytes() []byte
func (ObjectMeta) Version ¶
func (s ObjectMeta) Version() string
func (ObjectMeta) VersionBytes ¶
func (s ObjectMeta) VersionBytes() []byte
func (ObjectMeta) VersionPrevious ¶
func (s ObjectMeta) VersionPrevious() string
func (ObjectMeta) VersionPreviousBytes ¶
func (s ObjectMeta) VersionPreviousBytes() []byte
func (ObjectMeta) WriteCapLit ¶
func (s ObjectMeta) WriteCapLit(w io.Writer) error
type ObjectMeta_List ¶
type ObjectMeta_List C.PointerList
func NewObjectMetaList ¶
func NewObjectMetaList(s *C.Segment, sz int) ObjectMeta_List
func (ObjectMeta_List) At ¶
func (s ObjectMeta_List) At(i int) ObjectMeta
func (ObjectMeta_List) Len ¶
func (s ObjectMeta_List) Len() int
func (ObjectMeta_List) Set ¶
func (s ObjectMeta_List) Set(i int, item ObjectMeta)
func (ObjectMeta_List) ToArray ¶
func (s ObjectMeta_List) ToArray() []ObjectMeta
type Record ¶
func AutoNewRecord ¶
func NewRootRecord ¶
func ReadRootRecord ¶
func (*Record) AnnounceEnvelope ¶
func (r *Record) AnnounceEnvelope() (*EnvelopeRecordUpdate, error)
func (Record) Current ¶
func (s Record) Current() RecordVersion
func (Record) MarshalCapLit ¶
func (Record) MarshalJSON ¶
func (Record) Previous ¶
func (s Record) Previous() RecordVersion_List
func (Record) SetCreatedAt ¶
func (Record) SetCurrent ¶
func (s Record) SetCurrent(v RecordVersion)
func (Record) SetPrevious ¶
func (s Record) SetPrevious(v RecordVersion_List)
type RecordVersion ¶
func AutoNewRecordVersion ¶
func AutoNewRecordVersion(s *C.Segment) RecordVersion
func NewRecordVersion ¶
func NewRecordVersion(s *C.Segment) RecordVersion
func NewRootRecordVersion ¶
func NewRootRecordVersion(s *C.Segment) RecordVersion
func ReadRootRecordVersion ¶
func ReadRootRecordVersion(s *C.Segment) RecordVersion
func (RecordVersion) Announce ¶
func (s RecordVersion) Announce() Announce
func (RecordVersion) MarshalCapLit ¶
func (s RecordVersion) MarshalCapLit() ([]byte, error)
func (RecordVersion) MarshalJSON ¶
func (s RecordVersion) MarshalJSON() ([]byte, error)
func (RecordVersion) SetAnnounce ¶
func (s RecordVersion) SetAnnounce(v Announce)
func (RecordVersion) SetVersion ¶
func (s RecordVersion) SetVersion(v string)
func (RecordVersion) Version ¶
func (s RecordVersion) Version() string
func (RecordVersion) VersionBytes ¶
func (s RecordVersion) VersionBytes() []byte
func (RecordVersion) WriteCapLit ¶
func (s RecordVersion) WriteCapLit(w io.Writer) error
type RecordVersion_List ¶
type RecordVersion_List C.PointerList
func AppendRecordVersion ¶
func AppendRecordVersion(list RecordVersion_List, ver RecordVersion) RecordVersion_List
func NewRecordVersionList ¶
func NewRecordVersionList(s *C.Segment, sz int) RecordVersion_List
func (RecordVersion_List) At ¶
func (s RecordVersion_List) At(i int) RecordVersion
func (RecordVersion_List) Len ¶
func (s RecordVersion_List) Len() int
func (RecordVersion_List) Set ¶
func (s RecordVersion_List) Set(i int, item RecordVersion)
func (RecordVersion_List) ToArray ¶
func (s RecordVersion_List) ToArray() []RecordVersion
type Record_List ¶
type Record_List C.PointerList
func NewRecordList ¶
func NewRecordList(s *C.Segment, sz int) Record_List
func (Record_List) At ¶
func (s Record_List) At(i int) Record
func (Record_List) Len ¶
func (s Record_List) Len() int
func (Record_List) Set ¶
func (s Record_List) Set(i int, item Record)
func (Record_List) ToArray ¶
func (s Record_List) ToArray() []Record
Click to show internal directories.
Click to hide internal directories.