|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.26.0
|
|
|
|
|
// protoc-gen-go v1.27.1
|
|
|
|
|
// protoc v3.15.6
|
|
|
|
|
// source: proto/notes.proto
|
|
|
|
|
|
|
|
|
|
@@ -586,7 +586,7 @@ func (x *ListResponse) GetNotes() []*Note {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Specify the note to events
|
|
|
|
|
type SubscribeRequest struct {
|
|
|
|
|
type EventsRequest struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
@@ -595,8 +595,8 @@ type SubscribeRequest struct {
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SubscribeRequest) Reset() {
|
|
|
|
|
*x = SubscribeRequest{}
|
|
|
|
|
func (x *EventsRequest) Reset() {
|
|
|
|
|
*x = EventsRequest{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_proto_notes_proto_msgTypes[11]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
@@ -604,13 +604,13 @@ func (x *SubscribeRequest) Reset() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SubscribeRequest) String() string {
|
|
|
|
|
func (x *EventsRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SubscribeRequest) ProtoMessage() {}
|
|
|
|
|
func (*EventsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SubscribeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
func (x *EventsRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_proto_notes_proto_msgTypes[11]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
@@ -622,31 +622,31 @@ func (x *SubscribeRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SubscribeRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
// Deprecated: Use EventsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*EventsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_proto_notes_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SubscribeRequest) GetId() string {
|
|
|
|
|
func (x *EventsRequest) GetId() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type SubscribeResponse struct {
|
|
|
|
|
type EventsResponse struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// the event which occured; created, deleted, updated
|
|
|
|
|
// the event which occured; create, delete, update
|
|
|
|
|
Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
|
|
|
|
|
// the note which the operation occured on
|
|
|
|
|
Note *Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SubscribeResponse) Reset() {
|
|
|
|
|
*x = SubscribeResponse{}
|
|
|
|
|
func (x *EventsResponse) Reset() {
|
|
|
|
|
*x = EventsResponse{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_proto_notes_proto_msgTypes[12]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
@@ -654,13 +654,13 @@ func (x *SubscribeResponse) Reset() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SubscribeResponse) String() string {
|
|
|
|
|
func (x *EventsResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SubscribeResponse) ProtoMessage() {}
|
|
|
|
|
func (*EventsResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SubscribeResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
func (x *EventsResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_proto_notes_proto_msgTypes[12]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
@@ -672,19 +672,19 @@ func (x *SubscribeResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SubscribeResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
// Deprecated: Use EventsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*EventsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_proto_notes_proto_rawDescGZIP(), []int{12}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SubscribeResponse) GetEvent() string {
|
|
|
|
|
func (x *EventsResponse) GetEvent() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Event
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SubscribeResponse) GetNote() *Note {
|
|
|
|
|
func (x *EventsResponse) GetNote() *Note {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Note
|
|
|
|
|
}
|
|
|
|
|
@@ -730,37 +730,36 @@ var file_proto_notes_proto_rawDesc = []byte{
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x31, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18,
|
|
|
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f,
|
|
|
|
|
0x74, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x22, 0x0a, 0x10, 0x53, 0x75, 0x62,
|
|
|
|
|
0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
|
|
|
|
|
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4a, 0x0a,
|
|
|
|
|
0x11, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
|
0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x09, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65,
|
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4e,
|
|
|
|
|
0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x32, 0xd0, 0x02, 0x0a, 0x05, 0x4e, 0x6f,
|
|
|
|
|
0x74, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x2e, 0x6e, 0x6f,
|
|
|
|
|
0x74, 0x65, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
|
|
0x13, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x14,
|
|
|
|
|
0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x72, 0x65,
|
|
|
|
|
0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x52,
|
|
|
|
|
0x65, 0x61, 0x64, 0x12, 0x12, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x64,
|
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e,
|
|
|
|
|
0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06,
|
|
|
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x14, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x44,
|
|
|
|
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6e,
|
|
|
|
|
0x6f, 0x74, 0x65, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x14, 0x2e,
|
|
|
|
|
0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
|
|
|
|
0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x09, 0x53, 0x75,
|
|
|
|
|
0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x17, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e,
|
|
|
|
|
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
|
0x1a, 0x18, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
|
|
|
|
|
0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x0f, 0x5a, 0x0d,
|
|
|
|
|
0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x62, 0x06, 0x70,
|
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
0x74, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x1f, 0x0a, 0x0d, 0x45, 0x76, 0x65,
|
|
|
|
|
0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x47, 0x0a, 0x0e, 0x45, 0x76,
|
|
|
|
|
0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
|
|
|
|
0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x76, 0x65,
|
|
|
|
|
0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
|
0x32, 0x0b, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e,
|
|
|
|
|
0x6f, 0x74, 0x65, 0x32, 0xc7, 0x02, 0x0a, 0x05, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x2f, 0x0a,
|
|
|
|
|
0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4c, 0x69,
|
|
|
|
|
0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6e, 0x6f, 0x74, 0x65,
|
|
|
|
|
0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35,
|
|
|
|
|
0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x14, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73,
|
|
|
|
|
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,
|
|
|
|
|
0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73,
|
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x12, 0x2e,
|
|
|
|
|
0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
|
0x74, 0x1a, 0x13, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65,
|
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
|
|
|
0x12, 0x14, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,
|
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x44,
|
|
|
|
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a,
|
|
|
|
|
0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x14, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e,
|
|
|
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e,
|
|
|
|
|
0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x14,
|
|
|
|
|
0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71,
|
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x76, 0x65,
|
|
|
|
|
0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x0f, 0x5a,
|
|
|
|
|
0x0d, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x62, 0x06,
|
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
@@ -788,8 +787,8 @@ var file_proto_notes_proto_goTypes = []interface{}{
|
|
|
|
|
(*DeleteResponse)(nil), // 8: notes.DeleteResponse
|
|
|
|
|
(*ListRequest)(nil), // 9: notes.ListRequest
|
|
|
|
|
(*ListResponse)(nil), // 10: notes.ListResponse
|
|
|
|
|
(*SubscribeRequest)(nil), // 11: notes.SubscribeRequest
|
|
|
|
|
(*SubscribeResponse)(nil), // 12: notes.SubscribeResponse
|
|
|
|
|
(*EventsRequest)(nil), // 11: notes.EventsRequest
|
|
|
|
|
(*EventsResponse)(nil), // 12: notes.EventsResponse
|
|
|
|
|
}
|
|
|
|
|
var file_proto_notes_proto_depIdxs = []int32{
|
|
|
|
|
0, // 0: notes.CreateResponse.note:type_name -> notes.Note
|
|
|
|
|
@@ -798,19 +797,19 @@ var file_proto_notes_proto_depIdxs = []int32{
|
|
|
|
|
0, // 3: notes.UpdateResponse.note:type_name -> notes.Note
|
|
|
|
|
0, // 4: notes.DeleteResponse.note:type_name -> notes.Note
|
|
|
|
|
0, // 5: notes.ListResponse.notes:type_name -> notes.Note
|
|
|
|
|
0, // 6: notes.SubscribeResponse.note:type_name -> notes.Note
|
|
|
|
|
0, // 6: notes.EventsResponse.note:type_name -> notes.Note
|
|
|
|
|
9, // 7: notes.Notes.List:input_type -> notes.ListRequest
|
|
|
|
|
1, // 8: notes.Notes.Create:input_type -> notes.CreateRequest
|
|
|
|
|
3, // 9: notes.Notes.Read:input_type -> notes.ReadRequest
|
|
|
|
|
7, // 10: notes.Notes.Delete:input_type -> notes.DeleteRequest
|
|
|
|
|
5, // 11: notes.Notes.Update:input_type -> notes.UpdateRequest
|
|
|
|
|
11, // 12: notes.Notes.Subscribe:input_type -> notes.SubscribeRequest
|
|
|
|
|
11, // 12: notes.Notes.Events:input_type -> notes.EventsRequest
|
|
|
|
|
10, // 13: notes.Notes.List:output_type -> notes.ListResponse
|
|
|
|
|
2, // 14: notes.Notes.Create:output_type -> notes.CreateResponse
|
|
|
|
|
4, // 15: notes.Notes.Read:output_type -> notes.ReadResponse
|
|
|
|
|
8, // 16: notes.Notes.Delete:output_type -> notes.DeleteResponse
|
|
|
|
|
6, // 17: notes.Notes.Update:output_type -> notes.UpdateResponse
|
|
|
|
|
12, // 18: notes.Notes.Subscribe:output_type -> notes.SubscribeResponse
|
|
|
|
|
12, // 18: notes.Notes.Events:output_type -> notes.EventsResponse
|
|
|
|
|
13, // [13:19] is the sub-list for method output_type
|
|
|
|
|
7, // [7:13] is the sub-list for method input_type
|
|
|
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
|
|
|
@@ -957,7 +956,7 @@ func file_proto_notes_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_proto_notes_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*SubscribeRequest); i {
|
|
|
|
|
switch v := v.(*EventsRequest); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
@@ -969,7 +968,7 @@ func file_proto_notes_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_proto_notes_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*SubscribeResponse); i {
|
|
|
|
|
switch v := v.(*EventsResponse); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
|