mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-18 13:45:09 +00:00
Multitenant streams api (#72)
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.6.1
|
||||
// protoc v3.15.5
|
||||
// source: proto/invites.proto
|
||||
|
||||
package invites
|
||||
|
||||
import (
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -204,8 +204,8 @@ type ReadRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Code *wrappers.StringValue `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
||||
Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Code *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ReadRequest) Reset() {
|
||||
@@ -240,14 +240,14 @@ func (*ReadRequest) Descriptor() ([]byte, []int) {
|
||||
return file_proto_invites_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *ReadRequest) GetId() *wrappers.StringValue {
|
||||
func (x *ReadRequest) GetId() *wrapperspb.StringValue {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ReadRequest) GetCode() *wrappers.StringValue {
|
||||
func (x *ReadRequest) GetCode() *wrapperspb.StringValue {
|
||||
if x != nil {
|
||||
return x.Code
|
||||
}
|
||||
@@ -306,8 +306,8 @@ type ListRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
GroupId *wrappers.StringValue `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
||||
Email *wrappers.StringValue `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
|
||||
GroupId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
||||
Email *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ListRequest) Reset() {
|
||||
@@ -342,14 +342,14 @@ func (*ListRequest) Descriptor() ([]byte, []int) {
|
||||
return file_proto_invites_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *ListRequest) GetGroupId() *wrappers.StringValue {
|
||||
func (x *ListRequest) GetGroupId() *wrapperspb.StringValue {
|
||||
if x != nil {
|
||||
return x.GroupId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ListRequest) GetEmail() *wrappers.StringValue {
|
||||
func (x *ListRequest) GetEmail() *wrapperspb.StringValue {
|
||||
if x != nil {
|
||||
return x.Email
|
||||
}
|
||||
@@ -567,16 +567,16 @@ func file_proto_invites_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_proto_invites_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||||
var file_proto_invites_proto_goTypes = []interface{}{
|
||||
(*Invite)(nil), // 0: invites.Invite
|
||||
(*CreateRequest)(nil), // 1: invites.CreateRequest
|
||||
(*CreateResponse)(nil), // 2: invites.CreateResponse
|
||||
(*ReadRequest)(nil), // 3: invites.ReadRequest
|
||||
(*ReadResponse)(nil), // 4: invites.ReadResponse
|
||||
(*ListRequest)(nil), // 5: invites.ListRequest
|
||||
(*ListResponse)(nil), // 6: invites.ListResponse
|
||||
(*DeleteRequest)(nil), // 7: invites.DeleteRequest
|
||||
(*DeleteResponse)(nil), // 8: invites.DeleteResponse
|
||||
(*wrappers.StringValue)(nil), // 9: google.protobuf.StringValue
|
||||
(*Invite)(nil), // 0: invites.Invite
|
||||
(*CreateRequest)(nil), // 1: invites.CreateRequest
|
||||
(*CreateResponse)(nil), // 2: invites.CreateResponse
|
||||
(*ReadRequest)(nil), // 3: invites.ReadRequest
|
||||
(*ReadResponse)(nil), // 4: invites.ReadResponse
|
||||
(*ListRequest)(nil), // 5: invites.ListRequest
|
||||
(*ListResponse)(nil), // 6: invites.ListResponse
|
||||
(*DeleteRequest)(nil), // 7: invites.DeleteRequest
|
||||
(*DeleteResponse)(nil), // 8: invites.DeleteResponse
|
||||
(*wrapperspb.StringValue)(nil), // 9: google.protobuf.StringValue
|
||||
}
|
||||
var file_proto_invites_proto_depIdxs = []int32{
|
||||
0, // 0: invites.CreateResponse.invite:type_name -> invites.Invite
|
||||
|
||||
@@ -6,7 +6,7 @@ package invites
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
_ "github.com/golang/protobuf/ptypes/wrappers"
|
||||
_ "google.golang.org/protobuf/types/known/wrapperspb"
|
||||
math "math"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package invites;
|
||||
option go_package = "proto;invites";
|
||||
option go_package = "./proto;invites";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
service Invites {
|
||||
@@ -53,4 +53,4 @@ message DeleteRequest {
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
message DeleteResponse {}
|
||||
message DeleteResponse {}
|
||||
|
||||
Reference in New Issue
Block a user