Documentation ¶
Index ¶
- Variables
- func RegisterClusterServer(s *grpc.Server, srv ClusterServer)
- func RegisterYorkieServer(s *grpc.Server, srv YorkieServer)
- type ActivateClientRequest
- func (*ActivateClientRequest) Descriptor() ([]byte, []int)
- func (m *ActivateClientRequest) GetClientKey() string
- func (m *ActivateClientRequest) Marshal() (dAtA []byte, err error)
- func (m *ActivateClientRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ActivateClientRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ActivateClientRequest) ProtoMessage()
- func (m *ActivateClientRequest) Reset()
- func (m *ActivateClientRequest) Size() (n int)
- func (m *ActivateClientRequest) String() string
- func (m *ActivateClientRequest) Unmarshal(dAtA []byte) error
- func (m *ActivateClientRequest) XXX_DiscardUnknown()
- func (m *ActivateClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActivateClientRequest) XXX_Merge(src proto.Message)
- func (m *ActivateClientRequest) XXX_Size() int
- func (m *ActivateClientRequest) XXX_Unmarshal(b []byte) error
- type ActivateClientResponse
- func (*ActivateClientResponse) Descriptor() ([]byte, []int)
- func (m *ActivateClientResponse) GetClientId() []byte
- func (m *ActivateClientResponse) GetClientKey() string
- func (m *ActivateClientResponse) Marshal() (dAtA []byte, err error)
- func (m *ActivateClientResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ActivateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ActivateClientResponse) ProtoMessage()
- func (m *ActivateClientResponse) Reset()
- func (m *ActivateClientResponse) Size() (n int)
- func (m *ActivateClientResponse) String() string
- func (m *ActivateClientResponse) Unmarshal(dAtA []byte) error
- func (m *ActivateClientResponse) XXX_DiscardUnknown()
- func (m *ActivateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActivateClientResponse) XXX_Merge(src proto.Message)
- func (m *ActivateClientResponse) XXX_Size() int
- func (m *ActivateClientResponse) XXX_Unmarshal(b []byte) error
- type AttachDocumentRequest
- func (*AttachDocumentRequest) Descriptor() ([]byte, []int)
- func (m *AttachDocumentRequest) GetChangePack() *ChangePack
- func (m *AttachDocumentRequest) GetClientId() []byte
- func (m *AttachDocumentRequest) Marshal() (dAtA []byte, err error)
- func (m *AttachDocumentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AttachDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AttachDocumentRequest) ProtoMessage()
- func (m *AttachDocumentRequest) Reset()
- func (m *AttachDocumentRequest) Size() (n int)
- func (m *AttachDocumentRequest) String() string
- func (m *AttachDocumentRequest) Unmarshal(dAtA []byte) error
- func (m *AttachDocumentRequest) XXX_DiscardUnknown()
- func (m *AttachDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttachDocumentRequest) XXX_Merge(src proto.Message)
- func (m *AttachDocumentRequest) XXX_Size() int
- func (m *AttachDocumentRequest) XXX_Unmarshal(b []byte) error
- type AttachDocumentResponse
- func (*AttachDocumentResponse) Descriptor() ([]byte, []int)
- func (m *AttachDocumentResponse) GetChangePack() *ChangePack
- func (m *AttachDocumentResponse) GetClientId() []byte
- func (m *AttachDocumentResponse) Marshal() (dAtA []byte, err error)
- func (m *AttachDocumentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AttachDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AttachDocumentResponse) ProtoMessage()
- func (m *AttachDocumentResponse) Reset()
- func (m *AttachDocumentResponse) Size() (n int)
- func (m *AttachDocumentResponse) String() string
- func (m *AttachDocumentResponse) Unmarshal(dAtA []byte) error
- func (m *AttachDocumentResponse) XXX_DiscardUnknown()
- func (m *AttachDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttachDocumentResponse) XXX_Merge(src proto.Message)
- func (m *AttachDocumentResponse) XXX_Size() int
- func (m *AttachDocumentResponse) XXX_Unmarshal(b []byte) error
- type BroadcastEventRequest
- func (*BroadcastEventRequest) Descriptor() ([]byte, []int)
- func (m *BroadcastEventRequest) GetEvent() *DocEvent
- func (m *BroadcastEventRequest) GetPublisherId() []byte
- func (m *BroadcastEventRequest) Marshal() (dAtA []byte, err error)
- func (m *BroadcastEventRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BroadcastEventRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BroadcastEventRequest) ProtoMessage()
- func (m *BroadcastEventRequest) Reset()
- func (m *BroadcastEventRequest) Size() (n int)
- func (m *BroadcastEventRequest) String() string
- func (m *BroadcastEventRequest) Unmarshal(dAtA []byte) error
- func (m *BroadcastEventRequest) XXX_DiscardUnknown()
- func (m *BroadcastEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BroadcastEventRequest) XXX_Merge(src proto.Message)
- func (m *BroadcastEventRequest) XXX_Size() int
- func (m *BroadcastEventRequest) XXX_Unmarshal(b []byte) error
- type BroadcastEventResponse
- func (*BroadcastEventResponse) Descriptor() ([]byte, []int)
- func (m *BroadcastEventResponse) Marshal() (dAtA []byte, err error)
- func (m *BroadcastEventResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BroadcastEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BroadcastEventResponse) ProtoMessage()
- func (m *BroadcastEventResponse) Reset()
- func (m *BroadcastEventResponse) Size() (n int)
- func (m *BroadcastEventResponse) String() string
- func (m *BroadcastEventResponse) Unmarshal(dAtA []byte) error
- func (m *BroadcastEventResponse) XXX_DiscardUnknown()
- func (m *BroadcastEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BroadcastEventResponse) XXX_Merge(src proto.Message)
- func (m *BroadcastEventResponse) XXX_Size() int
- func (m *BroadcastEventResponse) XXX_Unmarshal(b []byte) error
- type Change
- func (*Change) Descriptor() ([]byte, []int)
- func (m *Change) GetId() *ChangeID
- func (m *Change) GetMessage() string
- func (m *Change) GetOperations() []*Operation
- func (m *Change) Marshal() (dAtA []byte, err error)
- func (m *Change) MarshalTo(dAtA []byte) (int, error)
- func (m *Change) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Change) ProtoMessage()
- func (m *Change) Reset()
- func (m *Change) Size() (n int)
- func (m *Change) String() string
- func (m *Change) Unmarshal(dAtA []byte) error
- func (m *Change) XXX_DiscardUnknown()
- func (m *Change) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Change) XXX_Merge(src proto.Message)
- func (m *Change) XXX_Size() int
- func (m *Change) XXX_Unmarshal(b []byte) error
- type ChangeID
- func (*ChangeID) Descriptor() ([]byte, []int)
- func (m *ChangeID) GetActorId() []byte
- func (m *ChangeID) GetClientSeq() uint32
- func (m *ChangeID) GetLamport() uint64
- func (m *ChangeID) Marshal() (dAtA []byte, err error)
- func (m *ChangeID) MarshalTo(dAtA []byte) (int, error)
- func (m *ChangeID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChangeID) ProtoMessage()
- func (m *ChangeID) Reset()
- func (m *ChangeID) Size() (n int)
- func (m *ChangeID) String() string
- func (m *ChangeID) Unmarshal(dAtA []byte) error
- func (m *ChangeID) XXX_DiscardUnknown()
- func (m *ChangeID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangeID) XXX_Merge(src proto.Message)
- func (m *ChangeID) XXX_Size() int
- func (m *ChangeID) XXX_Unmarshal(b []byte) error
- type ChangePack
- func (*ChangePack) Descriptor() ([]byte, []int)
- func (m *ChangePack) GetChanges() []*Change
- func (m *ChangePack) GetCheckpoint() *Checkpoint
- func (m *ChangePack) GetDocumentKey() *DocumentKey
- func (m *ChangePack) GetMinSyncedTicket() *TimeTicket
- func (m *ChangePack) GetSnapshot() []byte
- func (m *ChangePack) Marshal() (dAtA []byte, err error)
- func (m *ChangePack) MarshalTo(dAtA []byte) (int, error)
- func (m *ChangePack) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChangePack) ProtoMessage()
- func (m *ChangePack) Reset()
- func (m *ChangePack) Size() (n int)
- func (m *ChangePack) String() string
- func (m *ChangePack) Unmarshal(dAtA []byte) error
- func (m *ChangePack) XXX_DiscardUnknown()
- func (m *ChangePack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangePack) XXX_Merge(src proto.Message)
- func (m *ChangePack) XXX_Size() int
- func (m *ChangePack) XXX_Unmarshal(b []byte) error
- type Checkpoint
- func (*Checkpoint) Descriptor() ([]byte, []int)
- func (m *Checkpoint) GetClientSeq() uint32
- func (m *Checkpoint) GetServerSeq() uint64
- func (m *Checkpoint) Marshal() (dAtA []byte, err error)
- func (m *Checkpoint) MarshalTo(dAtA []byte) (int, error)
- func (m *Checkpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Checkpoint) ProtoMessage()
- func (m *Checkpoint) Reset()
- func (m *Checkpoint) Size() (n int)
- func (m *Checkpoint) String() string
- func (m *Checkpoint) Unmarshal(dAtA []byte) error
- func (m *Checkpoint) XXX_DiscardUnknown()
- func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Checkpoint) XXX_Merge(src proto.Message)
- func (m *Checkpoint) XXX_Size() int
- func (m *Checkpoint) XXX_Unmarshal(b []byte) error
- type Client
- func (*Client) Descriptor() ([]byte, []int)
- func (m *Client) GetId() []byte
- func (m *Client) GetMetadata() *Metadata
- func (m *Client) Marshal() (dAtA []byte, err error)
- func (m *Client) MarshalTo(dAtA []byte) (int, error)
- func (m *Client) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Client) ProtoMessage()
- func (m *Client) Reset()
- func (m *Client) Size() (n int)
- func (m *Client) String() string
- func (m *Client) Unmarshal(dAtA []byte) error
- func (m *Client) XXX_DiscardUnknown()
- func (m *Client) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Client) XXX_Merge(src proto.Message)
- func (m *Client) XXX_Size() int
- func (m *Client) XXX_Unmarshal(b []byte) error
- type Clients
- func (*Clients) Descriptor() ([]byte, []int)
- func (m *Clients) GetClients() []*Client
- func (m *Clients) Marshal() (dAtA []byte, err error)
- func (m *Clients) MarshalTo(dAtA []byte) (int, error)
- func (m *Clients) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Clients) ProtoMessage()
- func (m *Clients) Reset()
- func (m *Clients) Size() (n int)
- func (m *Clients) String() string
- func (m *Clients) Unmarshal(dAtA []byte) error
- func (m *Clients) XXX_DiscardUnknown()
- func (m *Clients) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Clients) XXX_Merge(src proto.Message)
- func (m *Clients) XXX_Size() int
- func (m *Clients) XXX_Unmarshal(b []byte) error
- type ClusterClient
- type ClusterServer
- type DeactivateClientRequest
- func (*DeactivateClientRequest) Descriptor() ([]byte, []int)
- func (m *DeactivateClientRequest) GetClientId() []byte
- func (m *DeactivateClientRequest) Marshal() (dAtA []byte, err error)
- func (m *DeactivateClientRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeactivateClientRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeactivateClientRequest) ProtoMessage()
- func (m *DeactivateClientRequest) Reset()
- func (m *DeactivateClientRequest) Size() (n int)
- func (m *DeactivateClientRequest) String() string
- func (m *DeactivateClientRequest) Unmarshal(dAtA []byte) error
- func (m *DeactivateClientRequest) XXX_DiscardUnknown()
- func (m *DeactivateClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeactivateClientRequest) XXX_Merge(src proto.Message)
- func (m *DeactivateClientRequest) XXX_Size() int
- func (m *DeactivateClientRequest) XXX_Unmarshal(b []byte) error
- type DeactivateClientResponse
- func (*DeactivateClientResponse) Descriptor() ([]byte, []int)
- func (m *DeactivateClientResponse) GetClientId() []byte
- func (m *DeactivateClientResponse) Marshal() (dAtA []byte, err error)
- func (m *DeactivateClientResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DeactivateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeactivateClientResponse) ProtoMessage()
- func (m *DeactivateClientResponse) Reset()
- func (m *DeactivateClientResponse) Size() (n int)
- func (m *DeactivateClientResponse) String() string
- func (m *DeactivateClientResponse) Unmarshal(dAtA []byte) error
- func (m *DeactivateClientResponse) XXX_DiscardUnknown()
- func (m *DeactivateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeactivateClientResponse) XXX_Merge(src proto.Message)
- func (m *DeactivateClientResponse) XXX_Size() int
- func (m *DeactivateClientResponse) XXX_Unmarshal(b []byte) error
- type DetachDocumentRequest
- func (*DetachDocumentRequest) Descriptor() ([]byte, []int)
- func (m *DetachDocumentRequest) GetChangePack() *ChangePack
- func (m *DetachDocumentRequest) GetClientId() []byte
- func (m *DetachDocumentRequest) Marshal() (dAtA []byte, err error)
- func (m *DetachDocumentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DetachDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DetachDocumentRequest) ProtoMessage()
- func (m *DetachDocumentRequest) Reset()
- func (m *DetachDocumentRequest) Size() (n int)
- func (m *DetachDocumentRequest) String() string
- func (m *DetachDocumentRequest) Unmarshal(dAtA []byte) error
- func (m *DetachDocumentRequest) XXX_DiscardUnknown()
- func (m *DetachDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetachDocumentRequest) XXX_Merge(src proto.Message)
- func (m *DetachDocumentRequest) XXX_Size() int
- func (m *DetachDocumentRequest) XXX_Unmarshal(b []byte) error
- type DetachDocumentResponse
- func (*DetachDocumentResponse) Descriptor() ([]byte, []int)
- func (m *DetachDocumentResponse) GetChangePack() *ChangePack
- func (m *DetachDocumentResponse) GetClientKey() string
- func (m *DetachDocumentResponse) Marshal() (dAtA []byte, err error)
- func (m *DetachDocumentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DetachDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DetachDocumentResponse) ProtoMessage()
- func (m *DetachDocumentResponse) Reset()
- func (m *DetachDocumentResponse) Size() (n int)
- func (m *DetachDocumentResponse) String() string
- func (m *DetachDocumentResponse) Unmarshal(dAtA []byte) error
- func (m *DetachDocumentResponse) XXX_DiscardUnknown()
- func (m *DetachDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DetachDocumentResponse) XXX_Merge(src proto.Message)
- func (m *DetachDocumentResponse) XXX_Size() int
- func (m *DetachDocumentResponse) XXX_Unmarshal(b []byte) error
- type DocEvent
- func (*DocEvent) Descriptor() ([]byte, []int)
- func (m *DocEvent) GetDocumentKeys() []*DocumentKey
- func (m *DocEvent) GetPublisher() *Client
- func (m *DocEvent) GetType() DocEventType
- func (m *DocEvent) Marshal() (dAtA []byte, err error)
- func (m *DocEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *DocEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DocEvent) ProtoMessage()
- func (m *DocEvent) Reset()
- func (m *DocEvent) Size() (n int)
- func (m *DocEvent) String() string
- func (m *DocEvent) Unmarshal(dAtA []byte) error
- func (m *DocEvent) XXX_DiscardUnknown()
- func (m *DocEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DocEvent) XXX_Merge(src proto.Message)
- func (m *DocEvent) XXX_Size() int
- func (m *DocEvent) XXX_Unmarshal(b []byte) error
- type DocEventType
- type DocumentKey
- func (*DocumentKey) Descriptor() ([]byte, []int)
- func (m *DocumentKey) GetCollection() string
- func (m *DocumentKey) GetDocument() string
- func (m *DocumentKey) Marshal() (dAtA []byte, err error)
- func (m *DocumentKey) MarshalTo(dAtA []byte) (int, error)
- func (m *DocumentKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DocumentKey) ProtoMessage()
- func (m *DocumentKey) Reset()
- func (m *DocumentKey) Size() (n int)
- func (m *DocumentKey) String() string
- func (m *DocumentKey) Unmarshal(dAtA []byte) error
- func (m *DocumentKey) XXX_DiscardUnknown()
- func (m *DocumentKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DocumentKey) XXX_Merge(src proto.Message)
- func (m *DocumentKey) XXX_Size() int
- func (m *DocumentKey) XXX_Unmarshal(b []byte) error
- type JSONElement
- func (*JSONElement) Descriptor() ([]byte, []int)
- func (m *JSONElement) GetBody() isJSONElement_Body
- func (m *JSONElement) GetCounter() *JSONElement_Counter
- func (m *JSONElement) GetJsonArray() *JSONElement_JSONArray
- func (m *JSONElement) GetJsonObject() *JSONElement_JSONObject
- func (m *JSONElement) GetPrimitive() *JSONElement_Primitive
- func (m *JSONElement) GetRichText() *JSONElement_RichText
- func (m *JSONElement) GetText() *JSONElement_Text
- func (m *JSONElement) Marshal() (dAtA []byte, err error)
- func (m *JSONElement) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONElement) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JSONElement) ProtoMessage()
- func (m *JSONElement) Reset()
- func (m *JSONElement) Size() (n int)
- func (m *JSONElement) String() string
- func (m *JSONElement) Unmarshal(dAtA []byte) error
- func (m *JSONElement) XXX_DiscardUnknown()
- func (m *JSONElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONElement) XXX_Merge(src proto.Message)
- func (*JSONElement) XXX_OneofWrappers() []interface{}
- func (m *JSONElement) XXX_Size() int
- func (m *JSONElement) XXX_Unmarshal(b []byte) error
- type JSONElementSimple
- func (*JSONElementSimple) Descriptor() ([]byte, []int)
- func (m *JSONElementSimple) GetCreatedAt() *TimeTicket
- func (m *JSONElementSimple) GetMovedAt() *TimeTicket
- func (m *JSONElementSimple) GetRemovedAt() *TimeTicket
- func (m *JSONElementSimple) GetType() ValueType
- func (m *JSONElementSimple) GetValue() []byte
- func (m *JSONElementSimple) Marshal() (dAtA []byte, err error)
- func (m *JSONElementSimple) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONElementSimple) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JSONElementSimple) ProtoMessage()
- func (m *JSONElementSimple) Reset()
- func (m *JSONElementSimple) Size() (n int)
- func (m *JSONElementSimple) String() string
- func (m *JSONElementSimple) Unmarshal(dAtA []byte) error
- func (m *JSONElementSimple) XXX_DiscardUnknown()
- func (m *JSONElementSimple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONElementSimple) XXX_Merge(src proto.Message)
- func (m *JSONElementSimple) XXX_Size() int
- func (m *JSONElementSimple) XXX_Unmarshal(b []byte) error
- type JSONElement_Counter
- func (*JSONElement_Counter) Descriptor() ([]byte, []int)
- func (m *JSONElement_Counter) GetCreatedAt() *TimeTicket
- func (m *JSONElement_Counter) GetMovedAt() *TimeTicket
- func (m *JSONElement_Counter) GetRemovedAt() *TimeTicket
- func (m *JSONElement_Counter) GetType() ValueType
- func (m *JSONElement_Counter) GetValue() []byte
- func (m *JSONElement_Counter) Marshal() (dAtA []byte, err error)
- func (m *JSONElement_Counter) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONElement_Counter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JSONElement_Counter) ProtoMessage()
- func (m *JSONElement_Counter) Reset()
- func (m *JSONElement_Counter) Size() (n int)
- func (m *JSONElement_Counter) String() string
- func (m *JSONElement_Counter) Unmarshal(dAtA []byte) error
- func (m *JSONElement_Counter) XXX_DiscardUnknown()
- func (m *JSONElement_Counter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONElement_Counter) XXX_Merge(src proto.Message)
- func (m *JSONElement_Counter) XXX_Size() int
- func (m *JSONElement_Counter) XXX_Unmarshal(b []byte) error
- type JSONElement_Counter_
- type JSONElement_JSONArray
- func (*JSONElement_JSONArray) Descriptor() ([]byte, []int)
- func (m *JSONElement_JSONArray) GetCreatedAt() *TimeTicket
- func (m *JSONElement_JSONArray) GetMovedAt() *TimeTicket
- func (m *JSONElement_JSONArray) GetNodes() []*RGANode
- func (m *JSONElement_JSONArray) GetRemovedAt() *TimeTicket
- func (m *JSONElement_JSONArray) Marshal() (dAtA []byte, err error)
- func (m *JSONElement_JSONArray) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONElement_JSONArray) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JSONElement_JSONArray) ProtoMessage()
- func (m *JSONElement_JSONArray) Reset()
- func (m *JSONElement_JSONArray) Size() (n int)
- func (m *JSONElement_JSONArray) String() string
- func (m *JSONElement_JSONArray) Unmarshal(dAtA []byte) error
- func (m *JSONElement_JSONArray) XXX_DiscardUnknown()
- func (m *JSONElement_JSONArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONElement_JSONArray) XXX_Merge(src proto.Message)
- func (m *JSONElement_JSONArray) XXX_Size() int
- func (m *JSONElement_JSONArray) XXX_Unmarshal(b []byte) error
- type JSONElement_JSONObject
- func (*JSONElement_JSONObject) Descriptor() ([]byte, []int)
- func (m *JSONElement_JSONObject) GetCreatedAt() *TimeTicket
- func (m *JSONElement_JSONObject) GetMovedAt() *TimeTicket
- func (m *JSONElement_JSONObject) GetNodes() []*RHTNode
- func (m *JSONElement_JSONObject) GetRemovedAt() *TimeTicket
- func (m *JSONElement_JSONObject) Marshal() (dAtA []byte, err error)
- func (m *JSONElement_JSONObject) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONElement_JSONObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JSONElement_JSONObject) ProtoMessage()
- func (m *JSONElement_JSONObject) Reset()
- func (m *JSONElement_JSONObject) Size() (n int)
- func (m *JSONElement_JSONObject) String() string
- func (m *JSONElement_JSONObject) Unmarshal(dAtA []byte) error
- func (m *JSONElement_JSONObject) XXX_DiscardUnknown()
- func (m *JSONElement_JSONObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONElement_JSONObject) XXX_Merge(src proto.Message)
- func (m *JSONElement_JSONObject) XXX_Size() int
- func (m *JSONElement_JSONObject) XXX_Unmarshal(b []byte) error
- type JSONElement_JsonArray
- type JSONElement_JsonObject
- type JSONElement_Primitive
- func (*JSONElement_Primitive) Descriptor() ([]byte, []int)
- func (m *JSONElement_Primitive) GetCreatedAt() *TimeTicket
- func (m *JSONElement_Primitive) GetMovedAt() *TimeTicket
- func (m *JSONElement_Primitive) GetRemovedAt() *TimeTicket
- func (m *JSONElement_Primitive) GetType() ValueType
- func (m *JSONElement_Primitive) GetValue() []byte
- func (m *JSONElement_Primitive) Marshal() (dAtA []byte, err error)
- func (m *JSONElement_Primitive) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONElement_Primitive) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JSONElement_Primitive) ProtoMessage()
- func (m *JSONElement_Primitive) Reset()
- func (m *JSONElement_Primitive) Size() (n int)
- func (m *JSONElement_Primitive) String() string
- func (m *JSONElement_Primitive) Unmarshal(dAtA []byte) error
- func (m *JSONElement_Primitive) XXX_DiscardUnknown()
- func (m *JSONElement_Primitive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONElement_Primitive) XXX_Merge(src proto.Message)
- func (m *JSONElement_Primitive) XXX_Size() int
- func (m *JSONElement_Primitive) XXX_Unmarshal(b []byte) error
- type JSONElement_Primitive_
- type JSONElement_RichText
- func (*JSONElement_RichText) Descriptor() ([]byte, []int)
- func (m *JSONElement_RichText) GetCreatedAt() *TimeTicket
- func (m *JSONElement_RichText) GetMovedAt() *TimeTicket
- func (m *JSONElement_RichText) GetNodes() []*RichTextNode
- func (m *JSONElement_RichText) GetRemovedAt() *TimeTicket
- func (m *JSONElement_RichText) Marshal() (dAtA []byte, err error)
- func (m *JSONElement_RichText) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONElement_RichText) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JSONElement_RichText) ProtoMessage()
- func (m *JSONElement_RichText) Reset()
- func (m *JSONElement_RichText) Size() (n int)
- func (m *JSONElement_RichText) String() string
- func (m *JSONElement_RichText) Unmarshal(dAtA []byte) error
- func (m *JSONElement_RichText) XXX_DiscardUnknown()
- func (m *JSONElement_RichText) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONElement_RichText) XXX_Merge(src proto.Message)
- func (m *JSONElement_RichText) XXX_Size() int
- func (m *JSONElement_RichText) XXX_Unmarshal(b []byte) error
- type JSONElement_RichText_
- type JSONElement_Text
- func (*JSONElement_Text) Descriptor() ([]byte, []int)
- func (m *JSONElement_Text) GetCreatedAt() *TimeTicket
- func (m *JSONElement_Text) GetMovedAt() *TimeTicket
- func (m *JSONElement_Text) GetNodes() []*TextNode
- func (m *JSONElement_Text) GetRemovedAt() *TimeTicket
- func (m *JSONElement_Text) Marshal() (dAtA []byte, err error)
- func (m *JSONElement_Text) MarshalTo(dAtA []byte) (int, error)
- func (m *JSONElement_Text) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JSONElement_Text) ProtoMessage()
- func (m *JSONElement_Text) Reset()
- func (m *JSONElement_Text) Size() (n int)
- func (m *JSONElement_Text) String() string
- func (m *JSONElement_Text) Unmarshal(dAtA []byte) error
- func (m *JSONElement_Text) XXX_DiscardUnknown()
- func (m *JSONElement_Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONElement_Text) XXX_Merge(src proto.Message)
- func (m *JSONElement_Text) XXX_Size() int
- func (m *JSONElement_Text) XXX_Unmarshal(b []byte) error
- type JSONElement_Text_
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetClock() int32
- func (m *Metadata) GetData() map[string]string
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)
- func (m *Operation) GetAdd() *Operation_Add
- func (m *Operation) GetBody() isOperation_Body
- func (m *Operation) GetEdit() *Operation_Edit
- func (m *Operation) GetIncrease() *Operation_Increase
- func (m *Operation) GetMove() *Operation_Move
- func (m *Operation) GetRemove() *Operation_Remove
- func (m *Operation) GetRichEdit() *Operation_RichEdit
- func (m *Operation) GetSelect() *Operation_Select
- func (m *Operation) GetSet() *Operation_Set
- func (m *Operation) GetStyle() *Operation_Style
- func (m *Operation) Marshal() (dAtA []byte, err error)
- func (m *Operation) MarshalTo(dAtA []byte) (int, error)
- func (m *Operation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Operation) ProtoMessage()
- func (m *Operation) Reset()
- func (m *Operation) Size() (n int)
- func (m *Operation) String() string
- func (m *Operation) Unmarshal(dAtA []byte) error
- func (m *Operation) XXX_DiscardUnknown()
- func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation) XXX_Merge(src proto.Message)
- func (*Operation) XXX_OneofWrappers() []interface{}
- func (m *Operation) XXX_Size() int
- func (m *Operation) XXX_Unmarshal(b []byte) error
- type Operation_Add
- func (*Operation_Add) Descriptor() ([]byte, []int)
- func (m *Operation_Add) GetExecutedAt() *TimeTicket
- func (m *Operation_Add) GetParentCreatedAt() *TimeTicket
- func (m *Operation_Add) GetPrevCreatedAt() *TimeTicket
- func (m *Operation_Add) GetValue() *JSONElementSimple
- func (m *Operation_Add) Marshal() (dAtA []byte, err error)
- func (m *Operation_Add) MarshalTo(dAtA []byte) (int, error)
- func (m *Operation_Add) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Operation_Add) ProtoMessage()
- func (m *Operation_Add) Reset()
- func (m *Operation_Add) Size() (n int)
- func (m *Operation_Add) String() string
- func (m *Operation_Add) Unmarshal(dAtA []byte) error
- func (m *Operation_Add) XXX_DiscardUnknown()
- func (m *Operation_Add) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation_Add) XXX_Merge(src proto.Message)
- func (m *Operation_Add) XXX_Size() int
- func (m *Operation_Add) XXX_Unmarshal(b []byte) error
- type Operation_Add_
- type Operation_Edit
- func (*Operation_Edit) Descriptor() ([]byte, []int)
- func (m *Operation_Edit) GetContent() string
- func (m *Operation_Edit) GetCreatedAtMapByActor() map[string]*TimeTicket
- func (m *Operation_Edit) GetExecutedAt() *TimeTicket
- func (m *Operation_Edit) GetFrom() *TextNodePos
- func (m *Operation_Edit) GetParentCreatedAt() *TimeTicket
- func (m *Operation_Edit) GetTo() *TextNodePos
- func (m *Operation_Edit) Marshal() (dAtA []byte, err error)
- func (m *Operation_Edit) MarshalTo(dAtA []byte) (int, error)
- func (m *Operation_Edit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Operation_Edit) ProtoMessage()
- func (m *Operation_Edit) Reset()
- func (m *Operation_Edit) Size() (n int)
- func (m *Operation_Edit) String() string
- func (m *Operation_Edit) Unmarshal(dAtA []byte) error
- func (m *Operation_Edit) XXX_DiscardUnknown()
- func (m *Operation_Edit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation_Edit) XXX_Merge(src proto.Message)
- func (m *Operation_Edit) XXX_Size() int
- func (m *Operation_Edit) XXX_Unmarshal(b []byte) error
- type Operation_Edit_
- type Operation_Increase
- func (*Operation_Increase) Descriptor() ([]byte, []int)
- func (m *Operation_Increase) GetExecutedAt() *TimeTicket
- func (m *Operation_Increase) GetParentCreatedAt() *TimeTicket
- func (m *Operation_Increase) GetValue() *JSONElementSimple
- func (m *Operation_Increase) Marshal() (dAtA []byte, err error)
- func (m *Operation_Increase) MarshalTo(dAtA []byte) (int, error)
- func (m *Operation_Increase) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Operation_Increase) ProtoMessage()
- func (m *Operation_Increase) Reset()
- func (m *Operation_Increase) Size() (n int)
- func (m *Operation_Increase) String() string
- func (m *Operation_Increase) Unmarshal(dAtA []byte) error
- func (m *Operation_Increase) XXX_DiscardUnknown()
- func (m *Operation_Increase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation_Increase) XXX_Merge(src proto.Message)
- func (m *Operation_Increase) XXX_Size() int
- func (m *Operation_Increase) XXX_Unmarshal(b []byte) error
- type Operation_Increase_
- type Operation_Move
- func (*Operation_Move) Descriptor() ([]byte, []int)
- func (m *Operation_Move) GetCreatedAt() *TimeTicket
- func (m *Operation_Move) GetExecutedAt() *TimeTicket
- func (m *Operation_Move) GetParentCreatedAt() *TimeTicket
- func (m *Operation_Move) GetPrevCreatedAt() *TimeTicket
- func (m *Operation_Move) Marshal() (dAtA []byte, err error)
- func (m *Operation_Move) MarshalTo(dAtA []byte) (int, error)
- func (m *Operation_Move) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Operation_Move) ProtoMessage()
- func (m *Operation_Move) Reset()
- func (m *Operation_Move) Size() (n int)
- func (m *Operation_Move) String() string
- func (m *Operation_Move) Unmarshal(dAtA []byte) error
- func (m *Operation_Move) XXX_DiscardUnknown()
- func (m *Operation_Move) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation_Move) XXX_Merge(src proto.Message)
- func (m *Operation_Move) XXX_Size() int
- func (m *Operation_Move) XXX_Unmarshal(b []byte) error
- type Operation_Move_
- type Operation_Remove
- func (*Operation_Remove) Descriptor() ([]byte, []int)
- func (m *Operation_Remove) GetCreatedAt() *TimeTicket
- func (m *Operation_Remove) GetExecutedAt() *TimeTicket
- func (m *Operation_Remove) GetParentCreatedAt() *TimeTicket
- func (m *Operation_Remove) Marshal() (dAtA []byte, err error)
- func (m *Operation_Remove) MarshalTo(dAtA []byte) (int, error)
- func (m *Operation_Remove) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Operation_Remove) ProtoMessage()
- func (m *Operation_Remove) Reset()
- func (m *Operation_Remove) Size() (n int)
- func (m *Operation_Remove) String() string
- func (m *Operation_Remove) Unmarshal(dAtA []byte) error
- func (m *Operation_Remove) XXX_DiscardUnknown()
- func (m *Operation_Remove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation_Remove) XXX_Merge(src proto.Message)
- func (m *Operation_Remove) XXX_Size() int
- func (m *Operation_Remove) XXX_Unmarshal(b []byte) error
- type Operation_Remove_
- type Operation_RichEdit
- func (*Operation_RichEdit) Descriptor() ([]byte, []int)
- func (m *Operation_RichEdit) GetAttributes() map[string]string
- func (m *Operation_RichEdit) GetContent() string
- func (m *Operation_RichEdit) GetCreatedAtMapByActor() map[string]*TimeTicket
- func (m *Operation_RichEdit) GetExecutedAt() *TimeTicket
- func (m *Operation_RichEdit) GetFrom() *TextNodePos
- func (m *Operation_RichEdit) GetParentCreatedAt() *TimeTicket
- func (m *Operation_RichEdit) GetTo() *TextNodePos
- func (m *Operation_RichEdit) Marshal() (dAtA []byte, err error)
- func (m *Operation_RichEdit) MarshalTo(dAtA []byte) (int, error)
- func (m *Operation_RichEdit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Operation_RichEdit) ProtoMessage()
- func (m *Operation_RichEdit) Reset()
- func (m *Operation_RichEdit) Size() (n int)
- func (m *Operation_RichEdit) String() string
- func (m *Operation_RichEdit) Unmarshal(dAtA []byte) error
- func (m *Operation_RichEdit) XXX_DiscardUnknown()
- func (m *Operation_RichEdit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation_RichEdit) XXX_Merge(src proto.Message)
- func (m *Operation_RichEdit) XXX_Size() int
- func (m *Operation_RichEdit) XXX_Unmarshal(b []byte) error
- type Operation_RichEdit_
- type Operation_Select
- func (*Operation_Select) Descriptor() ([]byte, []int)
- func (m *Operation_Select) GetExecutedAt() *TimeTicket
- func (m *Operation_Select) GetFrom() *TextNodePos
- func (m *Operation_Select) GetParentCreatedAt() *TimeTicket
- func (m *Operation_Select) GetTo() *TextNodePos
- func (m *Operation_Select) Marshal() (dAtA []byte, err error)
- func (m *Operation_Select) MarshalTo(dAtA []byte) (int, error)
- func (m *Operation_Select) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Operation_Select) ProtoMessage()
- func (m *Operation_Select) Reset()
- func (m *Operation_Select) Size() (n int)
- func (m *Operation_Select) String() string
- func (m *Operation_Select) Unmarshal(dAtA []byte) error
- func (m *Operation_Select) XXX_DiscardUnknown()
- func (m *Operation_Select) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation_Select) XXX_Merge(src proto.Message)
- func (m *Operation_Select) XXX_Size() int
- func (m *Operation_Select) XXX_Unmarshal(b []byte) error
- type Operation_Select_
- type Operation_Set
- func (*Operation_Set) Descriptor() ([]byte, []int)
- func (m *Operation_Set) GetExecutedAt() *TimeTicket
- func (m *Operation_Set) GetKey() string
- func (m *Operation_Set) GetParentCreatedAt() *TimeTicket
- func (m *Operation_Set) GetValue() *JSONElementSimple
- func (m *Operation_Set) Marshal() (dAtA []byte, err error)
- func (m *Operation_Set) MarshalTo(dAtA []byte) (int, error)
- func (m *Operation_Set) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Operation_Set) ProtoMessage()
- func (m *Operation_Set) Reset()
- func (m *Operation_Set) Size() (n int)
- func (m *Operation_Set) String() string
- func (m *Operation_Set) Unmarshal(dAtA []byte) error
- func (m *Operation_Set) XXX_DiscardUnknown()
- func (m *Operation_Set) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation_Set) XXX_Merge(src proto.Message)
- func (m *Operation_Set) XXX_Size() int
- func (m *Operation_Set) XXX_Unmarshal(b []byte) error
- type Operation_Set_
- type Operation_Style
- func (*Operation_Style) Descriptor() ([]byte, []int)
- func (m *Operation_Style) GetAttributes() map[string]string
- func (m *Operation_Style) GetExecutedAt() *TimeTicket
- func (m *Operation_Style) GetFrom() *TextNodePos
- func (m *Operation_Style) GetParentCreatedAt() *TimeTicket
- func (m *Operation_Style) GetTo() *TextNodePos
- func (m *Operation_Style) Marshal() (dAtA []byte, err error)
- func (m *Operation_Style) MarshalTo(dAtA []byte) (int, error)
- func (m *Operation_Style) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Operation_Style) ProtoMessage()
- func (m *Operation_Style) Reset()
- func (m *Operation_Style) Size() (n int)
- func (m *Operation_Style) String() string
- func (m *Operation_Style) Unmarshal(dAtA []byte) error
- func (m *Operation_Style) XXX_DiscardUnknown()
- func (m *Operation_Style) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation_Style) XXX_Merge(src proto.Message)
- func (m *Operation_Style) XXX_Size() int
- func (m *Operation_Style) XXX_Unmarshal(b []byte) error
- type Operation_Style_
- type PushPullRequest
- func (*PushPullRequest) Descriptor() ([]byte, []int)
- func (m *PushPullRequest) GetChangePack() *ChangePack
- func (m *PushPullRequest) GetClientId() []byte
- func (m *PushPullRequest) Marshal() (dAtA []byte, err error)
- func (m *PushPullRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PushPullRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PushPullRequest) ProtoMessage()
- func (m *PushPullRequest) Reset()
- func (m *PushPullRequest) Size() (n int)
- func (m *PushPullRequest) String() string
- func (m *PushPullRequest) Unmarshal(dAtA []byte) error
- func (m *PushPullRequest) XXX_DiscardUnknown()
- func (m *PushPullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushPullRequest) XXX_Merge(src proto.Message)
- func (m *PushPullRequest) XXX_Size() int
- func (m *PushPullRequest) XXX_Unmarshal(b []byte) error
- type PushPullResponse
- func (*PushPullResponse) Descriptor() ([]byte, []int)
- func (m *PushPullResponse) GetChangePack() *ChangePack
- func (m *PushPullResponse) GetClientId() []byte
- func (m *PushPullResponse) Marshal() (dAtA []byte, err error)
- func (m *PushPullResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PushPullResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PushPullResponse) ProtoMessage()
- func (m *PushPullResponse) Reset()
- func (m *PushPullResponse) Size() (n int)
- func (m *PushPullResponse) String() string
- func (m *PushPullResponse) Unmarshal(dAtA []byte) error
- func (m *PushPullResponse) XXX_DiscardUnknown()
- func (m *PushPullResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushPullResponse) XXX_Merge(src proto.Message)
- func (m *PushPullResponse) XXX_Size() int
- func (m *PushPullResponse) XXX_Unmarshal(b []byte) error
- type RGANode
- func (*RGANode) Descriptor() ([]byte, []int)
- func (m *RGANode) GetElement() *JSONElement
- func (m *RGANode) GetNext() *RGANode
- func (m *RGANode) Marshal() (dAtA []byte, err error)
- func (m *RGANode) MarshalTo(dAtA []byte) (int, error)
- func (m *RGANode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RGANode) ProtoMessage()
- func (m *RGANode) Reset()
- func (m *RGANode) Size() (n int)
- func (m *RGANode) String() string
- func (m *RGANode) Unmarshal(dAtA []byte) error
- func (m *RGANode) XXX_DiscardUnknown()
- func (m *RGANode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RGANode) XXX_Merge(src proto.Message)
- func (m *RGANode) XXX_Size() int
- func (m *RGANode) XXX_Unmarshal(b []byte) error
- type RHTNode
- func (*RHTNode) Descriptor() ([]byte, []int)
- func (m *RHTNode) GetElement() *JSONElement
- func (m *RHTNode) GetKey() string
- func (m *RHTNode) Marshal() (dAtA []byte, err error)
- func (m *RHTNode) MarshalTo(dAtA []byte) (int, error)
- func (m *RHTNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RHTNode) ProtoMessage()
- func (m *RHTNode) Reset()
- func (m *RHTNode) Size() (n int)
- func (m *RHTNode) String() string
- func (m *RHTNode) Unmarshal(dAtA []byte) error
- func (m *RHTNode) XXX_DiscardUnknown()
- func (m *RHTNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RHTNode) XXX_Merge(src proto.Message)
- func (m *RHTNode) XXX_Size() int
- func (m *RHTNode) XXX_Unmarshal(b []byte) error
- type RichTextNode
- func (*RichTextNode) Descriptor() ([]byte, []int)
- func (m *RichTextNode) GetAttributes() map[string]*RichTextNodeAttr
- func (m *RichTextNode) GetId() *TextNodeID
- func (m *RichTextNode) GetInsPrevId() *TextNodeID
- func (m *RichTextNode) GetRemovedAt() *TimeTicket
- func (m *RichTextNode) GetValue() string
- func (m *RichTextNode) Marshal() (dAtA []byte, err error)
- func (m *RichTextNode) MarshalTo(dAtA []byte) (int, error)
- func (m *RichTextNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RichTextNode) ProtoMessage()
- func (m *RichTextNode) Reset()
- func (m *RichTextNode) Size() (n int)
- func (m *RichTextNode) String() string
- func (m *RichTextNode) Unmarshal(dAtA []byte) error
- func (m *RichTextNode) XXX_DiscardUnknown()
- func (m *RichTextNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RichTextNode) XXX_Merge(src proto.Message)
- func (m *RichTextNode) XXX_Size() int
- func (m *RichTextNode) XXX_Unmarshal(b []byte) error
- type RichTextNodeAttr
- func (*RichTextNodeAttr) Descriptor() ([]byte, []int)
- func (m *RichTextNodeAttr) GetKey() string
- func (m *RichTextNodeAttr) GetUpdatedAt() *TimeTicket
- func (m *RichTextNodeAttr) GetValue() string
- func (m *RichTextNodeAttr) Marshal() (dAtA []byte, err error)
- func (m *RichTextNodeAttr) MarshalTo(dAtA []byte) (int, error)
- func (m *RichTextNodeAttr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RichTextNodeAttr) ProtoMessage()
- func (m *RichTextNodeAttr) Reset()
- func (m *RichTextNodeAttr) Size() (n int)
- func (m *RichTextNodeAttr) String() string
- func (m *RichTextNodeAttr) Unmarshal(dAtA []byte) error
- func (m *RichTextNodeAttr) XXX_DiscardUnknown()
- func (m *RichTextNodeAttr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RichTextNodeAttr) XXX_Merge(src proto.Message)
- func (m *RichTextNodeAttr) XXX_Size() int
- func (m *RichTextNodeAttr) XXX_Unmarshal(b []byte) error
- type TextNode
- func (*TextNode) Descriptor() ([]byte, []int)
- func (m *TextNode) GetId() *TextNodeID
- func (m *TextNode) GetInsPrevId() *TextNodeID
- func (m *TextNode) GetRemovedAt() *TimeTicket
- func (m *TextNode) GetValue() string
- func (m *TextNode) Marshal() (dAtA []byte, err error)
- func (m *TextNode) MarshalTo(dAtA []byte) (int, error)
- func (m *TextNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TextNode) ProtoMessage()
- func (m *TextNode) Reset()
- func (m *TextNode) Size() (n int)
- func (m *TextNode) String() string
- func (m *TextNode) Unmarshal(dAtA []byte) error
- func (m *TextNode) XXX_DiscardUnknown()
- func (m *TextNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TextNode) XXX_Merge(src proto.Message)
- func (m *TextNode) XXX_Size() int
- func (m *TextNode) XXX_Unmarshal(b []byte) error
- type TextNodeID
- func (*TextNodeID) Descriptor() ([]byte, []int)
- func (m *TextNodeID) GetCreatedAt() *TimeTicket
- func (m *TextNodeID) GetOffset() int32
- func (m *TextNodeID) Marshal() (dAtA []byte, err error)
- func (m *TextNodeID) MarshalTo(dAtA []byte) (int, error)
- func (m *TextNodeID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TextNodeID) ProtoMessage()
- func (m *TextNodeID) Reset()
- func (m *TextNodeID) Size() (n int)
- func (m *TextNodeID) String() string
- func (m *TextNodeID) Unmarshal(dAtA []byte) error
- func (m *TextNodeID) XXX_DiscardUnknown()
- func (m *TextNodeID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TextNodeID) XXX_Merge(src proto.Message)
- func (m *TextNodeID) XXX_Size() int
- func (m *TextNodeID) XXX_Unmarshal(b []byte) error
- type TextNodePos
- func (*TextNodePos) Descriptor() ([]byte, []int)
- func (m *TextNodePos) GetCreatedAt() *TimeTicket
- func (m *TextNodePos) GetOffset() int32
- func (m *TextNodePos) GetRelativeOffset() int32
- func (m *TextNodePos) Marshal() (dAtA []byte, err error)
- func (m *TextNodePos) MarshalTo(dAtA []byte) (int, error)
- func (m *TextNodePos) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TextNodePos) ProtoMessage()
- func (m *TextNodePos) Reset()
- func (m *TextNodePos) Size() (n int)
- func (m *TextNodePos) String() string
- func (m *TextNodePos) Unmarshal(dAtA []byte) error
- func (m *TextNodePos) XXX_DiscardUnknown()
- func (m *TextNodePos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TextNodePos) XXX_Merge(src proto.Message)
- func (m *TextNodePos) XXX_Size() int
- func (m *TextNodePos) XXX_Unmarshal(b []byte) error
- type TimeTicket
- func (*TimeTicket) Descriptor() ([]byte, []int)
- func (m *TimeTicket) GetActorId() []byte
- func (m *TimeTicket) GetDelimiter() uint32
- func (m *TimeTicket) GetLamport() uint64
- func (m *TimeTicket) Marshal() (dAtA []byte, err error)
- func (m *TimeTicket) MarshalTo(dAtA []byte) (int, error)
- func (m *TimeTicket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TimeTicket) ProtoMessage()
- func (m *TimeTicket) Reset()
- func (m *TimeTicket) Size() (n int)
- func (m *TimeTicket) String() string
- func (m *TimeTicket) Unmarshal(dAtA []byte) error
- func (m *TimeTicket) XXX_DiscardUnknown()
- func (m *TimeTicket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimeTicket) XXX_Merge(src proto.Message)
- func (m *TimeTicket) XXX_Size() int
- func (m *TimeTicket) XXX_Unmarshal(b []byte) error
- type UnimplementedClusterServer
- type UnimplementedYorkieServer
- func (*UnimplementedYorkieServer) ActivateClient(ctx context.Context, req *ActivateClientRequest) (*ActivateClientResponse, error)
- func (*UnimplementedYorkieServer) AttachDocument(ctx context.Context, req *AttachDocumentRequest) (*AttachDocumentResponse, error)
- func (*UnimplementedYorkieServer) DeactivateClient(ctx context.Context, req *DeactivateClientRequest) (*DeactivateClientResponse, error)
- func (*UnimplementedYorkieServer) DetachDocument(ctx context.Context, req *DetachDocumentRequest) (*DetachDocumentResponse, error)
- func (*UnimplementedYorkieServer) PushPull(ctx context.Context, req *PushPullRequest) (*PushPullResponse, error)
- func (*UnimplementedYorkieServer) UpdateMetadata(ctx context.Context, req *UpdateMetadataRequest) (*UpdateMetadataResponse, error)
- func (*UnimplementedYorkieServer) WatchDocuments(req *WatchDocumentsRequest, srv Yorkie_WatchDocumentsServer) error
- type UpdateMetadataRequest
- func (*UpdateMetadataRequest) Descriptor() ([]byte, []int)
- func (m *UpdateMetadataRequest) GetClient() *Client
- func (m *UpdateMetadataRequest) GetDocumentKeys() []*DocumentKey
- func (m *UpdateMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateMetadataRequest) ProtoMessage()
- func (m *UpdateMetadataRequest) Reset()
- func (m *UpdateMetadataRequest) Size() (n int)
- func (m *UpdateMetadataRequest) String() string
- func (m *UpdateMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *UpdateMetadataRequest) XXX_DiscardUnknown()
- func (m *UpdateMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateMetadataRequest) XXX_Merge(src proto.Message)
- func (m *UpdateMetadataRequest) XXX_Size() int
- func (m *UpdateMetadataRequest) XXX_Unmarshal(b []byte) error
- type UpdateMetadataResponse
- func (*UpdateMetadataResponse) Descriptor() ([]byte, []int)
- func (m *UpdateMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateMetadataResponse) ProtoMessage()
- func (m *UpdateMetadataResponse) Reset()
- func (m *UpdateMetadataResponse) Size() (n int)
- func (m *UpdateMetadataResponse) String() string
- func (m *UpdateMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *UpdateMetadataResponse) XXX_DiscardUnknown()
- func (m *UpdateMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateMetadataResponse) XXX_Merge(src proto.Message)
- func (m *UpdateMetadataResponse) XXX_Size() int
- func (m *UpdateMetadataResponse) XXX_Unmarshal(b []byte) error
- type ValueType
- type WatchDocumentsRequest
- func (*WatchDocumentsRequest) Descriptor() ([]byte, []int)
- func (m *WatchDocumentsRequest) GetClient() *Client
- func (m *WatchDocumentsRequest) GetDocumentKeys() []*DocumentKey
- func (m *WatchDocumentsRequest) Marshal() (dAtA []byte, err error)
- func (m *WatchDocumentsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *WatchDocumentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WatchDocumentsRequest) ProtoMessage()
- func (m *WatchDocumentsRequest) Reset()
- func (m *WatchDocumentsRequest) Size() (n int)
- func (m *WatchDocumentsRequest) String() string
- func (m *WatchDocumentsRequest) Unmarshal(dAtA []byte) error
- func (m *WatchDocumentsRequest) XXX_DiscardUnknown()
- func (m *WatchDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WatchDocumentsRequest) XXX_Merge(src proto.Message)
- func (m *WatchDocumentsRequest) XXX_Size() int
- func (m *WatchDocumentsRequest) XXX_Unmarshal(b []byte) error
- type WatchDocumentsResponse
- func (*WatchDocumentsResponse) Descriptor() ([]byte, []int)
- func (m *WatchDocumentsResponse) GetBody() isWatchDocumentsResponse_Body
- func (m *WatchDocumentsResponse) GetEvent() *DocEvent
- func (m *WatchDocumentsResponse) GetInitialization() *WatchDocumentsResponse_Initialization
- func (m *WatchDocumentsResponse) Marshal() (dAtA []byte, err error)
- func (m *WatchDocumentsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *WatchDocumentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WatchDocumentsResponse) ProtoMessage()
- func (m *WatchDocumentsResponse) Reset()
- func (m *WatchDocumentsResponse) Size() (n int)
- func (m *WatchDocumentsResponse) String() string
- func (m *WatchDocumentsResponse) Unmarshal(dAtA []byte) error
- func (m *WatchDocumentsResponse) XXX_DiscardUnknown()
- func (m *WatchDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WatchDocumentsResponse) XXX_Merge(src proto.Message)
- func (*WatchDocumentsResponse) XXX_OneofWrappers() []interface{}
- func (m *WatchDocumentsResponse) XXX_Size() int
- func (m *WatchDocumentsResponse) XXX_Unmarshal(b []byte) error
- type WatchDocumentsResponse_Event
- type WatchDocumentsResponse_Initialization
- func (*WatchDocumentsResponse_Initialization) Descriptor() ([]byte, []int)
- func (m *WatchDocumentsResponse_Initialization) GetPeersMapByDoc() map[string]*Clients
- func (m *WatchDocumentsResponse_Initialization) Marshal() (dAtA []byte, err error)
- func (m *WatchDocumentsResponse_Initialization) MarshalTo(dAtA []byte) (int, error)
- func (m *WatchDocumentsResponse_Initialization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WatchDocumentsResponse_Initialization) ProtoMessage()
- func (m *WatchDocumentsResponse_Initialization) Reset()
- func (m *WatchDocumentsResponse_Initialization) Size() (n int)
- func (m *WatchDocumentsResponse_Initialization) String() string
- func (m *WatchDocumentsResponse_Initialization) Unmarshal(dAtA []byte) error
- func (m *WatchDocumentsResponse_Initialization) XXX_DiscardUnknown()
- func (m *WatchDocumentsResponse_Initialization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WatchDocumentsResponse_Initialization) XXX_Merge(src proto.Message)
- func (m *WatchDocumentsResponse_Initialization) XXX_Size() int
- func (m *WatchDocumentsResponse_Initialization) XXX_Unmarshal(b []byte) error
- type WatchDocumentsResponse_Initialization_
- type YorkieClient
- type YorkieServer
- type Yorkie_WatchDocumentsClient
- type Yorkie_WatchDocumentsServer
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthYorkie = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowYorkie = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupYorkie = fmt.Errorf("proto: unexpected end of group") )
var DocEventType_name = map[int32]string{
0: "DOCUMENTS_CHANGED",
1: "DOCUMENTS_WATCHED",
2: "DOCUMENTS_UNWATCHED",
3: "METADATA_CHANGED",
}
var DocEventType_value = map[string]int32{
"DOCUMENTS_CHANGED": 0,
"DOCUMENTS_WATCHED": 1,
"DOCUMENTS_UNWATCHED": 2,
"METADATA_CHANGED": 3,
}
var ValueType_name = map[int32]string{
0: "NULL",
1: "BOOLEAN",
2: "INTEGER",
3: "LONG",
4: "DOUBLE",
5: "STRING",
6: "BYTES",
7: "DATE",
8: "JSON_OBJECT",
9: "JSON_ARRAY",
10: "TEXT",
11: "RICH_TEXT",
12: "INTEGER_CNT",
13: "LONG_CNT",
14: "DOUBLE_CNT",
}
var ValueType_value = map[string]int32{
"NULL": 0,
"BOOLEAN": 1,
"INTEGER": 2,
"LONG": 3,
"DOUBLE": 4,
"STRING": 5,
"BYTES": 6,
"DATE": 7,
"JSON_OBJECT": 8,
"JSON_ARRAY": 9,
"TEXT": 10,
"RICH_TEXT": 11,
"INTEGER_CNT": 12,
"LONG_CNT": 13,
"DOUBLE_CNT": 14,
}
Functions ¶
func RegisterClusterServer ¶ added in v0.1.6
func RegisterClusterServer(s *grpc.Server, srv ClusterServer)
func RegisterYorkieServer ¶
func RegisterYorkieServer(s *grpc.Server, srv YorkieServer)
Types ¶
type ActivateClientRequest ¶
type ActivateClientRequest struct { ClientKey string `protobuf:"bytes,1,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActivateClientRequest) Descriptor ¶
func (*ActivateClientRequest) Descriptor() ([]byte, []int)
func (*ActivateClientRequest) GetClientKey ¶
func (m *ActivateClientRequest) GetClientKey() string
func (*ActivateClientRequest) Marshal ¶
func (m *ActivateClientRequest) Marshal() (dAtA []byte, err error)
func (*ActivateClientRequest) MarshalTo ¶
func (m *ActivateClientRequest) MarshalTo(dAtA []byte) (int, error)
func (*ActivateClientRequest) MarshalToSizedBuffer ¶
func (m *ActivateClientRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ActivateClientRequest) ProtoMessage ¶
func (*ActivateClientRequest) ProtoMessage()
func (*ActivateClientRequest) Reset ¶
func (m *ActivateClientRequest) Reset()
func (*ActivateClientRequest) Size ¶
func (m *ActivateClientRequest) Size() (n int)
func (*ActivateClientRequest) String ¶
func (m *ActivateClientRequest) String() string
func (*ActivateClientRequest) Unmarshal ¶
func (m *ActivateClientRequest) Unmarshal(dAtA []byte) error
func (*ActivateClientRequest) XXX_DiscardUnknown ¶
func (m *ActivateClientRequest) XXX_DiscardUnknown()
func (*ActivateClientRequest) XXX_Marshal ¶
func (m *ActivateClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActivateClientRequest) XXX_Merge ¶
func (m *ActivateClientRequest) XXX_Merge(src proto.Message)
func (*ActivateClientRequest) XXX_Size ¶
func (m *ActivateClientRequest) XXX_Size() int
func (*ActivateClientRequest) XXX_Unmarshal ¶
func (m *ActivateClientRequest) XXX_Unmarshal(b []byte) error
type ActivateClientResponse ¶
type ActivateClientResponse struct { ClientKey string `protobuf:"bytes,1,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` ClientId []byte `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActivateClientResponse) Descriptor ¶
func (*ActivateClientResponse) Descriptor() ([]byte, []int)
func (*ActivateClientResponse) GetClientId ¶
func (m *ActivateClientResponse) GetClientId() []byte
func (*ActivateClientResponse) GetClientKey ¶
func (m *ActivateClientResponse) GetClientKey() string
func (*ActivateClientResponse) Marshal ¶
func (m *ActivateClientResponse) Marshal() (dAtA []byte, err error)
func (*ActivateClientResponse) MarshalTo ¶
func (m *ActivateClientResponse) MarshalTo(dAtA []byte) (int, error)
func (*ActivateClientResponse) MarshalToSizedBuffer ¶
func (m *ActivateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ActivateClientResponse) ProtoMessage ¶
func (*ActivateClientResponse) ProtoMessage()
func (*ActivateClientResponse) Reset ¶
func (m *ActivateClientResponse) Reset()
func (*ActivateClientResponse) Size ¶
func (m *ActivateClientResponse) Size() (n int)
func (*ActivateClientResponse) String ¶
func (m *ActivateClientResponse) String() string
func (*ActivateClientResponse) Unmarshal ¶
func (m *ActivateClientResponse) Unmarshal(dAtA []byte) error
func (*ActivateClientResponse) XXX_DiscardUnknown ¶
func (m *ActivateClientResponse) XXX_DiscardUnknown()
func (*ActivateClientResponse) XXX_Marshal ¶
func (m *ActivateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActivateClientResponse) XXX_Merge ¶
func (m *ActivateClientResponse) XXX_Merge(src proto.Message)
func (*ActivateClientResponse) XXX_Size ¶
func (m *ActivateClientResponse) XXX_Size() int
func (*ActivateClientResponse) XXX_Unmarshal ¶
func (m *ActivateClientResponse) XXX_Unmarshal(b []byte) error
type AttachDocumentRequest ¶
type AttachDocumentRequest struct { ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,2,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttachDocumentRequest) Descriptor ¶
func (*AttachDocumentRequest) Descriptor() ([]byte, []int)
func (*AttachDocumentRequest) GetChangePack ¶
func (m *AttachDocumentRequest) GetChangePack() *ChangePack
func (*AttachDocumentRequest) GetClientId ¶
func (m *AttachDocumentRequest) GetClientId() []byte
func (*AttachDocumentRequest) Marshal ¶
func (m *AttachDocumentRequest) Marshal() (dAtA []byte, err error)
func (*AttachDocumentRequest) MarshalTo ¶
func (m *AttachDocumentRequest) MarshalTo(dAtA []byte) (int, error)
func (*AttachDocumentRequest) MarshalToSizedBuffer ¶
func (m *AttachDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AttachDocumentRequest) ProtoMessage ¶
func (*AttachDocumentRequest) ProtoMessage()
func (*AttachDocumentRequest) Reset ¶
func (m *AttachDocumentRequest) Reset()
func (*AttachDocumentRequest) Size ¶
func (m *AttachDocumentRequest) Size() (n int)
func (*AttachDocumentRequest) String ¶
func (m *AttachDocumentRequest) String() string
func (*AttachDocumentRequest) Unmarshal ¶
func (m *AttachDocumentRequest) Unmarshal(dAtA []byte) error
func (*AttachDocumentRequest) XXX_DiscardUnknown ¶
func (m *AttachDocumentRequest) XXX_DiscardUnknown()
func (*AttachDocumentRequest) XXX_Marshal ¶
func (m *AttachDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttachDocumentRequest) XXX_Merge ¶
func (m *AttachDocumentRequest) XXX_Merge(src proto.Message)
func (*AttachDocumentRequest) XXX_Size ¶
func (m *AttachDocumentRequest) XXX_Size() int
func (*AttachDocumentRequest) XXX_Unmarshal ¶
func (m *AttachDocumentRequest) XXX_Unmarshal(b []byte) error
type AttachDocumentResponse ¶
type AttachDocumentResponse struct { ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,2,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttachDocumentResponse) Descriptor ¶
func (*AttachDocumentResponse) Descriptor() ([]byte, []int)
func (*AttachDocumentResponse) GetChangePack ¶
func (m *AttachDocumentResponse) GetChangePack() *ChangePack
func (*AttachDocumentResponse) GetClientId ¶
func (m *AttachDocumentResponse) GetClientId() []byte
func (*AttachDocumentResponse) Marshal ¶
func (m *AttachDocumentResponse) Marshal() (dAtA []byte, err error)
func (*AttachDocumentResponse) MarshalTo ¶
func (m *AttachDocumentResponse) MarshalTo(dAtA []byte) (int, error)
func (*AttachDocumentResponse) MarshalToSizedBuffer ¶
func (m *AttachDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AttachDocumentResponse) ProtoMessage ¶
func (*AttachDocumentResponse) ProtoMessage()
func (*AttachDocumentResponse) Reset ¶
func (m *AttachDocumentResponse) Reset()
func (*AttachDocumentResponse) Size ¶
func (m *AttachDocumentResponse) Size() (n int)
func (*AttachDocumentResponse) String ¶
func (m *AttachDocumentResponse) String() string
func (*AttachDocumentResponse) Unmarshal ¶
func (m *AttachDocumentResponse) Unmarshal(dAtA []byte) error
func (*AttachDocumentResponse) XXX_DiscardUnknown ¶
func (m *AttachDocumentResponse) XXX_DiscardUnknown()
func (*AttachDocumentResponse) XXX_Marshal ¶
func (m *AttachDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttachDocumentResponse) XXX_Merge ¶
func (m *AttachDocumentResponse) XXX_Merge(src proto.Message)
func (*AttachDocumentResponse) XXX_Size ¶
func (m *AttachDocumentResponse) XXX_Size() int
func (*AttachDocumentResponse) XXX_Unmarshal ¶
func (m *AttachDocumentResponse) XXX_Unmarshal(b []byte) error
type BroadcastEventRequest ¶ added in v0.1.6
type BroadcastEventRequest struct { PublisherId []byte `protobuf:"bytes,1,opt,name=publisher_id,json=publisherId,proto3" json:"publisher_id,omitempty"` Event *DocEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BroadcastEventRequest) Descriptor ¶ added in v0.1.6
func (*BroadcastEventRequest) Descriptor() ([]byte, []int)
func (*BroadcastEventRequest) GetEvent ¶ added in v0.1.6
func (m *BroadcastEventRequest) GetEvent() *DocEvent
func (*BroadcastEventRequest) GetPublisherId ¶ added in v0.1.6
func (m *BroadcastEventRequest) GetPublisherId() []byte
func (*BroadcastEventRequest) Marshal ¶ added in v0.1.6
func (m *BroadcastEventRequest) Marshal() (dAtA []byte, err error)
func (*BroadcastEventRequest) MarshalTo ¶ added in v0.1.6
func (m *BroadcastEventRequest) MarshalTo(dAtA []byte) (int, error)
func (*BroadcastEventRequest) MarshalToSizedBuffer ¶ added in v0.1.6
func (m *BroadcastEventRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BroadcastEventRequest) ProtoMessage ¶ added in v0.1.6
func (*BroadcastEventRequest) ProtoMessage()
func (*BroadcastEventRequest) Reset ¶ added in v0.1.6
func (m *BroadcastEventRequest) Reset()
func (*BroadcastEventRequest) Size ¶ added in v0.1.6
func (m *BroadcastEventRequest) Size() (n int)
func (*BroadcastEventRequest) String ¶ added in v0.1.6
func (m *BroadcastEventRequest) String() string
func (*BroadcastEventRequest) Unmarshal ¶ added in v0.1.6
func (m *BroadcastEventRequest) Unmarshal(dAtA []byte) error
func (*BroadcastEventRequest) XXX_DiscardUnknown ¶ added in v0.1.6
func (m *BroadcastEventRequest) XXX_DiscardUnknown()
func (*BroadcastEventRequest) XXX_Marshal ¶ added in v0.1.6
func (m *BroadcastEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BroadcastEventRequest) XXX_Merge ¶ added in v0.1.6
func (m *BroadcastEventRequest) XXX_Merge(src proto.Message)
func (*BroadcastEventRequest) XXX_Size ¶ added in v0.1.6
func (m *BroadcastEventRequest) XXX_Size() int
func (*BroadcastEventRequest) XXX_Unmarshal ¶ added in v0.1.6
func (m *BroadcastEventRequest) XXX_Unmarshal(b []byte) error
type BroadcastEventResponse ¶ added in v0.1.6
type BroadcastEventResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BroadcastEventResponse) Descriptor ¶ added in v0.1.6
func (*BroadcastEventResponse) Descriptor() ([]byte, []int)
func (*BroadcastEventResponse) Marshal ¶ added in v0.1.6
func (m *BroadcastEventResponse) Marshal() (dAtA []byte, err error)
func (*BroadcastEventResponse) MarshalTo ¶ added in v0.1.6
func (m *BroadcastEventResponse) MarshalTo(dAtA []byte) (int, error)
func (*BroadcastEventResponse) MarshalToSizedBuffer ¶ added in v0.1.6
func (m *BroadcastEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BroadcastEventResponse) ProtoMessage ¶ added in v0.1.6
func (*BroadcastEventResponse) ProtoMessage()
func (*BroadcastEventResponse) Reset ¶ added in v0.1.6
func (m *BroadcastEventResponse) Reset()
func (*BroadcastEventResponse) Size ¶ added in v0.1.6
func (m *BroadcastEventResponse) Size() (n int)
func (*BroadcastEventResponse) String ¶ added in v0.1.6
func (m *BroadcastEventResponse) String() string
func (*BroadcastEventResponse) Unmarshal ¶ added in v0.1.6
func (m *BroadcastEventResponse) Unmarshal(dAtA []byte) error
func (*BroadcastEventResponse) XXX_DiscardUnknown ¶ added in v0.1.6
func (m *BroadcastEventResponse) XXX_DiscardUnknown()
func (*BroadcastEventResponse) XXX_Marshal ¶ added in v0.1.6
func (m *BroadcastEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BroadcastEventResponse) XXX_Merge ¶ added in v0.1.6
func (m *BroadcastEventResponse) XXX_Merge(src proto.Message)
func (*BroadcastEventResponse) XXX_Size ¶ added in v0.1.6
func (m *BroadcastEventResponse) XXX_Size() int
func (*BroadcastEventResponse) XXX_Unmarshal ¶ added in v0.1.6
func (m *BroadcastEventResponse) XXX_Unmarshal(b []byte) error
type Change ¶
type Change struct { Id *ChangeID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Operations []*Operation `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Change) Descriptor ¶
func (*Change) GetMessage ¶
func (*Change) GetOperations ¶
func (*Change) MarshalToSizedBuffer ¶
func (*Change) ProtoMessage ¶
func (*Change) ProtoMessage()
func (*Change) XXX_DiscardUnknown ¶
func (m *Change) XXX_DiscardUnknown()
func (*Change) XXX_Marshal ¶
func (*Change) XXX_Unmarshal ¶
type ChangeID ¶
type ChangeID struct { ClientSeq uint32 `protobuf:"varint,1,opt,name=client_seq,json=clientSeq,proto3" json:"client_seq,omitempty"` Lamport uint64 `protobuf:"varint,2,opt,name=lamport,proto3" json:"lamport,omitempty"` ActorId []byte `protobuf:"bytes,3,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChangeID) Descriptor ¶
func (*ChangeID) GetActorId ¶
func (*ChangeID) GetClientSeq ¶
func (*ChangeID) GetLamport ¶
func (*ChangeID) MarshalToSizedBuffer ¶
func (*ChangeID) ProtoMessage ¶
func (*ChangeID) ProtoMessage()
func (*ChangeID) XXX_DiscardUnknown ¶
func (m *ChangeID) XXX_DiscardUnknown()
func (*ChangeID) XXX_Marshal ¶
func (*ChangeID) XXX_Unmarshal ¶
type ChangePack ¶
type ChangePack struct { DocumentKey *DocumentKey `protobuf:"bytes,1,opt,name=document_key,json=documentKey,proto3" json:"document_key,omitempty"` Checkpoint *Checkpoint `protobuf:"bytes,2,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"` Snapshot []byte `protobuf:"bytes,3,opt,name=snapshot,proto3" json:"snapshot,omitempty"` Changes []*Change `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty"` MinSyncedTicket *TimeTicket `protobuf:"bytes,5,opt,name=min_synced_ticket,json=minSyncedTicket,proto3" json:"min_synced_ticket,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChangePack) Descriptor ¶
func (*ChangePack) Descriptor() ([]byte, []int)
func (*ChangePack) GetChanges ¶
func (m *ChangePack) GetChanges() []*Change
func (*ChangePack) GetCheckpoint ¶
func (m *ChangePack) GetCheckpoint() *Checkpoint
func (*ChangePack) GetDocumentKey ¶
func (m *ChangePack) GetDocumentKey() *DocumentKey
func (*ChangePack) GetMinSyncedTicket ¶
func (m *ChangePack) GetMinSyncedTicket() *TimeTicket
func (*ChangePack) GetSnapshot ¶
func (m *ChangePack) GetSnapshot() []byte
func (*ChangePack) Marshal ¶
func (m *ChangePack) Marshal() (dAtA []byte, err error)
func (*ChangePack) MarshalToSizedBuffer ¶
func (m *ChangePack) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChangePack) ProtoMessage ¶
func (*ChangePack) ProtoMessage()
func (*ChangePack) Reset ¶
func (m *ChangePack) Reset()
func (*ChangePack) Size ¶
func (m *ChangePack) Size() (n int)
func (*ChangePack) String ¶
func (m *ChangePack) String() string
func (*ChangePack) Unmarshal ¶
func (m *ChangePack) Unmarshal(dAtA []byte) error
func (*ChangePack) XXX_DiscardUnknown ¶
func (m *ChangePack) XXX_DiscardUnknown()
func (*ChangePack) XXX_Marshal ¶
func (m *ChangePack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangePack) XXX_Merge ¶
func (m *ChangePack) XXX_Merge(src proto.Message)
func (*ChangePack) XXX_Size ¶
func (m *ChangePack) XXX_Size() int
func (*ChangePack) XXX_Unmarshal ¶
func (m *ChangePack) XXX_Unmarshal(b []byte) error
type Checkpoint ¶
type Checkpoint struct { ServerSeq uint64 `protobuf:"varint,1,opt,name=server_seq,json=serverSeq,proto3" json:"server_seq,omitempty"` ClientSeq uint32 `protobuf:"varint,2,opt,name=client_seq,json=clientSeq,proto3" json:"client_seq,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Checkpoint) Descriptor ¶
func (*Checkpoint) Descriptor() ([]byte, []int)
func (*Checkpoint) GetClientSeq ¶
func (m *Checkpoint) GetClientSeq() uint32
func (*Checkpoint) GetServerSeq ¶
func (m *Checkpoint) GetServerSeq() uint64
func (*Checkpoint) Marshal ¶
func (m *Checkpoint) Marshal() (dAtA []byte, err error)
func (*Checkpoint) MarshalToSizedBuffer ¶
func (m *Checkpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Checkpoint) ProtoMessage ¶
func (*Checkpoint) ProtoMessage()
func (*Checkpoint) Reset ¶
func (m *Checkpoint) Reset()
func (*Checkpoint) Size ¶
func (m *Checkpoint) Size() (n int)
func (*Checkpoint) String ¶
func (m *Checkpoint) String() string
func (*Checkpoint) Unmarshal ¶
func (m *Checkpoint) Unmarshal(dAtA []byte) error
func (*Checkpoint) XXX_DiscardUnknown ¶
func (m *Checkpoint) XXX_DiscardUnknown()
func (*Checkpoint) XXX_Marshal ¶
func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Checkpoint) XXX_Merge ¶
func (m *Checkpoint) XXX_Merge(src proto.Message)
func (*Checkpoint) XXX_Size ¶
func (m *Checkpoint) XXX_Size() int
func (*Checkpoint) XXX_Unmarshal ¶
func (m *Checkpoint) XXX_Unmarshal(b []byte) error
type Client ¶ added in v0.1.2
type Client struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Client) Descriptor ¶ added in v0.1.2
func (*Client) GetMetadata ¶ added in v0.1.2
func (*Client) MarshalToSizedBuffer ¶ added in v0.1.2
func (*Client) ProtoMessage ¶ added in v0.1.2
func (*Client) ProtoMessage()
func (*Client) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *Client) XXX_DiscardUnknown()
func (*Client) XXX_Marshal ¶ added in v0.1.2
func (*Client) XXX_Unmarshal ¶ added in v0.1.2
type Clients ¶
type Clients struct { Clients []*Client `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Clients) Descriptor ¶
func (*Clients) GetClients ¶ added in v0.1.2
func (*Clients) MarshalToSizedBuffer ¶
func (*Clients) ProtoMessage ¶
func (*Clients) ProtoMessage()
func (*Clients) XXX_DiscardUnknown ¶
func (m *Clients) XXX_DiscardUnknown()
func (*Clients) XXX_Marshal ¶
func (*Clients) XXX_Unmarshal ¶
type ClusterClient ¶ added in v0.1.6
type ClusterClient interface {
BroadcastEvent(ctx context.Context, in *BroadcastEventRequest, opts ...grpc.CallOption) (*BroadcastEventResponse, error)
}
ClusterClient is the client API for Cluster service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClusterClient ¶ added in v0.1.6
func NewClusterClient(cc *grpc.ClientConn) ClusterClient
type ClusterServer ¶ added in v0.1.6
type ClusterServer interface {
BroadcastEvent(context.Context, *BroadcastEventRequest) (*BroadcastEventResponse, error)
}
ClusterServer is the server API for Cluster service.
type DeactivateClientRequest ¶
type DeactivateClientRequest struct { ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeactivateClientRequest) Descriptor ¶
func (*DeactivateClientRequest) Descriptor() ([]byte, []int)
func (*DeactivateClientRequest) GetClientId ¶
func (m *DeactivateClientRequest) GetClientId() []byte
func (*DeactivateClientRequest) Marshal ¶
func (m *DeactivateClientRequest) Marshal() (dAtA []byte, err error)
func (*DeactivateClientRequest) MarshalTo ¶
func (m *DeactivateClientRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeactivateClientRequest) MarshalToSizedBuffer ¶
func (m *DeactivateClientRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeactivateClientRequest) ProtoMessage ¶
func (*DeactivateClientRequest) ProtoMessage()
func (*DeactivateClientRequest) Reset ¶
func (m *DeactivateClientRequest) Reset()
func (*DeactivateClientRequest) Size ¶
func (m *DeactivateClientRequest) Size() (n int)
func (*DeactivateClientRequest) String ¶
func (m *DeactivateClientRequest) String() string
func (*DeactivateClientRequest) Unmarshal ¶
func (m *DeactivateClientRequest) Unmarshal(dAtA []byte) error
func (*DeactivateClientRequest) XXX_DiscardUnknown ¶
func (m *DeactivateClientRequest) XXX_DiscardUnknown()
func (*DeactivateClientRequest) XXX_Marshal ¶
func (m *DeactivateClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeactivateClientRequest) XXX_Merge ¶
func (m *DeactivateClientRequest) XXX_Merge(src proto.Message)
func (*DeactivateClientRequest) XXX_Size ¶
func (m *DeactivateClientRequest) XXX_Size() int
func (*DeactivateClientRequest) XXX_Unmarshal ¶
func (m *DeactivateClientRequest) XXX_Unmarshal(b []byte) error
type DeactivateClientResponse ¶
type DeactivateClientResponse struct { ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeactivateClientResponse) Descriptor ¶
func (*DeactivateClientResponse) Descriptor() ([]byte, []int)
func (*DeactivateClientResponse) GetClientId ¶
func (m *DeactivateClientResponse) GetClientId() []byte
func (*DeactivateClientResponse) Marshal ¶
func (m *DeactivateClientResponse) Marshal() (dAtA []byte, err error)
func (*DeactivateClientResponse) MarshalTo ¶
func (m *DeactivateClientResponse) MarshalTo(dAtA []byte) (int, error)
func (*DeactivateClientResponse) MarshalToSizedBuffer ¶
func (m *DeactivateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeactivateClientResponse) ProtoMessage ¶
func (*DeactivateClientResponse) ProtoMessage()
func (*DeactivateClientResponse) Reset ¶
func (m *DeactivateClientResponse) Reset()
func (*DeactivateClientResponse) Size ¶
func (m *DeactivateClientResponse) Size() (n int)
func (*DeactivateClientResponse) String ¶
func (m *DeactivateClientResponse) String() string
func (*DeactivateClientResponse) Unmarshal ¶
func (m *DeactivateClientResponse) Unmarshal(dAtA []byte) error
func (*DeactivateClientResponse) XXX_DiscardUnknown ¶
func (m *DeactivateClientResponse) XXX_DiscardUnknown()
func (*DeactivateClientResponse) XXX_Marshal ¶
func (m *DeactivateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeactivateClientResponse) XXX_Merge ¶
func (m *DeactivateClientResponse) XXX_Merge(src proto.Message)
func (*DeactivateClientResponse) XXX_Size ¶
func (m *DeactivateClientResponse) XXX_Size() int
func (*DeactivateClientResponse) XXX_Unmarshal ¶
func (m *DeactivateClientResponse) XXX_Unmarshal(b []byte) error
type DetachDocumentRequest ¶
type DetachDocumentRequest struct { ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,2,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DetachDocumentRequest) Descriptor ¶
func (*DetachDocumentRequest) Descriptor() ([]byte, []int)
func (*DetachDocumentRequest) GetChangePack ¶
func (m *DetachDocumentRequest) GetChangePack() *ChangePack
func (*DetachDocumentRequest) GetClientId ¶
func (m *DetachDocumentRequest) GetClientId() []byte
func (*DetachDocumentRequest) Marshal ¶
func (m *DetachDocumentRequest) Marshal() (dAtA []byte, err error)
func (*DetachDocumentRequest) MarshalTo ¶
func (m *DetachDocumentRequest) MarshalTo(dAtA []byte) (int, error)
func (*DetachDocumentRequest) MarshalToSizedBuffer ¶
func (m *DetachDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DetachDocumentRequest) ProtoMessage ¶
func (*DetachDocumentRequest) ProtoMessage()
func (*DetachDocumentRequest) Reset ¶
func (m *DetachDocumentRequest) Reset()
func (*DetachDocumentRequest) Size ¶
func (m *DetachDocumentRequest) Size() (n int)
func (*DetachDocumentRequest) String ¶
func (m *DetachDocumentRequest) String() string
func (*DetachDocumentRequest) Unmarshal ¶
func (m *DetachDocumentRequest) Unmarshal(dAtA []byte) error
func (*DetachDocumentRequest) XXX_DiscardUnknown ¶
func (m *DetachDocumentRequest) XXX_DiscardUnknown()
func (*DetachDocumentRequest) XXX_Marshal ¶
func (m *DetachDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DetachDocumentRequest) XXX_Merge ¶
func (m *DetachDocumentRequest) XXX_Merge(src proto.Message)
func (*DetachDocumentRequest) XXX_Size ¶
func (m *DetachDocumentRequest) XXX_Size() int
func (*DetachDocumentRequest) XXX_Unmarshal ¶
func (m *DetachDocumentRequest) XXX_Unmarshal(b []byte) error
type DetachDocumentResponse ¶
type DetachDocumentResponse struct { ClientKey string `protobuf:"bytes,1,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` ChangePack *ChangePack `protobuf:"bytes,2,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DetachDocumentResponse) Descriptor ¶
func (*DetachDocumentResponse) Descriptor() ([]byte, []int)
func (*DetachDocumentResponse) GetChangePack ¶
func (m *DetachDocumentResponse) GetChangePack() *ChangePack
func (*DetachDocumentResponse) GetClientKey ¶
func (m *DetachDocumentResponse) GetClientKey() string
func (*DetachDocumentResponse) Marshal ¶
func (m *DetachDocumentResponse) Marshal() (dAtA []byte, err error)
func (*DetachDocumentResponse) MarshalTo ¶
func (m *DetachDocumentResponse) MarshalTo(dAtA []byte) (int, error)
func (*DetachDocumentResponse) MarshalToSizedBuffer ¶
func (m *DetachDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DetachDocumentResponse) ProtoMessage ¶
func (*DetachDocumentResponse) ProtoMessage()
func (*DetachDocumentResponse) Reset ¶
func (m *DetachDocumentResponse) Reset()
func (*DetachDocumentResponse) Size ¶
func (m *DetachDocumentResponse) Size() (n int)
func (*DetachDocumentResponse) String ¶
func (m *DetachDocumentResponse) String() string
func (*DetachDocumentResponse) Unmarshal ¶
func (m *DetachDocumentResponse) Unmarshal(dAtA []byte) error
func (*DetachDocumentResponse) XXX_DiscardUnknown ¶
func (m *DetachDocumentResponse) XXX_DiscardUnknown()
func (*DetachDocumentResponse) XXX_Marshal ¶
func (m *DetachDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DetachDocumentResponse) XXX_Merge ¶
func (m *DetachDocumentResponse) XXX_Merge(src proto.Message)
func (*DetachDocumentResponse) XXX_Size ¶
func (m *DetachDocumentResponse) XXX_Size() int
func (*DetachDocumentResponse) XXX_Unmarshal ¶
func (m *DetachDocumentResponse) XXX_Unmarshal(b []byte) error
type DocEvent ¶ added in v0.1.6
type DocEvent struct { Type DocEventType `protobuf:"varint,1,opt,name=type,proto3,enum=api.DocEventType" json:"type,omitempty"` Publisher *Client `protobuf:"bytes,2,opt,name=publisher,proto3" json:"publisher,omitempty"` DocumentKeys []*DocumentKey `protobuf:"bytes,3,rep,name=document_keys,json=documentKeys,proto3" json:"document_keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DocEvent) Descriptor ¶ added in v0.1.6
func (*DocEvent) GetDocumentKeys ¶ added in v0.1.6
func (m *DocEvent) GetDocumentKeys() []*DocumentKey
func (*DocEvent) GetPublisher ¶ added in v0.1.6
func (*DocEvent) GetType ¶ added in v0.1.6
func (m *DocEvent) GetType() DocEventType
func (*DocEvent) MarshalToSizedBuffer ¶ added in v0.1.6
func (*DocEvent) ProtoMessage ¶ added in v0.1.6
func (*DocEvent) ProtoMessage()
func (*DocEvent) XXX_DiscardUnknown ¶ added in v0.1.6
func (m *DocEvent) XXX_DiscardUnknown()
func (*DocEvent) XXX_Marshal ¶ added in v0.1.6
func (*DocEvent) XXX_Unmarshal ¶ added in v0.1.6
type DocEventType ¶ added in v0.1.6
type DocEventType int32
const ( DocEventType_DOCUMENTS_CHANGED DocEventType = 0 DocEventType_DOCUMENTS_WATCHED DocEventType = 1 DocEventType_DOCUMENTS_UNWATCHED DocEventType = 2 DocEventType_METADATA_CHANGED DocEventType = 3 )
func (DocEventType) EnumDescriptor ¶ added in v0.1.6
func (DocEventType) EnumDescriptor() ([]byte, []int)
func (DocEventType) String ¶ added in v0.1.6
func (x DocEventType) String() string
type DocumentKey ¶
type DocumentKey struct { Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` Document string `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DocumentKey) Descriptor ¶
func (*DocumentKey) Descriptor() ([]byte, []int)
func (*DocumentKey) GetCollection ¶
func (m *DocumentKey) GetCollection() string
func (*DocumentKey) GetDocument ¶
func (m *DocumentKey) GetDocument() string
func (*DocumentKey) Marshal ¶
func (m *DocumentKey) Marshal() (dAtA []byte, err error)
func (*DocumentKey) MarshalToSizedBuffer ¶
func (m *DocumentKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DocumentKey) ProtoMessage ¶
func (*DocumentKey) ProtoMessage()
func (*DocumentKey) Reset ¶
func (m *DocumentKey) Reset()
func (*DocumentKey) Size ¶
func (m *DocumentKey) Size() (n int)
func (*DocumentKey) String ¶
func (m *DocumentKey) String() string
func (*DocumentKey) Unmarshal ¶
func (m *DocumentKey) Unmarshal(dAtA []byte) error
func (*DocumentKey) XXX_DiscardUnknown ¶
func (m *DocumentKey) XXX_DiscardUnknown()
func (*DocumentKey) XXX_Marshal ¶
func (m *DocumentKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DocumentKey) XXX_Merge ¶
func (m *DocumentKey) XXX_Merge(src proto.Message)
func (*DocumentKey) XXX_Size ¶
func (m *DocumentKey) XXX_Size() int
func (*DocumentKey) XXX_Unmarshal ¶
func (m *DocumentKey) XXX_Unmarshal(b []byte) error
type JSONElement ¶
type JSONElement struct { // Types that are valid to be assigned to Body: // *JSONElement_JsonObject // *JSONElement_JsonArray // *JSONElement_Primitive_ // *JSONElement_Text_ // *JSONElement_RichText_ // *JSONElement_Counter_ Body isJSONElement_Body `protobuf_oneof:"Body"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JSONElement) Descriptor ¶
func (*JSONElement) Descriptor() ([]byte, []int)
func (*JSONElement) GetBody ¶
func (m *JSONElement) GetBody() isJSONElement_Body
func (*JSONElement) GetCounter ¶
func (m *JSONElement) GetCounter() *JSONElement_Counter
func (*JSONElement) GetJsonArray ¶ added in v0.1.3
func (m *JSONElement) GetJsonArray() *JSONElement_JSONArray
func (*JSONElement) GetJsonObject ¶ added in v0.1.3
func (m *JSONElement) GetJsonObject() *JSONElement_JSONObject
func (*JSONElement) GetPrimitive ¶
func (m *JSONElement) GetPrimitive() *JSONElement_Primitive
func (*JSONElement) GetRichText ¶
func (m *JSONElement) GetRichText() *JSONElement_RichText
func (*JSONElement) GetText ¶
func (m *JSONElement) GetText() *JSONElement_Text
func (*JSONElement) Marshal ¶
func (m *JSONElement) Marshal() (dAtA []byte, err error)
func (*JSONElement) MarshalToSizedBuffer ¶
func (m *JSONElement) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement) ProtoMessage ¶
func (*JSONElement) ProtoMessage()
func (*JSONElement) Reset ¶
func (m *JSONElement) Reset()
func (*JSONElement) Size ¶
func (m *JSONElement) Size() (n int)
func (*JSONElement) String ¶
func (m *JSONElement) String() string
func (*JSONElement) Unmarshal ¶
func (m *JSONElement) Unmarshal(dAtA []byte) error
func (*JSONElement) XXX_DiscardUnknown ¶
func (m *JSONElement) XXX_DiscardUnknown()
func (*JSONElement) XXX_Marshal ¶
func (m *JSONElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONElement) XXX_Merge ¶
func (m *JSONElement) XXX_Merge(src proto.Message)
func (*JSONElement) XXX_OneofWrappers ¶
func (*JSONElement) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*JSONElement) XXX_Size ¶
func (m *JSONElement) XXX_Size() int
func (*JSONElement) XXX_Unmarshal ¶
func (m *JSONElement) XXX_Unmarshal(b []byte) error
type JSONElementSimple ¶
type JSONElementSimple struct { CreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,2,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,3,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` Type ValueType `protobuf:"varint,4,opt,name=type,proto3,enum=api.ValueType" json:"type,omitempty"` Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JSONElementSimple) Descriptor ¶
func (*JSONElementSimple) Descriptor() ([]byte, []int)
func (*JSONElementSimple) GetCreatedAt ¶
func (m *JSONElementSimple) GetCreatedAt() *TimeTicket
func (*JSONElementSimple) GetMovedAt ¶
func (m *JSONElementSimple) GetMovedAt() *TimeTicket
func (*JSONElementSimple) GetRemovedAt ¶
func (m *JSONElementSimple) GetRemovedAt() *TimeTicket
func (*JSONElementSimple) GetType ¶
func (m *JSONElementSimple) GetType() ValueType
func (*JSONElementSimple) GetValue ¶
func (m *JSONElementSimple) GetValue() []byte
func (*JSONElementSimple) Marshal ¶
func (m *JSONElementSimple) Marshal() (dAtA []byte, err error)
func (*JSONElementSimple) MarshalTo ¶
func (m *JSONElementSimple) MarshalTo(dAtA []byte) (int, error)
func (*JSONElementSimple) MarshalToSizedBuffer ¶
func (m *JSONElementSimple) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElementSimple) ProtoMessage ¶
func (*JSONElementSimple) ProtoMessage()
func (*JSONElementSimple) Reset ¶
func (m *JSONElementSimple) Reset()
func (*JSONElementSimple) Size ¶
func (m *JSONElementSimple) Size() (n int)
func (*JSONElementSimple) String ¶
func (m *JSONElementSimple) String() string
func (*JSONElementSimple) Unmarshal ¶
func (m *JSONElementSimple) Unmarshal(dAtA []byte) error
func (*JSONElementSimple) XXX_DiscardUnknown ¶
func (m *JSONElementSimple) XXX_DiscardUnknown()
func (*JSONElementSimple) XXX_Marshal ¶
func (m *JSONElementSimple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONElementSimple) XXX_Merge ¶
func (m *JSONElementSimple) XXX_Merge(src proto.Message)
func (*JSONElementSimple) XXX_Size ¶
func (m *JSONElementSimple) XXX_Size() int
func (*JSONElementSimple) XXX_Unmarshal ¶
func (m *JSONElementSimple) XXX_Unmarshal(b []byte) error
type JSONElement_Counter ¶
type JSONElement_Counter struct { Type ValueType `protobuf:"varint,1,opt,name=type,proto3,enum=api.ValueType" json:"type,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,4,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,5,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JSONElement_Counter) Descriptor ¶
func (*JSONElement_Counter) Descriptor() ([]byte, []int)
func (*JSONElement_Counter) GetCreatedAt ¶
func (m *JSONElement_Counter) GetCreatedAt() *TimeTicket
func (*JSONElement_Counter) GetMovedAt ¶
func (m *JSONElement_Counter) GetMovedAt() *TimeTicket
func (*JSONElement_Counter) GetRemovedAt ¶
func (m *JSONElement_Counter) GetRemovedAt() *TimeTicket
func (*JSONElement_Counter) GetType ¶
func (m *JSONElement_Counter) GetType() ValueType
func (*JSONElement_Counter) GetValue ¶
func (m *JSONElement_Counter) GetValue() []byte
func (*JSONElement_Counter) Marshal ¶
func (m *JSONElement_Counter) Marshal() (dAtA []byte, err error)
func (*JSONElement_Counter) MarshalTo ¶
func (m *JSONElement_Counter) MarshalTo(dAtA []byte) (int, error)
func (*JSONElement_Counter) MarshalToSizedBuffer ¶
func (m *JSONElement_Counter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_Counter) ProtoMessage ¶
func (*JSONElement_Counter) ProtoMessage()
func (*JSONElement_Counter) Reset ¶
func (m *JSONElement_Counter) Reset()
func (*JSONElement_Counter) Size ¶
func (m *JSONElement_Counter) Size() (n int)
func (*JSONElement_Counter) String ¶
func (m *JSONElement_Counter) String() string
func (*JSONElement_Counter) Unmarshal ¶
func (m *JSONElement_Counter) Unmarshal(dAtA []byte) error
func (*JSONElement_Counter) XXX_DiscardUnknown ¶
func (m *JSONElement_Counter) XXX_DiscardUnknown()
func (*JSONElement_Counter) XXX_Marshal ¶
func (m *JSONElement_Counter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONElement_Counter) XXX_Merge ¶
func (m *JSONElement_Counter) XXX_Merge(src proto.Message)
func (*JSONElement_Counter) XXX_Size ¶
func (m *JSONElement_Counter) XXX_Size() int
func (*JSONElement_Counter) XXX_Unmarshal ¶
func (m *JSONElement_Counter) XXX_Unmarshal(b []byte) error
type JSONElement_Counter_ ¶
type JSONElement_Counter_ struct {
Counter *JSONElement_Counter `protobuf:"bytes,6,opt,name=counter,proto3,oneof" json:"counter,omitempty"`
}
func (*JSONElement_Counter_) MarshalTo ¶
func (m *JSONElement_Counter_) MarshalTo(dAtA []byte) (int, error)
func (*JSONElement_Counter_) MarshalToSizedBuffer ¶
func (m *JSONElement_Counter_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_Counter_) Size ¶
func (m *JSONElement_Counter_) Size() (n int)
type JSONElement_JSONArray ¶ added in v0.1.3
type JSONElement_JSONArray struct { Nodes []*RGANode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,3,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,4,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JSONElement_JSONArray) Descriptor ¶ added in v0.1.3
func (*JSONElement_JSONArray) Descriptor() ([]byte, []int)
func (*JSONElement_JSONArray) GetCreatedAt ¶ added in v0.1.3
func (m *JSONElement_JSONArray) GetCreatedAt() *TimeTicket
func (*JSONElement_JSONArray) GetMovedAt ¶ added in v0.1.3
func (m *JSONElement_JSONArray) GetMovedAt() *TimeTicket
func (*JSONElement_JSONArray) GetNodes ¶ added in v0.1.3
func (m *JSONElement_JSONArray) GetNodes() []*RGANode
func (*JSONElement_JSONArray) GetRemovedAt ¶ added in v0.1.3
func (m *JSONElement_JSONArray) GetRemovedAt() *TimeTicket
func (*JSONElement_JSONArray) Marshal ¶ added in v0.1.3
func (m *JSONElement_JSONArray) Marshal() (dAtA []byte, err error)
func (*JSONElement_JSONArray) MarshalTo ¶ added in v0.1.3
func (m *JSONElement_JSONArray) MarshalTo(dAtA []byte) (int, error)
func (*JSONElement_JSONArray) MarshalToSizedBuffer ¶ added in v0.1.3
func (m *JSONElement_JSONArray) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_JSONArray) ProtoMessage ¶ added in v0.1.3
func (*JSONElement_JSONArray) ProtoMessage()
func (*JSONElement_JSONArray) Reset ¶ added in v0.1.3
func (m *JSONElement_JSONArray) Reset()
func (*JSONElement_JSONArray) Size ¶ added in v0.1.3
func (m *JSONElement_JSONArray) Size() (n int)
func (*JSONElement_JSONArray) String ¶ added in v0.1.3
func (m *JSONElement_JSONArray) String() string
func (*JSONElement_JSONArray) Unmarshal ¶ added in v0.1.3
func (m *JSONElement_JSONArray) Unmarshal(dAtA []byte) error
func (*JSONElement_JSONArray) XXX_DiscardUnknown ¶ added in v0.1.3
func (m *JSONElement_JSONArray) XXX_DiscardUnknown()
func (*JSONElement_JSONArray) XXX_Marshal ¶ added in v0.1.3
func (m *JSONElement_JSONArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONElement_JSONArray) XXX_Merge ¶ added in v0.1.3
func (m *JSONElement_JSONArray) XXX_Merge(src proto.Message)
func (*JSONElement_JSONArray) XXX_Size ¶ added in v0.1.3
func (m *JSONElement_JSONArray) XXX_Size() int
func (*JSONElement_JSONArray) XXX_Unmarshal ¶ added in v0.1.3
func (m *JSONElement_JSONArray) XXX_Unmarshal(b []byte) error
type JSONElement_JSONObject ¶ added in v0.1.3
type JSONElement_JSONObject struct { Nodes []*RHTNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,3,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,4,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JSONElement_JSONObject) Descriptor ¶ added in v0.1.3
func (*JSONElement_JSONObject) Descriptor() ([]byte, []int)
func (*JSONElement_JSONObject) GetCreatedAt ¶ added in v0.1.3
func (m *JSONElement_JSONObject) GetCreatedAt() *TimeTicket
func (*JSONElement_JSONObject) GetMovedAt ¶ added in v0.1.3
func (m *JSONElement_JSONObject) GetMovedAt() *TimeTicket
func (*JSONElement_JSONObject) GetNodes ¶ added in v0.1.3
func (m *JSONElement_JSONObject) GetNodes() []*RHTNode
func (*JSONElement_JSONObject) GetRemovedAt ¶ added in v0.1.3
func (m *JSONElement_JSONObject) GetRemovedAt() *TimeTicket
func (*JSONElement_JSONObject) Marshal ¶ added in v0.1.3
func (m *JSONElement_JSONObject) Marshal() (dAtA []byte, err error)
func (*JSONElement_JSONObject) MarshalTo ¶ added in v0.1.3
func (m *JSONElement_JSONObject) MarshalTo(dAtA []byte) (int, error)
func (*JSONElement_JSONObject) MarshalToSizedBuffer ¶ added in v0.1.3
func (m *JSONElement_JSONObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_JSONObject) ProtoMessage ¶ added in v0.1.3
func (*JSONElement_JSONObject) ProtoMessage()
func (*JSONElement_JSONObject) Reset ¶ added in v0.1.3
func (m *JSONElement_JSONObject) Reset()
func (*JSONElement_JSONObject) Size ¶ added in v0.1.3
func (m *JSONElement_JSONObject) Size() (n int)
func (*JSONElement_JSONObject) String ¶ added in v0.1.3
func (m *JSONElement_JSONObject) String() string
func (*JSONElement_JSONObject) Unmarshal ¶ added in v0.1.3
func (m *JSONElement_JSONObject) Unmarshal(dAtA []byte) error
func (*JSONElement_JSONObject) XXX_DiscardUnknown ¶ added in v0.1.3
func (m *JSONElement_JSONObject) XXX_DiscardUnknown()
func (*JSONElement_JSONObject) XXX_Marshal ¶ added in v0.1.3
func (m *JSONElement_JSONObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONElement_JSONObject) XXX_Merge ¶ added in v0.1.3
func (m *JSONElement_JSONObject) XXX_Merge(src proto.Message)
func (*JSONElement_JSONObject) XXX_Size ¶ added in v0.1.3
func (m *JSONElement_JSONObject) XXX_Size() int
func (*JSONElement_JSONObject) XXX_Unmarshal ¶ added in v0.1.3
func (m *JSONElement_JSONObject) XXX_Unmarshal(b []byte) error
type JSONElement_JsonArray ¶ added in v0.1.3
type JSONElement_JsonArray struct {
JsonArray *JSONElement_JSONArray `protobuf:"bytes,2,opt,name=json_array,json=jsonArray,proto3,oneof" json:"json_array,omitempty"`
}
func (*JSONElement_JsonArray) MarshalTo ¶ added in v0.1.3
func (m *JSONElement_JsonArray) MarshalTo(dAtA []byte) (int, error)
func (*JSONElement_JsonArray) MarshalToSizedBuffer ¶ added in v0.1.3
func (m *JSONElement_JsonArray) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_JsonArray) Size ¶ added in v0.1.3
func (m *JSONElement_JsonArray) Size() (n int)
type JSONElement_JsonObject ¶ added in v0.1.3
type JSONElement_JsonObject struct {
JsonObject *JSONElement_JSONObject `protobuf:"bytes,1,opt,name=json_object,json=jsonObject,proto3,oneof" json:"json_object,omitempty"`
}
func (*JSONElement_JsonObject) MarshalTo ¶ added in v0.1.3
func (m *JSONElement_JsonObject) MarshalTo(dAtA []byte) (int, error)
func (*JSONElement_JsonObject) MarshalToSizedBuffer ¶ added in v0.1.3
func (m *JSONElement_JsonObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_JsonObject) Size ¶ added in v0.1.3
func (m *JSONElement_JsonObject) Size() (n int)
type JSONElement_Primitive ¶
type JSONElement_Primitive struct { Type ValueType `protobuf:"varint,1,opt,name=type,proto3,enum=api.ValueType" json:"type,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,4,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,5,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JSONElement_Primitive) Descriptor ¶
func (*JSONElement_Primitive) Descriptor() ([]byte, []int)
func (*JSONElement_Primitive) GetCreatedAt ¶
func (m *JSONElement_Primitive) GetCreatedAt() *TimeTicket
func (*JSONElement_Primitive) GetMovedAt ¶
func (m *JSONElement_Primitive) GetMovedAt() *TimeTicket
func (*JSONElement_Primitive) GetRemovedAt ¶
func (m *JSONElement_Primitive) GetRemovedAt() *TimeTicket
func (*JSONElement_Primitive) GetType ¶
func (m *JSONElement_Primitive) GetType() ValueType
func (*JSONElement_Primitive) GetValue ¶
func (m *JSONElement_Primitive) GetValue() []byte
func (*JSONElement_Primitive) Marshal ¶
func (m *JSONElement_Primitive) Marshal() (dAtA []byte, err error)
func (*JSONElement_Primitive) MarshalTo ¶
func (m *JSONElement_Primitive) MarshalTo(dAtA []byte) (int, error)
func (*JSONElement_Primitive) MarshalToSizedBuffer ¶
func (m *JSONElement_Primitive) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_Primitive) ProtoMessage ¶
func (*JSONElement_Primitive) ProtoMessage()
func (*JSONElement_Primitive) Reset ¶
func (m *JSONElement_Primitive) Reset()
func (*JSONElement_Primitive) Size ¶
func (m *JSONElement_Primitive) Size() (n int)
func (*JSONElement_Primitive) String ¶
func (m *JSONElement_Primitive) String() string
func (*JSONElement_Primitive) Unmarshal ¶
func (m *JSONElement_Primitive) Unmarshal(dAtA []byte) error
func (*JSONElement_Primitive) XXX_DiscardUnknown ¶
func (m *JSONElement_Primitive) XXX_DiscardUnknown()
func (*JSONElement_Primitive) XXX_Marshal ¶
func (m *JSONElement_Primitive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONElement_Primitive) XXX_Merge ¶
func (m *JSONElement_Primitive) XXX_Merge(src proto.Message)
func (*JSONElement_Primitive) XXX_Size ¶
func (m *JSONElement_Primitive) XXX_Size() int
func (*JSONElement_Primitive) XXX_Unmarshal ¶
func (m *JSONElement_Primitive) XXX_Unmarshal(b []byte) error
type JSONElement_Primitive_ ¶
type JSONElement_Primitive_ struct {
Primitive *JSONElement_Primitive `protobuf:"bytes,3,opt,name=primitive,proto3,oneof" json:"primitive,omitempty"`
}
func (*JSONElement_Primitive_) MarshalTo ¶
func (m *JSONElement_Primitive_) MarshalTo(dAtA []byte) (int, error)
func (*JSONElement_Primitive_) MarshalToSizedBuffer ¶
func (m *JSONElement_Primitive_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_Primitive_) Size ¶
func (m *JSONElement_Primitive_) Size() (n int)
type JSONElement_RichText ¶
type JSONElement_RichText struct { Nodes []*RichTextNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,3,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,4,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JSONElement_RichText) Descriptor ¶
func (*JSONElement_RichText) Descriptor() ([]byte, []int)
func (*JSONElement_RichText) GetCreatedAt ¶
func (m *JSONElement_RichText) GetCreatedAt() *TimeTicket
func (*JSONElement_RichText) GetMovedAt ¶
func (m *JSONElement_RichText) GetMovedAt() *TimeTicket
func (*JSONElement_RichText) GetNodes ¶
func (m *JSONElement_RichText) GetNodes() []*RichTextNode
func (*JSONElement_RichText) GetRemovedAt ¶
func (m *JSONElement_RichText) GetRemovedAt() *TimeTicket
func (*JSONElement_RichText) Marshal ¶
func (m *JSONElement_RichText) Marshal() (dAtA []byte, err error)
func (*JSONElement_RichText) MarshalTo ¶
func (m *JSONElement_RichText) MarshalTo(dAtA []byte) (int, error)
func (*JSONElement_RichText) MarshalToSizedBuffer ¶
func (m *JSONElement_RichText) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_RichText) ProtoMessage ¶
func (*JSONElement_RichText) ProtoMessage()
func (*JSONElement_RichText) Reset ¶
func (m *JSONElement_RichText) Reset()
func (*JSONElement_RichText) Size ¶
func (m *JSONElement_RichText) Size() (n int)
func (*JSONElement_RichText) String ¶
func (m *JSONElement_RichText) String() string
func (*JSONElement_RichText) Unmarshal ¶
func (m *JSONElement_RichText) Unmarshal(dAtA []byte) error
func (*JSONElement_RichText) XXX_DiscardUnknown ¶
func (m *JSONElement_RichText) XXX_DiscardUnknown()
func (*JSONElement_RichText) XXX_Marshal ¶
func (m *JSONElement_RichText) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONElement_RichText) XXX_Merge ¶
func (m *JSONElement_RichText) XXX_Merge(src proto.Message)
func (*JSONElement_RichText) XXX_Size ¶
func (m *JSONElement_RichText) XXX_Size() int
func (*JSONElement_RichText) XXX_Unmarshal ¶
func (m *JSONElement_RichText) XXX_Unmarshal(b []byte) error
type JSONElement_RichText_ ¶
type JSONElement_RichText_ struct {
RichText *JSONElement_RichText `protobuf:"bytes,5,opt,name=rich_text,json=richText,proto3,oneof" json:"rich_text,omitempty"`
}
func (*JSONElement_RichText_) MarshalTo ¶
func (m *JSONElement_RichText_) MarshalTo(dAtA []byte) (int, error)
func (*JSONElement_RichText_) MarshalToSizedBuffer ¶
func (m *JSONElement_RichText_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_RichText_) Size ¶
func (m *JSONElement_RichText_) Size() (n int)
type JSONElement_Text ¶
type JSONElement_Text struct { Nodes []*TextNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` MovedAt *TimeTicket `protobuf:"bytes,3,opt,name=moved_at,json=movedAt,proto3" json:"moved_at,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,4,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JSONElement_Text) Descriptor ¶
func (*JSONElement_Text) Descriptor() ([]byte, []int)
func (*JSONElement_Text) GetCreatedAt ¶
func (m *JSONElement_Text) GetCreatedAt() *TimeTicket
func (*JSONElement_Text) GetMovedAt ¶
func (m *JSONElement_Text) GetMovedAt() *TimeTicket
func (*JSONElement_Text) GetNodes ¶
func (m *JSONElement_Text) GetNodes() []*TextNode
func (*JSONElement_Text) GetRemovedAt ¶
func (m *JSONElement_Text) GetRemovedAt() *TimeTicket
func (*JSONElement_Text) Marshal ¶
func (m *JSONElement_Text) Marshal() (dAtA []byte, err error)
func (*JSONElement_Text) MarshalToSizedBuffer ¶
func (m *JSONElement_Text) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_Text) ProtoMessage ¶
func (*JSONElement_Text) ProtoMessage()
func (*JSONElement_Text) Reset ¶
func (m *JSONElement_Text) Reset()
func (*JSONElement_Text) Size ¶
func (m *JSONElement_Text) Size() (n int)
func (*JSONElement_Text) String ¶
func (m *JSONElement_Text) String() string
func (*JSONElement_Text) Unmarshal ¶
func (m *JSONElement_Text) Unmarshal(dAtA []byte) error
func (*JSONElement_Text) XXX_DiscardUnknown ¶
func (m *JSONElement_Text) XXX_DiscardUnknown()
func (*JSONElement_Text) XXX_Marshal ¶
func (m *JSONElement_Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONElement_Text) XXX_Merge ¶
func (m *JSONElement_Text) XXX_Merge(src proto.Message)
func (*JSONElement_Text) XXX_Size ¶
func (m *JSONElement_Text) XXX_Size() int
func (*JSONElement_Text) XXX_Unmarshal ¶
func (m *JSONElement_Text) XXX_Unmarshal(b []byte) error
type JSONElement_Text_ ¶
type JSONElement_Text_ struct {
Text *JSONElement_Text `protobuf:"bytes,4,opt,name=text,proto3,oneof" json:"text,omitempty"`
}
func (*JSONElement_Text_) MarshalTo ¶
func (m *JSONElement_Text_) MarshalTo(dAtA []byte) (int, error)
func (*JSONElement_Text_) MarshalToSizedBuffer ¶
func (m *JSONElement_Text_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JSONElement_Text_) Size ¶
func (m *JSONElement_Text_) Size() (n int)
type Metadata ¶ added in v0.1.7
type Metadata struct { Clock int32 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` Data map[string]string `` /* 149-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Metadata) Descriptor ¶ added in v0.1.7
func (*Metadata) MarshalToSizedBuffer ¶ added in v0.1.7
func (*Metadata) ProtoMessage ¶ added in v0.1.7
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶ added in v0.1.7
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶ added in v0.1.7
func (*Metadata) XXX_Unmarshal ¶ added in v0.1.7
type Operation ¶
type Operation struct { // Types that are valid to be assigned to Body: // *Operation_Set_ // *Operation_Add_ // *Operation_Move_ // *Operation_Remove_ // *Operation_Edit_ // *Operation_Select_ // *Operation_RichEdit_ // *Operation_Style_ // *Operation_Increase_ Body isOperation_Body `protobuf_oneof:"body"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Operation) Descriptor ¶
func (*Operation) GetAdd ¶
func (m *Operation) GetAdd() *Operation_Add
func (*Operation) GetEdit ¶
func (m *Operation) GetEdit() *Operation_Edit
func (*Operation) GetIncrease ¶
func (m *Operation) GetIncrease() *Operation_Increase
func (*Operation) GetMove ¶
func (m *Operation) GetMove() *Operation_Move
func (*Operation) GetRemove ¶
func (m *Operation) GetRemove() *Operation_Remove
func (*Operation) GetRichEdit ¶
func (m *Operation) GetRichEdit() *Operation_RichEdit
func (*Operation) GetSelect ¶
func (m *Operation) GetSelect() *Operation_Select
func (*Operation) GetSet ¶
func (m *Operation) GetSet() *Operation_Set
func (*Operation) GetStyle ¶
func (m *Operation) GetStyle() *Operation_Style
func (*Operation) MarshalToSizedBuffer ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) XXX_DiscardUnknown ¶
func (m *Operation) XXX_DiscardUnknown()
func (*Operation) XXX_Marshal ¶
func (*Operation) XXX_OneofWrappers ¶
func (*Operation) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Operation) XXX_Unmarshal ¶
type Operation_Add ¶
type Operation_Add struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` PrevCreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=prev_created_at,json=prevCreatedAt,proto3" json:"prev_created_at,omitempty"` Value *JSONElementSimple `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,4,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Operation_Add) Descriptor ¶
func (*Operation_Add) Descriptor() ([]byte, []int)
func (*Operation_Add) GetExecutedAt ¶
func (m *Operation_Add) GetExecutedAt() *TimeTicket
func (*Operation_Add) GetParentCreatedAt ¶
func (m *Operation_Add) GetParentCreatedAt() *TimeTicket
func (*Operation_Add) GetPrevCreatedAt ¶
func (m *Operation_Add) GetPrevCreatedAt() *TimeTicket
func (*Operation_Add) GetValue ¶
func (m *Operation_Add) GetValue() *JSONElementSimple
func (*Operation_Add) Marshal ¶
func (m *Operation_Add) Marshal() (dAtA []byte, err error)
func (*Operation_Add) MarshalToSizedBuffer ¶
func (m *Operation_Add) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Add) ProtoMessage ¶
func (*Operation_Add) ProtoMessage()
func (*Operation_Add) Reset ¶
func (m *Operation_Add) Reset()
func (*Operation_Add) Size ¶
func (m *Operation_Add) Size() (n int)
func (*Operation_Add) String ¶
func (m *Operation_Add) String() string
func (*Operation_Add) Unmarshal ¶
func (m *Operation_Add) Unmarshal(dAtA []byte) error
func (*Operation_Add) XXX_DiscardUnknown ¶
func (m *Operation_Add) XXX_DiscardUnknown()
func (*Operation_Add) XXX_Marshal ¶
func (m *Operation_Add) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Operation_Add) XXX_Merge ¶
func (m *Operation_Add) XXX_Merge(src proto.Message)
func (*Operation_Add) XXX_Size ¶
func (m *Operation_Add) XXX_Size() int
func (*Operation_Add) XXX_Unmarshal ¶
func (m *Operation_Add) XXX_Unmarshal(b []byte) error
type Operation_Add_ ¶
type Operation_Add_ struct {
Add *Operation_Add `protobuf:"bytes,2,opt,name=add,proto3,oneof" json:"add,omitempty"`
}
func (*Operation_Add_) MarshalToSizedBuffer ¶
func (m *Operation_Add_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Add_) Size ¶
func (m *Operation_Add_) Size() (n int)
type Operation_Edit ¶
type Operation_Edit struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` From *TextNodePos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To *TextNodePos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` CreatedAtMapByActor map[string]*TimeTicket `` /* 212-byte string literal not displayed */ Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,6,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Operation_Edit) Descriptor ¶
func (*Operation_Edit) Descriptor() ([]byte, []int)
func (*Operation_Edit) GetContent ¶
func (m *Operation_Edit) GetContent() string
func (*Operation_Edit) GetCreatedAtMapByActor ¶
func (m *Operation_Edit) GetCreatedAtMapByActor() map[string]*TimeTicket
func (*Operation_Edit) GetExecutedAt ¶
func (m *Operation_Edit) GetExecutedAt() *TimeTicket
func (*Operation_Edit) GetFrom ¶
func (m *Operation_Edit) GetFrom() *TextNodePos
func (*Operation_Edit) GetParentCreatedAt ¶
func (m *Operation_Edit) GetParentCreatedAt() *TimeTicket
func (*Operation_Edit) GetTo ¶
func (m *Operation_Edit) GetTo() *TextNodePos
func (*Operation_Edit) Marshal ¶
func (m *Operation_Edit) Marshal() (dAtA []byte, err error)
func (*Operation_Edit) MarshalToSizedBuffer ¶
func (m *Operation_Edit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Edit) ProtoMessage ¶
func (*Operation_Edit) ProtoMessage()
func (*Operation_Edit) Reset ¶
func (m *Operation_Edit) Reset()
func (*Operation_Edit) Size ¶
func (m *Operation_Edit) Size() (n int)
func (*Operation_Edit) String ¶
func (m *Operation_Edit) String() string
func (*Operation_Edit) Unmarshal ¶
func (m *Operation_Edit) Unmarshal(dAtA []byte) error
func (*Operation_Edit) XXX_DiscardUnknown ¶
func (m *Operation_Edit) XXX_DiscardUnknown()
func (*Operation_Edit) XXX_Marshal ¶
func (m *Operation_Edit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Operation_Edit) XXX_Merge ¶
func (m *Operation_Edit) XXX_Merge(src proto.Message)
func (*Operation_Edit) XXX_Size ¶
func (m *Operation_Edit) XXX_Size() int
func (*Operation_Edit) XXX_Unmarshal ¶
func (m *Operation_Edit) XXX_Unmarshal(b []byte) error
type Operation_Edit_ ¶
type Operation_Edit_ struct {
Edit *Operation_Edit `protobuf:"bytes,5,opt,name=edit,proto3,oneof" json:"edit,omitempty"`
}
func (*Operation_Edit_) MarshalToSizedBuffer ¶
func (m *Operation_Edit_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Edit_) Size ¶
func (m *Operation_Edit_) Size() (n int)
type Operation_Increase ¶
type Operation_Increase struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` Value *JSONElementSimple `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,3,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Operation_Increase) Descriptor ¶
func (*Operation_Increase) Descriptor() ([]byte, []int)
func (*Operation_Increase) GetExecutedAt ¶
func (m *Operation_Increase) GetExecutedAt() *TimeTicket
func (*Operation_Increase) GetParentCreatedAt ¶
func (m *Operation_Increase) GetParentCreatedAt() *TimeTicket
func (*Operation_Increase) GetValue ¶
func (m *Operation_Increase) GetValue() *JSONElementSimple
func (*Operation_Increase) Marshal ¶
func (m *Operation_Increase) Marshal() (dAtA []byte, err error)
func (*Operation_Increase) MarshalTo ¶
func (m *Operation_Increase) MarshalTo(dAtA []byte) (int, error)
func (*Operation_Increase) MarshalToSizedBuffer ¶
func (m *Operation_Increase) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Increase) ProtoMessage ¶
func (*Operation_Increase) ProtoMessage()
func (*Operation_Increase) Reset ¶
func (m *Operation_Increase) Reset()
func (*Operation_Increase) Size ¶
func (m *Operation_Increase) Size() (n int)
func (*Operation_Increase) String ¶
func (m *Operation_Increase) String() string
func (*Operation_Increase) Unmarshal ¶
func (m *Operation_Increase) Unmarshal(dAtA []byte) error
func (*Operation_Increase) XXX_DiscardUnknown ¶
func (m *Operation_Increase) XXX_DiscardUnknown()
func (*Operation_Increase) XXX_Marshal ¶
func (m *Operation_Increase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Operation_Increase) XXX_Merge ¶
func (m *Operation_Increase) XXX_Merge(src proto.Message)
func (*Operation_Increase) XXX_Size ¶
func (m *Operation_Increase) XXX_Size() int
func (*Operation_Increase) XXX_Unmarshal ¶
func (m *Operation_Increase) XXX_Unmarshal(b []byte) error
type Operation_Increase_ ¶
type Operation_Increase_ struct {
Increase *Operation_Increase `protobuf:"bytes,9,opt,name=increase,proto3,oneof" json:"increase,omitempty"`
}
func (*Operation_Increase_) MarshalTo ¶
func (m *Operation_Increase_) MarshalTo(dAtA []byte) (int, error)
func (*Operation_Increase_) MarshalToSizedBuffer ¶
func (m *Operation_Increase_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Increase_) Size ¶
func (m *Operation_Increase_) Size() (n int)
type Operation_Move ¶
type Operation_Move struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` PrevCreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=prev_created_at,json=prevCreatedAt,proto3" json:"prev_created_at,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,4,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Operation_Move) Descriptor ¶
func (*Operation_Move) Descriptor() ([]byte, []int)
func (*Operation_Move) GetCreatedAt ¶
func (m *Operation_Move) GetCreatedAt() *TimeTicket
func (*Operation_Move) GetExecutedAt ¶
func (m *Operation_Move) GetExecutedAt() *TimeTicket
func (*Operation_Move) GetParentCreatedAt ¶
func (m *Operation_Move) GetParentCreatedAt() *TimeTicket
func (*Operation_Move) GetPrevCreatedAt ¶
func (m *Operation_Move) GetPrevCreatedAt() *TimeTicket
func (*Operation_Move) Marshal ¶
func (m *Operation_Move) Marshal() (dAtA []byte, err error)
func (*Operation_Move) MarshalToSizedBuffer ¶
func (m *Operation_Move) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Move) ProtoMessage ¶
func (*Operation_Move) ProtoMessage()
func (*Operation_Move) Reset ¶
func (m *Operation_Move) Reset()
func (*Operation_Move) Size ¶
func (m *Operation_Move) Size() (n int)
func (*Operation_Move) String ¶
func (m *Operation_Move) String() string
func (*Operation_Move) Unmarshal ¶
func (m *Operation_Move) Unmarshal(dAtA []byte) error
func (*Operation_Move) XXX_DiscardUnknown ¶
func (m *Operation_Move) XXX_DiscardUnknown()
func (*Operation_Move) XXX_Marshal ¶
func (m *Operation_Move) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Operation_Move) XXX_Merge ¶
func (m *Operation_Move) XXX_Merge(src proto.Message)
func (*Operation_Move) XXX_Size ¶
func (m *Operation_Move) XXX_Size() int
func (*Operation_Move) XXX_Unmarshal ¶
func (m *Operation_Move) XXX_Unmarshal(b []byte) error
type Operation_Move_ ¶
type Operation_Move_ struct {
Move *Operation_Move `protobuf:"bytes,3,opt,name=move,proto3,oneof" json:"move,omitempty"`
}
func (*Operation_Move_) MarshalToSizedBuffer ¶
func (m *Operation_Move_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Move_) Size ¶
func (m *Operation_Move_) Size() (n int)
type Operation_Remove ¶
type Operation_Remove struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` CreatedAt *TimeTicket `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,3,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Operation_Remove) Descriptor ¶
func (*Operation_Remove) Descriptor() ([]byte, []int)
func (*Operation_Remove) GetCreatedAt ¶
func (m *Operation_Remove) GetCreatedAt() *TimeTicket
func (*Operation_Remove) GetExecutedAt ¶
func (m *Operation_Remove) GetExecutedAt() *TimeTicket
func (*Operation_Remove) GetParentCreatedAt ¶
func (m *Operation_Remove) GetParentCreatedAt() *TimeTicket
func (*Operation_Remove) Marshal ¶
func (m *Operation_Remove) Marshal() (dAtA []byte, err error)
func (*Operation_Remove) MarshalToSizedBuffer ¶
func (m *Operation_Remove) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Remove) ProtoMessage ¶
func (*Operation_Remove) ProtoMessage()
func (*Operation_Remove) Reset ¶
func (m *Operation_Remove) Reset()
func (*Operation_Remove) Size ¶
func (m *Operation_Remove) Size() (n int)
func (*Operation_Remove) String ¶
func (m *Operation_Remove) String() string
func (*Operation_Remove) Unmarshal ¶
func (m *Operation_Remove) Unmarshal(dAtA []byte) error
func (*Operation_Remove) XXX_DiscardUnknown ¶
func (m *Operation_Remove) XXX_DiscardUnknown()
func (*Operation_Remove) XXX_Marshal ¶
func (m *Operation_Remove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Operation_Remove) XXX_Merge ¶
func (m *Operation_Remove) XXX_Merge(src proto.Message)
func (*Operation_Remove) XXX_Size ¶
func (m *Operation_Remove) XXX_Size() int
func (*Operation_Remove) XXX_Unmarshal ¶
func (m *Operation_Remove) XXX_Unmarshal(b []byte) error
type Operation_Remove_ ¶
type Operation_Remove_ struct {
Remove *Operation_Remove `protobuf:"bytes,4,opt,name=remove,proto3,oneof" json:"remove,omitempty"`
}
func (*Operation_Remove_) MarshalTo ¶
func (m *Operation_Remove_) MarshalTo(dAtA []byte) (int, error)
func (*Operation_Remove_) MarshalToSizedBuffer ¶
func (m *Operation_Remove_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Remove_) Size ¶
func (m *Operation_Remove_) Size() (n int)
type Operation_RichEdit ¶
type Operation_RichEdit struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` From *TextNodePos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To *TextNodePos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` CreatedAtMapByActor map[string]*TimeTicket `` /* 212-byte string literal not displayed */ Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ ExecutedAt *TimeTicket `protobuf:"bytes,7,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Operation_RichEdit) Descriptor ¶
func (*Operation_RichEdit) Descriptor() ([]byte, []int)
func (*Operation_RichEdit) GetAttributes ¶
func (m *Operation_RichEdit) GetAttributes() map[string]string
func (*Operation_RichEdit) GetContent ¶
func (m *Operation_RichEdit) GetContent() string
func (*Operation_RichEdit) GetCreatedAtMapByActor ¶
func (m *Operation_RichEdit) GetCreatedAtMapByActor() map[string]*TimeTicket
func (*Operation_RichEdit) GetExecutedAt ¶
func (m *Operation_RichEdit) GetExecutedAt() *TimeTicket
func (*Operation_RichEdit) GetFrom ¶
func (m *Operation_RichEdit) GetFrom() *TextNodePos
func (*Operation_RichEdit) GetParentCreatedAt ¶
func (m *Operation_RichEdit) GetParentCreatedAt() *TimeTicket
func (*Operation_RichEdit) GetTo ¶
func (m *Operation_RichEdit) GetTo() *TextNodePos
func (*Operation_RichEdit) Marshal ¶
func (m *Operation_RichEdit) Marshal() (dAtA []byte, err error)
func (*Operation_RichEdit) MarshalTo ¶
func (m *Operation_RichEdit) MarshalTo(dAtA []byte) (int, error)
func (*Operation_RichEdit) MarshalToSizedBuffer ¶
func (m *Operation_RichEdit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_RichEdit) ProtoMessage ¶
func (*Operation_RichEdit) ProtoMessage()
func (*Operation_RichEdit) Reset ¶
func (m *Operation_RichEdit) Reset()
func (*Operation_RichEdit) Size ¶
func (m *Operation_RichEdit) Size() (n int)
func (*Operation_RichEdit) String ¶
func (m *Operation_RichEdit) String() string
func (*Operation_RichEdit) Unmarshal ¶
func (m *Operation_RichEdit) Unmarshal(dAtA []byte) error
func (*Operation_RichEdit) XXX_DiscardUnknown ¶
func (m *Operation_RichEdit) XXX_DiscardUnknown()
func (*Operation_RichEdit) XXX_Marshal ¶
func (m *Operation_RichEdit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Operation_RichEdit) XXX_Merge ¶
func (m *Operation_RichEdit) XXX_Merge(src proto.Message)
func (*Operation_RichEdit) XXX_Size ¶
func (m *Operation_RichEdit) XXX_Size() int
func (*Operation_RichEdit) XXX_Unmarshal ¶
func (m *Operation_RichEdit) XXX_Unmarshal(b []byte) error
type Operation_RichEdit_ ¶
type Operation_RichEdit_ struct {
RichEdit *Operation_RichEdit `protobuf:"bytes,7,opt,name=rich_edit,json=richEdit,proto3,oneof" json:"rich_edit,omitempty"`
}
func (*Operation_RichEdit_) MarshalTo ¶
func (m *Operation_RichEdit_) MarshalTo(dAtA []byte) (int, error)
func (*Operation_RichEdit_) MarshalToSizedBuffer ¶
func (m *Operation_RichEdit_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_RichEdit_) Size ¶
func (m *Operation_RichEdit_) Size() (n int)
type Operation_Select ¶
type Operation_Select struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` From *TextNodePos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To *TextNodePos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,4,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Operation_Select) Descriptor ¶
func (*Operation_Select) Descriptor() ([]byte, []int)
func (*Operation_Select) GetExecutedAt ¶
func (m *Operation_Select) GetExecutedAt() *TimeTicket
func (*Operation_Select) GetFrom ¶
func (m *Operation_Select) GetFrom() *TextNodePos
func (*Operation_Select) GetParentCreatedAt ¶
func (m *Operation_Select) GetParentCreatedAt() *TimeTicket
func (*Operation_Select) GetTo ¶
func (m *Operation_Select) GetTo() *TextNodePos
func (*Operation_Select) Marshal ¶
func (m *Operation_Select) Marshal() (dAtA []byte, err error)
func (*Operation_Select) MarshalToSizedBuffer ¶
func (m *Operation_Select) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Select) ProtoMessage ¶
func (*Operation_Select) ProtoMessage()
func (*Operation_Select) Reset ¶
func (m *Operation_Select) Reset()
func (*Operation_Select) Size ¶
func (m *Operation_Select) Size() (n int)
func (*Operation_Select) String ¶
func (m *Operation_Select) String() string
func (*Operation_Select) Unmarshal ¶
func (m *Operation_Select) Unmarshal(dAtA []byte) error
func (*Operation_Select) XXX_DiscardUnknown ¶
func (m *Operation_Select) XXX_DiscardUnknown()
func (*Operation_Select) XXX_Marshal ¶
func (m *Operation_Select) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Operation_Select) XXX_Merge ¶
func (m *Operation_Select) XXX_Merge(src proto.Message)
func (*Operation_Select) XXX_Size ¶
func (m *Operation_Select) XXX_Size() int
func (*Operation_Select) XXX_Unmarshal ¶
func (m *Operation_Select) XXX_Unmarshal(b []byte) error
type Operation_Select_ ¶
type Operation_Select_ struct {
Select *Operation_Select `protobuf:"bytes,6,opt,name=select,proto3,oneof" json:"select,omitempty"`
}
func (*Operation_Select_) MarshalTo ¶
func (m *Operation_Select_) MarshalTo(dAtA []byte) (int, error)
func (*Operation_Select_) MarshalToSizedBuffer ¶
func (m *Operation_Select_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Select_) Size ¶
func (m *Operation_Select_) Size() (n int)
type Operation_Set ¶
type Operation_Set struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value *JSONElementSimple `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` ExecutedAt *TimeTicket `protobuf:"bytes,4,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Operation_Set) Descriptor ¶
func (*Operation_Set) Descriptor() ([]byte, []int)
func (*Operation_Set) GetExecutedAt ¶
func (m *Operation_Set) GetExecutedAt() *TimeTicket
func (*Operation_Set) GetKey ¶
func (m *Operation_Set) GetKey() string
func (*Operation_Set) GetParentCreatedAt ¶
func (m *Operation_Set) GetParentCreatedAt() *TimeTicket
func (*Operation_Set) GetValue ¶
func (m *Operation_Set) GetValue() *JSONElementSimple
func (*Operation_Set) Marshal ¶
func (m *Operation_Set) Marshal() (dAtA []byte, err error)
func (*Operation_Set) MarshalToSizedBuffer ¶
func (m *Operation_Set) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Set) ProtoMessage ¶
func (*Operation_Set) ProtoMessage()
func (*Operation_Set) Reset ¶
func (m *Operation_Set) Reset()
func (*Operation_Set) Size ¶
func (m *Operation_Set) Size() (n int)
func (*Operation_Set) String ¶
func (m *Operation_Set) String() string
func (*Operation_Set) Unmarshal ¶
func (m *Operation_Set) Unmarshal(dAtA []byte) error
func (*Operation_Set) XXX_DiscardUnknown ¶
func (m *Operation_Set) XXX_DiscardUnknown()
func (*Operation_Set) XXX_Marshal ¶
func (m *Operation_Set) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Operation_Set) XXX_Merge ¶
func (m *Operation_Set) XXX_Merge(src proto.Message)
func (*Operation_Set) XXX_Size ¶
func (m *Operation_Set) XXX_Size() int
func (*Operation_Set) XXX_Unmarshal ¶
func (m *Operation_Set) XXX_Unmarshal(b []byte) error
type Operation_Set_ ¶
type Operation_Set_ struct {
Set *Operation_Set `protobuf:"bytes,1,opt,name=set,proto3,oneof" json:"set,omitempty"`
}
func (*Operation_Set_) MarshalToSizedBuffer ¶
func (m *Operation_Set_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Set_) Size ¶
func (m *Operation_Set_) Size() (n int)
type Operation_Style ¶
type Operation_Style struct { ParentCreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=parent_created_at,json=parentCreatedAt,proto3" json:"parent_created_at,omitempty"` From *TextNodePos `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To *TextNodePos `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ ExecutedAt *TimeTicket `protobuf:"bytes,5,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Operation_Style) Descriptor ¶
func (*Operation_Style) Descriptor() ([]byte, []int)
func (*Operation_Style) GetAttributes ¶
func (m *Operation_Style) GetAttributes() map[string]string
func (*Operation_Style) GetExecutedAt ¶
func (m *Operation_Style) GetExecutedAt() *TimeTicket
func (*Operation_Style) GetFrom ¶
func (m *Operation_Style) GetFrom() *TextNodePos
func (*Operation_Style) GetParentCreatedAt ¶
func (m *Operation_Style) GetParentCreatedAt() *TimeTicket
func (*Operation_Style) GetTo ¶
func (m *Operation_Style) GetTo() *TextNodePos
func (*Operation_Style) Marshal ¶
func (m *Operation_Style) Marshal() (dAtA []byte, err error)
func (*Operation_Style) MarshalToSizedBuffer ¶
func (m *Operation_Style) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Style) ProtoMessage ¶
func (*Operation_Style) ProtoMessage()
func (*Operation_Style) Reset ¶
func (m *Operation_Style) Reset()
func (*Operation_Style) Size ¶
func (m *Operation_Style) Size() (n int)
func (*Operation_Style) String ¶
func (m *Operation_Style) String() string
func (*Operation_Style) Unmarshal ¶
func (m *Operation_Style) Unmarshal(dAtA []byte) error
func (*Operation_Style) XXX_DiscardUnknown ¶
func (m *Operation_Style) XXX_DiscardUnknown()
func (*Operation_Style) XXX_Marshal ¶
func (m *Operation_Style) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Operation_Style) XXX_Merge ¶
func (m *Operation_Style) XXX_Merge(src proto.Message)
func (*Operation_Style) XXX_Size ¶
func (m *Operation_Style) XXX_Size() int
func (*Operation_Style) XXX_Unmarshal ¶
func (m *Operation_Style) XXX_Unmarshal(b []byte) error
type Operation_Style_ ¶
type Operation_Style_ struct {
Style *Operation_Style `protobuf:"bytes,8,opt,name=style,proto3,oneof" json:"style,omitempty"`
}
func (*Operation_Style_) MarshalToSizedBuffer ¶
func (m *Operation_Style_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Operation_Style_) Size ¶
func (m *Operation_Style_) Size() (n int)
type PushPullRequest ¶
type PushPullRequest struct { ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,2,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushPullRequest) Descriptor ¶
func (*PushPullRequest) Descriptor() ([]byte, []int)
func (*PushPullRequest) GetChangePack ¶
func (m *PushPullRequest) GetChangePack() *ChangePack
func (*PushPullRequest) GetClientId ¶
func (m *PushPullRequest) GetClientId() []byte
func (*PushPullRequest) Marshal ¶
func (m *PushPullRequest) Marshal() (dAtA []byte, err error)
func (*PushPullRequest) MarshalToSizedBuffer ¶
func (m *PushPullRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PushPullRequest) ProtoMessage ¶
func (*PushPullRequest) ProtoMessage()
func (*PushPullRequest) Reset ¶
func (m *PushPullRequest) Reset()
func (*PushPullRequest) Size ¶
func (m *PushPullRequest) Size() (n int)
func (*PushPullRequest) String ¶
func (m *PushPullRequest) String() string
func (*PushPullRequest) Unmarshal ¶
func (m *PushPullRequest) Unmarshal(dAtA []byte) error
func (*PushPullRequest) XXX_DiscardUnknown ¶
func (m *PushPullRequest) XXX_DiscardUnknown()
func (*PushPullRequest) XXX_Marshal ¶
func (m *PushPullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushPullRequest) XXX_Merge ¶
func (m *PushPullRequest) XXX_Merge(src proto.Message)
func (*PushPullRequest) XXX_Size ¶
func (m *PushPullRequest) XXX_Size() int
func (*PushPullRequest) XXX_Unmarshal ¶
func (m *PushPullRequest) XXX_Unmarshal(b []byte) error
type PushPullResponse ¶
type PushPullResponse struct { ClientId []byte `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ChangePack *ChangePack `protobuf:"bytes,2,opt,name=change_pack,json=changePack,proto3" json:"change_pack,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushPullResponse) Descriptor ¶
func (*PushPullResponse) Descriptor() ([]byte, []int)
func (*PushPullResponse) GetChangePack ¶
func (m *PushPullResponse) GetChangePack() *ChangePack
func (*PushPullResponse) GetClientId ¶
func (m *PushPullResponse) GetClientId() []byte
func (*PushPullResponse) Marshal ¶
func (m *PushPullResponse) Marshal() (dAtA []byte, err error)
func (*PushPullResponse) MarshalToSizedBuffer ¶
func (m *PushPullResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PushPullResponse) ProtoMessage ¶
func (*PushPullResponse) ProtoMessage()
func (*PushPullResponse) Reset ¶
func (m *PushPullResponse) Reset()
func (*PushPullResponse) Size ¶
func (m *PushPullResponse) Size() (n int)
func (*PushPullResponse) String ¶
func (m *PushPullResponse) String() string
func (*PushPullResponse) Unmarshal ¶
func (m *PushPullResponse) Unmarshal(dAtA []byte) error
func (*PushPullResponse) XXX_DiscardUnknown ¶
func (m *PushPullResponse) XXX_DiscardUnknown()
func (*PushPullResponse) XXX_Marshal ¶
func (m *PushPullResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushPullResponse) XXX_Merge ¶
func (m *PushPullResponse) XXX_Merge(src proto.Message)
func (*PushPullResponse) XXX_Size ¶
func (m *PushPullResponse) XXX_Size() int
func (*PushPullResponse) XXX_Unmarshal ¶
func (m *PushPullResponse) XXX_Unmarshal(b []byte) error
type RGANode ¶
type RGANode struct { Next *RGANode `protobuf:"bytes,1,opt,name=next,proto3" json:"next,omitempty"` Element *JSONElement `protobuf:"bytes,2,opt,name=element,proto3" json:"element,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RGANode) Descriptor ¶
func (*RGANode) GetElement ¶
func (m *RGANode) GetElement() *JSONElement
func (*RGANode) MarshalToSizedBuffer ¶
func (*RGANode) ProtoMessage ¶
func (*RGANode) ProtoMessage()
func (*RGANode) XXX_DiscardUnknown ¶
func (m *RGANode) XXX_DiscardUnknown()
func (*RGANode) XXX_Marshal ¶
func (*RGANode) XXX_Unmarshal ¶
type RHTNode ¶
type RHTNode struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Element *JSONElement `protobuf:"bytes,2,opt,name=element,proto3" json:"element,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RHTNode) Descriptor ¶
func (*RHTNode) GetElement ¶
func (m *RHTNode) GetElement() *JSONElement
func (*RHTNode) MarshalToSizedBuffer ¶
func (*RHTNode) ProtoMessage ¶
func (*RHTNode) ProtoMessage()
func (*RHTNode) XXX_DiscardUnknown ¶
func (m *RHTNode) XXX_DiscardUnknown()
func (*RHTNode) XXX_Marshal ¶
func (*RHTNode) XXX_Unmarshal ¶
type RichTextNode ¶
type RichTextNode struct { Id *TextNodeID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Attributes map[string]*RichTextNodeAttr `` /* 161-byte string literal not displayed */ Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,4,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` InsPrevId *TextNodeID `protobuf:"bytes,5,opt,name=ins_prev_id,json=insPrevId,proto3" json:"ins_prev_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RichTextNode) Descriptor ¶
func (*RichTextNode) Descriptor() ([]byte, []int)
func (*RichTextNode) GetAttributes ¶
func (m *RichTextNode) GetAttributes() map[string]*RichTextNodeAttr
func (*RichTextNode) GetId ¶
func (m *RichTextNode) GetId() *TextNodeID
func (*RichTextNode) GetInsPrevId ¶
func (m *RichTextNode) GetInsPrevId() *TextNodeID
func (*RichTextNode) GetRemovedAt ¶
func (m *RichTextNode) GetRemovedAt() *TimeTicket
func (*RichTextNode) GetValue ¶
func (m *RichTextNode) GetValue() string
func (*RichTextNode) Marshal ¶
func (m *RichTextNode) Marshal() (dAtA []byte, err error)
func (*RichTextNode) MarshalToSizedBuffer ¶
func (m *RichTextNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RichTextNode) ProtoMessage ¶
func (*RichTextNode) ProtoMessage()
func (*RichTextNode) Reset ¶
func (m *RichTextNode) Reset()
func (*RichTextNode) Size ¶
func (m *RichTextNode) Size() (n int)
func (*RichTextNode) String ¶
func (m *RichTextNode) String() string
func (*RichTextNode) Unmarshal ¶
func (m *RichTextNode) Unmarshal(dAtA []byte) error
func (*RichTextNode) XXX_DiscardUnknown ¶
func (m *RichTextNode) XXX_DiscardUnknown()
func (*RichTextNode) XXX_Marshal ¶
func (m *RichTextNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RichTextNode) XXX_Merge ¶
func (m *RichTextNode) XXX_Merge(src proto.Message)
func (*RichTextNode) XXX_Size ¶
func (m *RichTextNode) XXX_Size() int
func (*RichTextNode) XXX_Unmarshal ¶
func (m *RichTextNode) XXX_Unmarshal(b []byte) error
type RichTextNodeAttr ¶
type RichTextNodeAttr struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` UpdatedAt *TimeTicket `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RichTextNodeAttr) Descriptor ¶
func (*RichTextNodeAttr) Descriptor() ([]byte, []int)
func (*RichTextNodeAttr) GetKey ¶
func (m *RichTextNodeAttr) GetKey() string
func (*RichTextNodeAttr) GetUpdatedAt ¶
func (m *RichTextNodeAttr) GetUpdatedAt() *TimeTicket
func (*RichTextNodeAttr) GetValue ¶
func (m *RichTextNodeAttr) GetValue() string
func (*RichTextNodeAttr) Marshal ¶
func (m *RichTextNodeAttr) Marshal() (dAtA []byte, err error)
func (*RichTextNodeAttr) MarshalToSizedBuffer ¶
func (m *RichTextNodeAttr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RichTextNodeAttr) ProtoMessage ¶
func (*RichTextNodeAttr) ProtoMessage()
func (*RichTextNodeAttr) Reset ¶
func (m *RichTextNodeAttr) Reset()
func (*RichTextNodeAttr) Size ¶
func (m *RichTextNodeAttr) Size() (n int)
func (*RichTextNodeAttr) String ¶
func (m *RichTextNodeAttr) String() string
func (*RichTextNodeAttr) Unmarshal ¶
func (m *RichTextNodeAttr) Unmarshal(dAtA []byte) error
func (*RichTextNodeAttr) XXX_DiscardUnknown ¶
func (m *RichTextNodeAttr) XXX_DiscardUnknown()
func (*RichTextNodeAttr) XXX_Marshal ¶
func (m *RichTextNodeAttr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RichTextNodeAttr) XXX_Merge ¶
func (m *RichTextNodeAttr) XXX_Merge(src proto.Message)
func (*RichTextNodeAttr) XXX_Size ¶
func (m *RichTextNodeAttr) XXX_Size() int
func (*RichTextNodeAttr) XXX_Unmarshal ¶
func (m *RichTextNodeAttr) XXX_Unmarshal(b []byte) error
type TextNode ¶
type TextNode struct { Id *TextNodeID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` RemovedAt *TimeTicket `protobuf:"bytes,3,opt,name=removed_at,json=removedAt,proto3" json:"removed_at,omitempty"` InsPrevId *TextNodeID `protobuf:"bytes,4,opt,name=ins_prev_id,json=insPrevId,proto3" json:"ins_prev_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TextNode) Descriptor ¶
func (*TextNode) GetId ¶
func (m *TextNode) GetId() *TextNodeID
func (*TextNode) GetInsPrevId ¶
func (m *TextNode) GetInsPrevId() *TextNodeID
func (*TextNode) GetRemovedAt ¶
func (m *TextNode) GetRemovedAt() *TimeTicket
func (*TextNode) MarshalToSizedBuffer ¶
func (*TextNode) ProtoMessage ¶
func (*TextNode) ProtoMessage()
func (*TextNode) XXX_DiscardUnknown ¶
func (m *TextNode) XXX_DiscardUnknown()
func (*TextNode) XXX_Marshal ¶
func (*TextNode) XXX_Unmarshal ¶
type TextNodeID ¶
type TextNodeID struct { CreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TextNodeID) Descriptor ¶
func (*TextNodeID) Descriptor() ([]byte, []int)
func (*TextNodeID) GetCreatedAt ¶
func (m *TextNodeID) GetCreatedAt() *TimeTicket
func (*TextNodeID) GetOffset ¶
func (m *TextNodeID) GetOffset() int32
func (*TextNodeID) Marshal ¶
func (m *TextNodeID) Marshal() (dAtA []byte, err error)
func (*TextNodeID) MarshalToSizedBuffer ¶
func (m *TextNodeID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TextNodeID) ProtoMessage ¶
func (*TextNodeID) ProtoMessage()
func (*TextNodeID) Reset ¶
func (m *TextNodeID) Reset()
func (*TextNodeID) Size ¶
func (m *TextNodeID) Size() (n int)
func (*TextNodeID) String ¶
func (m *TextNodeID) String() string
func (*TextNodeID) Unmarshal ¶
func (m *TextNodeID) Unmarshal(dAtA []byte) error
func (*TextNodeID) XXX_DiscardUnknown ¶
func (m *TextNodeID) XXX_DiscardUnknown()
func (*TextNodeID) XXX_Marshal ¶
func (m *TextNodeID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TextNodeID) XXX_Merge ¶
func (m *TextNodeID) XXX_Merge(src proto.Message)
func (*TextNodeID) XXX_Size ¶
func (m *TextNodeID) XXX_Size() int
func (*TextNodeID) XXX_Unmarshal ¶
func (m *TextNodeID) XXX_Unmarshal(b []byte) error
type TextNodePos ¶
type TextNodePos struct { CreatedAt *TimeTicket `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` RelativeOffset int32 `protobuf:"varint,3,opt,name=relative_offset,json=relativeOffset,proto3" json:"relative_offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TextNodePos) Descriptor ¶
func (*TextNodePos) Descriptor() ([]byte, []int)
func (*TextNodePos) GetCreatedAt ¶
func (m *TextNodePos) GetCreatedAt() *TimeTicket
func (*TextNodePos) GetOffset ¶
func (m *TextNodePos) GetOffset() int32
func (*TextNodePos) GetRelativeOffset ¶
func (m *TextNodePos) GetRelativeOffset() int32
func (*TextNodePos) Marshal ¶
func (m *TextNodePos) Marshal() (dAtA []byte, err error)
func (*TextNodePos) MarshalToSizedBuffer ¶
func (m *TextNodePos) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TextNodePos) ProtoMessage ¶
func (*TextNodePos) ProtoMessage()
func (*TextNodePos) Reset ¶
func (m *TextNodePos) Reset()
func (*TextNodePos) Size ¶
func (m *TextNodePos) Size() (n int)
func (*TextNodePos) String ¶
func (m *TextNodePos) String() string
func (*TextNodePos) Unmarshal ¶
func (m *TextNodePos) Unmarshal(dAtA []byte) error
func (*TextNodePos) XXX_DiscardUnknown ¶
func (m *TextNodePos) XXX_DiscardUnknown()
func (*TextNodePos) XXX_Marshal ¶
func (m *TextNodePos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TextNodePos) XXX_Merge ¶
func (m *TextNodePos) XXX_Merge(src proto.Message)
func (*TextNodePos) XXX_Size ¶
func (m *TextNodePos) XXX_Size() int
func (*TextNodePos) XXX_Unmarshal ¶
func (m *TextNodePos) XXX_Unmarshal(b []byte) error
type TimeTicket ¶
type TimeTicket struct { Lamport uint64 `protobuf:"varint,1,opt,name=lamport,proto3" json:"lamport,omitempty"` Delimiter uint32 `protobuf:"varint,2,opt,name=delimiter,proto3" json:"delimiter,omitempty"` ActorId []byte `protobuf:"bytes,3,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TimeTicket) Descriptor ¶
func (*TimeTicket) Descriptor() ([]byte, []int)
func (*TimeTicket) GetActorId ¶
func (m *TimeTicket) GetActorId() []byte
func (*TimeTicket) GetDelimiter ¶
func (m *TimeTicket) GetDelimiter() uint32
func (*TimeTicket) GetLamport ¶
func (m *TimeTicket) GetLamport() uint64
func (*TimeTicket) Marshal ¶
func (m *TimeTicket) Marshal() (dAtA []byte, err error)
func (*TimeTicket) MarshalToSizedBuffer ¶
func (m *TimeTicket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TimeTicket) ProtoMessage ¶
func (*TimeTicket) ProtoMessage()
func (*TimeTicket) Reset ¶
func (m *TimeTicket) Reset()
func (*TimeTicket) Size ¶
func (m *TimeTicket) Size() (n int)
func (*TimeTicket) String ¶
func (m *TimeTicket) String() string
func (*TimeTicket) Unmarshal ¶
func (m *TimeTicket) Unmarshal(dAtA []byte) error
func (*TimeTicket) XXX_DiscardUnknown ¶
func (m *TimeTicket) XXX_DiscardUnknown()
func (*TimeTicket) XXX_Marshal ¶
func (m *TimeTicket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimeTicket) XXX_Merge ¶
func (m *TimeTicket) XXX_Merge(src proto.Message)
func (*TimeTicket) XXX_Size ¶
func (m *TimeTicket) XXX_Size() int
func (*TimeTicket) XXX_Unmarshal ¶
func (m *TimeTicket) XXX_Unmarshal(b []byte) error
type UnimplementedClusterServer ¶ added in v0.1.6
type UnimplementedClusterServer struct { }
UnimplementedClusterServer can be embedded to have forward compatible implementations.
func (*UnimplementedClusterServer) BroadcastEvent ¶ added in v0.1.6
func (*UnimplementedClusterServer) BroadcastEvent(ctx context.Context, req *BroadcastEventRequest) (*BroadcastEventResponse, error)
type UnimplementedYorkieServer ¶
type UnimplementedYorkieServer struct { }
UnimplementedYorkieServer can be embedded to have forward compatible implementations.
func (*UnimplementedYorkieServer) ActivateClient ¶
func (*UnimplementedYorkieServer) ActivateClient(ctx context.Context, req *ActivateClientRequest) (*ActivateClientResponse, error)
func (*UnimplementedYorkieServer) AttachDocument ¶
func (*UnimplementedYorkieServer) AttachDocument(ctx context.Context, req *AttachDocumentRequest) (*AttachDocumentResponse, error)
func (*UnimplementedYorkieServer) DeactivateClient ¶
func (*UnimplementedYorkieServer) DeactivateClient(ctx context.Context, req *DeactivateClientRequest) (*DeactivateClientResponse, error)
func (*UnimplementedYorkieServer) DetachDocument ¶
func (*UnimplementedYorkieServer) DetachDocument(ctx context.Context, req *DetachDocumentRequest) (*DetachDocumentResponse, error)
func (*UnimplementedYorkieServer) PushPull ¶
func (*UnimplementedYorkieServer) PushPull(ctx context.Context, req *PushPullRequest) (*PushPullResponse, error)
func (*UnimplementedYorkieServer) UpdateMetadata ¶ added in v0.1.7
func (*UnimplementedYorkieServer) UpdateMetadata(ctx context.Context, req *UpdateMetadataRequest) (*UpdateMetadataResponse, error)
func (*UnimplementedYorkieServer) WatchDocuments ¶
func (*UnimplementedYorkieServer) WatchDocuments(req *WatchDocumentsRequest, srv Yorkie_WatchDocumentsServer) error
type UpdateMetadataRequest ¶ added in v0.1.7
type UpdateMetadataRequest struct { Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` DocumentKeys []*DocumentKey `protobuf:"bytes,2,rep,name=document_keys,json=documentKeys,proto3" json:"document_keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateMetadataRequest) Descriptor ¶ added in v0.1.7
func (*UpdateMetadataRequest) Descriptor() ([]byte, []int)
func (*UpdateMetadataRequest) GetClient ¶ added in v0.1.7
func (m *UpdateMetadataRequest) GetClient() *Client
func (*UpdateMetadataRequest) GetDocumentKeys ¶ added in v0.1.7
func (m *UpdateMetadataRequest) GetDocumentKeys() []*DocumentKey
func (*UpdateMetadataRequest) Marshal ¶ added in v0.1.7
func (m *UpdateMetadataRequest) Marshal() (dAtA []byte, err error)
func (*UpdateMetadataRequest) MarshalTo ¶ added in v0.1.7
func (m *UpdateMetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateMetadataRequest) MarshalToSizedBuffer ¶ added in v0.1.7
func (m *UpdateMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateMetadataRequest) ProtoMessage ¶ added in v0.1.7
func (*UpdateMetadataRequest) ProtoMessage()
func (*UpdateMetadataRequest) Reset ¶ added in v0.1.7
func (m *UpdateMetadataRequest) Reset()
func (*UpdateMetadataRequest) Size ¶ added in v0.1.7
func (m *UpdateMetadataRequest) Size() (n int)
func (*UpdateMetadataRequest) String ¶ added in v0.1.7
func (m *UpdateMetadataRequest) String() string
func (*UpdateMetadataRequest) Unmarshal ¶ added in v0.1.7
func (m *UpdateMetadataRequest) Unmarshal(dAtA []byte) error
func (*UpdateMetadataRequest) XXX_DiscardUnknown ¶ added in v0.1.7
func (m *UpdateMetadataRequest) XXX_DiscardUnknown()
func (*UpdateMetadataRequest) XXX_Marshal ¶ added in v0.1.7
func (m *UpdateMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateMetadataRequest) XXX_Merge ¶ added in v0.1.7
func (m *UpdateMetadataRequest) XXX_Merge(src proto.Message)
func (*UpdateMetadataRequest) XXX_Size ¶ added in v0.1.7
func (m *UpdateMetadataRequest) XXX_Size() int
func (*UpdateMetadataRequest) XXX_Unmarshal ¶ added in v0.1.7
func (m *UpdateMetadataRequest) XXX_Unmarshal(b []byte) error
type UpdateMetadataResponse ¶ added in v0.1.7
type UpdateMetadataResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateMetadataResponse) Descriptor ¶ added in v0.1.7
func (*UpdateMetadataResponse) Descriptor() ([]byte, []int)
func (*UpdateMetadataResponse) Marshal ¶ added in v0.1.7
func (m *UpdateMetadataResponse) Marshal() (dAtA []byte, err error)
func (*UpdateMetadataResponse) MarshalTo ¶ added in v0.1.7
func (m *UpdateMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdateMetadataResponse) MarshalToSizedBuffer ¶ added in v0.1.7
func (m *UpdateMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateMetadataResponse) ProtoMessage ¶ added in v0.1.7
func (*UpdateMetadataResponse) ProtoMessage()
func (*UpdateMetadataResponse) Reset ¶ added in v0.1.7
func (m *UpdateMetadataResponse) Reset()
func (*UpdateMetadataResponse) Size ¶ added in v0.1.7
func (m *UpdateMetadataResponse) Size() (n int)
func (*UpdateMetadataResponse) String ¶ added in v0.1.7
func (m *UpdateMetadataResponse) String() string
func (*UpdateMetadataResponse) Unmarshal ¶ added in v0.1.7
func (m *UpdateMetadataResponse) Unmarshal(dAtA []byte) error
func (*UpdateMetadataResponse) XXX_DiscardUnknown ¶ added in v0.1.7
func (m *UpdateMetadataResponse) XXX_DiscardUnknown()
func (*UpdateMetadataResponse) XXX_Marshal ¶ added in v0.1.7
func (m *UpdateMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateMetadataResponse) XXX_Merge ¶ added in v0.1.7
func (m *UpdateMetadataResponse) XXX_Merge(src proto.Message)
func (*UpdateMetadataResponse) XXX_Size ¶ added in v0.1.7
func (m *UpdateMetadataResponse) XXX_Size() int
func (*UpdateMetadataResponse) XXX_Unmarshal ¶ added in v0.1.7
func (m *UpdateMetadataResponse) XXX_Unmarshal(b []byte) error
type ValueType ¶
type ValueType int32
const ( ValueType_NULL ValueType = 0 ValueType_BOOLEAN ValueType = 1 ValueType_INTEGER ValueType = 2 ValueType_LONG ValueType = 3 ValueType_DOUBLE ValueType = 4 ValueType_STRING ValueType = 5 ValueType_BYTES ValueType = 6 ValueType_DATE ValueType = 7 ValueType_JSON_OBJECT ValueType = 8 ValueType_JSON_ARRAY ValueType = 9 ValueType_TEXT ValueType = 10 ValueType_RICH_TEXT ValueType = 11 ValueType_INTEGER_CNT ValueType = 12 ValueType_LONG_CNT ValueType = 13 ValueType_DOUBLE_CNT ValueType = 14 )
func (ValueType) EnumDescriptor ¶
type WatchDocumentsRequest ¶
type WatchDocumentsRequest struct { Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` DocumentKeys []*DocumentKey `protobuf:"bytes,2,rep,name=document_keys,json=documentKeys,proto3" json:"document_keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WatchDocumentsRequest) Descriptor ¶
func (*WatchDocumentsRequest) Descriptor() ([]byte, []int)
func (*WatchDocumentsRequest) GetClient ¶ added in v0.1.2
func (m *WatchDocumentsRequest) GetClient() *Client
func (*WatchDocumentsRequest) GetDocumentKeys ¶
func (m *WatchDocumentsRequest) GetDocumentKeys() []*DocumentKey
func (*WatchDocumentsRequest) Marshal ¶
func (m *WatchDocumentsRequest) Marshal() (dAtA []byte, err error)
func (*WatchDocumentsRequest) MarshalTo ¶
func (m *WatchDocumentsRequest) MarshalTo(dAtA []byte) (int, error)
func (*WatchDocumentsRequest) MarshalToSizedBuffer ¶
func (m *WatchDocumentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WatchDocumentsRequest) ProtoMessage ¶
func (*WatchDocumentsRequest) ProtoMessage()
func (*WatchDocumentsRequest) Reset ¶
func (m *WatchDocumentsRequest) Reset()
func (*WatchDocumentsRequest) Size ¶
func (m *WatchDocumentsRequest) Size() (n int)
func (*WatchDocumentsRequest) String ¶
func (m *WatchDocumentsRequest) String() string
func (*WatchDocumentsRequest) Unmarshal ¶
func (m *WatchDocumentsRequest) Unmarshal(dAtA []byte) error
func (*WatchDocumentsRequest) XXX_DiscardUnknown ¶
func (m *WatchDocumentsRequest) XXX_DiscardUnknown()
func (*WatchDocumentsRequest) XXX_Marshal ¶
func (m *WatchDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WatchDocumentsRequest) XXX_Merge ¶
func (m *WatchDocumentsRequest) XXX_Merge(src proto.Message)
func (*WatchDocumentsRequest) XXX_Size ¶
func (m *WatchDocumentsRequest) XXX_Size() int
func (*WatchDocumentsRequest) XXX_Unmarshal ¶
func (m *WatchDocumentsRequest) XXX_Unmarshal(b []byte) error
type WatchDocumentsResponse ¶
type WatchDocumentsResponse struct { // Types that are valid to be assigned to Body: // *WatchDocumentsResponse_Initialization_ // *WatchDocumentsResponse_Event Body isWatchDocumentsResponse_Body `protobuf_oneof:"body"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WatchDocumentsResponse) Descriptor ¶
func (*WatchDocumentsResponse) Descriptor() ([]byte, []int)
func (*WatchDocumentsResponse) GetBody ¶
func (m *WatchDocumentsResponse) GetBody() isWatchDocumentsResponse_Body
func (*WatchDocumentsResponse) GetEvent ¶
func (m *WatchDocumentsResponse) GetEvent() *DocEvent
func (*WatchDocumentsResponse) GetInitialization ¶
func (m *WatchDocumentsResponse) GetInitialization() *WatchDocumentsResponse_Initialization
func (*WatchDocumentsResponse) Marshal ¶
func (m *WatchDocumentsResponse) Marshal() (dAtA []byte, err error)
func (*WatchDocumentsResponse) MarshalTo ¶
func (m *WatchDocumentsResponse) MarshalTo(dAtA []byte) (int, error)
func (*WatchDocumentsResponse) MarshalToSizedBuffer ¶
func (m *WatchDocumentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WatchDocumentsResponse) ProtoMessage ¶
func (*WatchDocumentsResponse) ProtoMessage()
func (*WatchDocumentsResponse) Reset ¶
func (m *WatchDocumentsResponse) Reset()
func (*WatchDocumentsResponse) Size ¶
func (m *WatchDocumentsResponse) Size() (n int)
func (*WatchDocumentsResponse) String ¶
func (m *WatchDocumentsResponse) String() string
func (*WatchDocumentsResponse) Unmarshal ¶
func (m *WatchDocumentsResponse) Unmarshal(dAtA []byte) error
func (*WatchDocumentsResponse) XXX_DiscardUnknown ¶
func (m *WatchDocumentsResponse) XXX_DiscardUnknown()
func (*WatchDocumentsResponse) XXX_Marshal ¶
func (m *WatchDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WatchDocumentsResponse) XXX_Merge ¶
func (m *WatchDocumentsResponse) XXX_Merge(src proto.Message)
func (*WatchDocumentsResponse) XXX_OneofWrappers ¶
func (*WatchDocumentsResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*WatchDocumentsResponse) XXX_Size ¶
func (m *WatchDocumentsResponse) XXX_Size() int
func (*WatchDocumentsResponse) XXX_Unmarshal ¶
func (m *WatchDocumentsResponse) XXX_Unmarshal(b []byte) error
type WatchDocumentsResponse_Event ¶
type WatchDocumentsResponse_Event struct {
Event *DocEvent `protobuf:"bytes,2,opt,name=event,proto3,oneof" json:"event,omitempty"`
}
func (*WatchDocumentsResponse_Event) MarshalTo ¶
func (m *WatchDocumentsResponse_Event) MarshalTo(dAtA []byte) (int, error)
func (*WatchDocumentsResponse_Event) MarshalToSizedBuffer ¶
func (m *WatchDocumentsResponse_Event) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WatchDocumentsResponse_Event) Size ¶
func (m *WatchDocumentsResponse_Event) Size() (n int)
type WatchDocumentsResponse_Initialization ¶
type WatchDocumentsResponse_Initialization struct { PeersMapByDoc map[string]*Clients `` /* 192-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WatchDocumentsResponse_Initialization) Descriptor ¶
func (*WatchDocumentsResponse_Initialization) Descriptor() ([]byte, []int)
func (*WatchDocumentsResponse_Initialization) GetPeersMapByDoc ¶
func (m *WatchDocumentsResponse_Initialization) GetPeersMapByDoc() map[string]*Clients
func (*WatchDocumentsResponse_Initialization) Marshal ¶
func (m *WatchDocumentsResponse_Initialization) Marshal() (dAtA []byte, err error)
func (*WatchDocumentsResponse_Initialization) MarshalTo ¶
func (m *WatchDocumentsResponse_Initialization) MarshalTo(dAtA []byte) (int, error)
func (*WatchDocumentsResponse_Initialization) MarshalToSizedBuffer ¶
func (m *WatchDocumentsResponse_Initialization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WatchDocumentsResponse_Initialization) ProtoMessage ¶
func (*WatchDocumentsResponse_Initialization) ProtoMessage()
func (*WatchDocumentsResponse_Initialization) Reset ¶
func (m *WatchDocumentsResponse_Initialization) Reset()
func (*WatchDocumentsResponse_Initialization) Size ¶
func (m *WatchDocumentsResponse_Initialization) Size() (n int)
func (*WatchDocumentsResponse_Initialization) String ¶
func (m *WatchDocumentsResponse_Initialization) String() string
func (*WatchDocumentsResponse_Initialization) Unmarshal ¶
func (m *WatchDocumentsResponse_Initialization) Unmarshal(dAtA []byte) error
func (*WatchDocumentsResponse_Initialization) XXX_DiscardUnknown ¶
func (m *WatchDocumentsResponse_Initialization) XXX_DiscardUnknown()
func (*WatchDocumentsResponse_Initialization) XXX_Marshal ¶
func (m *WatchDocumentsResponse_Initialization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WatchDocumentsResponse_Initialization) XXX_Merge ¶
func (m *WatchDocumentsResponse_Initialization) XXX_Merge(src proto.Message)
func (*WatchDocumentsResponse_Initialization) XXX_Size ¶
func (m *WatchDocumentsResponse_Initialization) XXX_Size() int
func (*WatchDocumentsResponse_Initialization) XXX_Unmarshal ¶
func (m *WatchDocumentsResponse_Initialization) XXX_Unmarshal(b []byte) error
type WatchDocumentsResponse_Initialization_ ¶
type WatchDocumentsResponse_Initialization_ struct {
Initialization *WatchDocumentsResponse_Initialization `protobuf:"bytes,1,opt,name=initialization,proto3,oneof" json:"initialization,omitempty"`
}
func (*WatchDocumentsResponse_Initialization_) MarshalTo ¶
func (m *WatchDocumentsResponse_Initialization_) MarshalTo(dAtA []byte) (int, error)
func (*WatchDocumentsResponse_Initialization_) MarshalToSizedBuffer ¶
func (m *WatchDocumentsResponse_Initialization_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WatchDocumentsResponse_Initialization_) Size ¶
func (m *WatchDocumentsResponse_Initialization_) Size() (n int)
type YorkieClient ¶
type YorkieClient interface { ActivateClient(ctx context.Context, in *ActivateClientRequest, opts ...grpc.CallOption) (*ActivateClientResponse, error) DeactivateClient(ctx context.Context, in *DeactivateClientRequest, opts ...grpc.CallOption) (*DeactivateClientResponse, error) AttachDocument(ctx context.Context, in *AttachDocumentRequest, opts ...grpc.CallOption) (*AttachDocumentResponse, error) DetachDocument(ctx context.Context, in *DetachDocumentRequest, opts ...grpc.CallOption) (*DetachDocumentResponse, error) WatchDocuments(ctx context.Context, in *WatchDocumentsRequest, opts ...grpc.CallOption) (Yorkie_WatchDocumentsClient, error) PushPull(ctx context.Context, in *PushPullRequest, opts ...grpc.CallOption) (*PushPullResponse, error) UpdateMetadata(ctx context.Context, in *UpdateMetadataRequest, opts ...grpc.CallOption) (*UpdateMetadataResponse, error) }
YorkieClient is the client API for Yorkie service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewYorkieClient ¶
func NewYorkieClient(cc *grpc.ClientConn) YorkieClient
type YorkieServer ¶
type YorkieServer interface { ActivateClient(context.Context, *ActivateClientRequest) (*ActivateClientResponse, error) DeactivateClient(context.Context, *DeactivateClientRequest) (*DeactivateClientResponse, error) AttachDocument(context.Context, *AttachDocumentRequest) (*AttachDocumentResponse, error) DetachDocument(context.Context, *DetachDocumentRequest) (*DetachDocumentResponse, error) WatchDocuments(*WatchDocumentsRequest, Yorkie_WatchDocumentsServer) error PushPull(context.Context, *PushPullRequest) (*PushPullResponse, error) UpdateMetadata(context.Context, *UpdateMetadataRequest) (*UpdateMetadataResponse, error) }
YorkieServer is the server API for Yorkie service.
type Yorkie_WatchDocumentsClient ¶
type Yorkie_WatchDocumentsClient interface { Recv() (*WatchDocumentsResponse, error) grpc.ClientStream }
type Yorkie_WatchDocumentsServer ¶
type Yorkie_WatchDocumentsServer interface { Send(*WatchDocumentsResponse) error grpc.ServerStream }