Documentation ¶
Index ¶
- Variables
- func RegisterMeetingServiceServer(s grpc.ServiceRegistrar, srv MeetingServiceServer)
- type Book
- func (*Book) Descriptor() ([]byte, []int)deprecated
- func (x *Book) GetBookTime() int64
- func (x *Book) GetId() int64
- func (x *Book) GetPeriod() *Period
- func (x *Book) GetRoomId() int64
- func (x *Book) GetTheme() string
- func (*Book) ProtoMessage()
- func (x *Book) ProtoReflect() protoreflect.Message
- func (x *Book) Reset()
- func (x *Book) String() string
- type BookRoomRequest
- func (*BookRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BookRoomRequest) GetPeriod() *Period
- func (x *BookRoomRequest) GetRoomId() int64
- func (x *BookRoomRequest) GetTheme() string
- func (x *BookRoomRequest) GetUserId() int64
- func (*BookRoomRequest) ProtoMessage()
- func (x *BookRoomRequest) ProtoReflect() protoreflect.Message
- func (x *BookRoomRequest) Reset()
- func (x *BookRoomRequest) String() string
- type CancelBookRequest
- func (*CancelBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelBookRequest) GetBookId() int64
- func (x *CancelBookRequest) GetUserId() int64
- func (*CancelBookRequest) ProtoMessage()
- func (x *CancelBookRequest) ProtoReflect() protoreflect.Message
- func (x *CancelBookRequest) Reset()
- func (x *CancelBookRequest) String() string
- type GetBookExcelRequest
- func (*GetBookExcelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBookExcelRequest) GetUserId() int64
- func (*GetBookExcelRequest) ProtoMessage()
- func (x *GetBookExcelRequest) ProtoReflect() protoreflect.Message
- func (x *GetBookExcelRequest) Reset()
- func (x *GetBookExcelRequest) String() string
- type GetBookExcelResponse
- func (*GetBookExcelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBookExcelResponse) GetExcel() []byte
- func (x *GetBookExcelResponse) GetFileName() string
- func (x *GetBookExcelResponse) GetSize() int64
- func (*GetBookExcelResponse) ProtoMessage()
- func (x *GetBookExcelResponse) ProtoReflect() protoreflect.Message
- func (x *GetBookExcelResponse) Reset()
- func (x *GetBookExcelResponse) String() string
- type GetBookListRequest
- func (*GetBookListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBookListRequest) GetPage() int64
- func (x *GetBookListRequest) GetPageSize() int64
- func (x *GetBookListRequest) GetUserId() int64
- func (*GetBookListRequest) ProtoMessage()
- func (x *GetBookListRequest) ProtoReflect() protoreflect.Message
- func (x *GetBookListRequest) Reset()
- func (x *GetBookListRequest) String() string
- type GetBookListResponse
- func (*GetBookListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBookListResponse) GetBookList() []*Book
- func (x *GetBookListResponse) GetPages() int64
- func (x *GetBookListResponse) GetTotalCount() int64
- func (*GetBookListResponse) ProtoMessage()
- func (x *GetBookListResponse) ProtoReflect() protoreflect.Message
- func (x *GetBookListResponse) Reset()
- func (x *GetBookListResponse) String() string
- type GetBookRequest
- func (*GetBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBookRequest) GetBookId() int64
- func (x *GetBookRequest) GetUserId() int64
- func (*GetBookRequest) ProtoMessage()
- func (x *GetBookRequest) ProtoReflect() protoreflect.Message
- func (x *GetBookRequest) Reset()
- func (x *GetBookRequest) String() string
- type GetBookResponse
- type GetRoomListRequest
- func (*GetRoomListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoomListRequest) GetCompany() int64
- func (x *GetRoomListRequest) GetPage() int64
- func (x *GetRoomListRequest) GetPageSize() int64
- func (*GetRoomListRequest) ProtoMessage()
- func (x *GetRoomListRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoomListRequest) Reset()
- func (x *GetRoomListRequest) String() string
- type GetRoomListResponse
- func (*GetRoomListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoomListResponse) GetPages() int64
- func (x *GetRoomListResponse) GetRoomList() []*Room
- func (x *GetRoomListResponse) GetTotalCount() int64
- func (*GetRoomListResponse) ProtoMessage()
- func (x *GetRoomListResponse) ProtoReflect() protoreflect.Message
- func (x *GetRoomListResponse) Reset()
- func (x *GetRoomListResponse) String() string
- type GetRoomRequest
- type GetRoomResponse
- type MeetingServiceClient
- type MeetingServiceServer
- type Period
- type Room
- func (*Room) Descriptor() ([]byte, []int)deprecated
- func (x *Room) GetBookedTime() []*Period
- func (x *Room) GetCapacity() int64
- func (x *Room) GetFacility() string
- func (x *Room) GetId() int64
- func (x *Room) GetLocation() string
- func (x *Room) GetName() string
- func (x *Room) GetPhoto() []string
- func (*Room) ProtoMessage()
- func (x *Room) ProtoReflect() protoreflect.Message
- func (x *Room) Reset()
- func (x *Room) String() string
- type UnimplementedMeetingServiceServer
- func (UnimplementedMeetingServiceServer) BookRoom(context.Context, *BookRoomRequest) (*emptypb.Empty, error)
- func (UnimplementedMeetingServiceServer) CancelBook(context.Context, *CancelBookRequest) (*emptypb.Empty, error)
- func (UnimplementedMeetingServiceServer) GetBook(context.Context, *GetBookRequest) (*GetBookResponse, error)
- func (UnimplementedMeetingServiceServer) GetBookExcel(context.Context, *GetBookExcelRequest) (*GetBookExcelResponse, error)
- func (UnimplementedMeetingServiceServer) GetBookList(context.Context, *GetBookListRequest) (*GetBookListResponse, error)
- func (UnimplementedMeetingServiceServer) GetRoom(context.Context, *GetRoomRequest) (*GetRoomResponse, error)
- func (UnimplementedMeetingServiceServer) GetRoomList(context.Context, *GetRoomListRequest) (*GetRoomListResponse, error)
- func (UnimplementedMeetingServiceServer) UpdateBook(context.Context, *UpdateBookRequest) (*emptypb.Empty, error)
- type UnsafeMeetingServiceServer
- type UpdateBookRequest
- func (*UpdateBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBookRequest) GetBook() *Book
- func (x *UpdateBookRequest) GetUserId() int64
- func (*UpdateBookRequest) ProtoMessage()
- func (x *UpdateBookRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBookRequest) Reset()
- func (x *UpdateBookRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_meeting_proto protoreflect.FileDescriptor
var MeetingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "meetingProto.MeetingService", HandlerType: (*MeetingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetRoom", Handler: _MeetingService_GetRoom_Handler, }, { MethodName: "GetRoomList", Handler: _MeetingService_GetRoomList_Handler, }, { MethodName: "BookRoom", Handler: _MeetingService_BookRoom_Handler, }, { MethodName: "CancelBook", Handler: _MeetingService_CancelBook_Handler, }, { MethodName: "GetBookList", Handler: _MeetingService_GetBookList_Handler, }, { MethodName: "GetBook", Handler: _MeetingService_GetBook_Handler, }, { MethodName: "GetBookExcel", Handler: _MeetingService_GetBookExcel_Handler, }, { MethodName: "UpdateBook", Handler: _MeetingService_UpdateBook_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "meeting.proto", }
MeetingService_ServiceDesc is the grpc.ServiceDesc for MeetingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMeetingServiceServer ¶
func RegisterMeetingServiceServer(s grpc.ServiceRegistrar, srv MeetingServiceServer)
Types ¶
type Book ¶
type Book struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId,omitempty"` Theme string `protobuf:"bytes,3,opt,name=theme,proto3" json:"theme,omitempty"` Period *Period `protobuf:"bytes,4,opt,name=period,proto3" json:"period,omitempty"` BookTime int64 `protobuf:"varint,5,opt,name=bookTime,proto3" json:"bookTime,omitempty"` // contains filtered or unexported fields }
func (*Book) Descriptor
deprecated
func (*Book) GetBookTime ¶
func (*Book) ProtoMessage ¶
func (*Book) ProtoMessage()
func (*Book) ProtoReflect ¶
func (x *Book) ProtoReflect() protoreflect.Message
type BookRoomRequest ¶
type BookRoomRequest struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId,omitempty"` Theme string `protobuf:"bytes,3,opt,name=theme,proto3" json:"theme,omitempty"` Period *Period `protobuf:"bytes,4,opt,name=period,proto3" json:"period,omitempty"` // contains filtered or unexported fields }
func (*BookRoomRequest) Descriptor
deprecated
func (*BookRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use BookRoomRequest.ProtoReflect.Descriptor instead.
func (*BookRoomRequest) GetPeriod ¶
func (x *BookRoomRequest) GetPeriod() *Period
func (*BookRoomRequest) GetRoomId ¶
func (x *BookRoomRequest) GetRoomId() int64
func (*BookRoomRequest) GetTheme ¶
func (x *BookRoomRequest) GetTheme() string
func (*BookRoomRequest) GetUserId ¶
func (x *BookRoomRequest) GetUserId() int64
func (*BookRoomRequest) ProtoMessage ¶
func (*BookRoomRequest) ProtoMessage()
func (*BookRoomRequest) ProtoReflect ¶
func (x *BookRoomRequest) ProtoReflect() protoreflect.Message
func (*BookRoomRequest) Reset ¶
func (x *BookRoomRequest) Reset()
func (*BookRoomRequest) String ¶
func (x *BookRoomRequest) String() string
type CancelBookRequest ¶
type CancelBookRequest struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` BookId int64 `protobuf:"varint,2,opt,name=bookId,proto3" json:"bookId,omitempty"` // contains filtered or unexported fields }
func (*CancelBookRequest) Descriptor
deprecated
func (*CancelBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelBookRequest.ProtoReflect.Descriptor instead.
func (*CancelBookRequest) GetBookId ¶
func (x *CancelBookRequest) GetBookId() int64
func (*CancelBookRequest) GetUserId ¶
func (x *CancelBookRequest) GetUserId() int64
func (*CancelBookRequest) ProtoMessage ¶
func (*CancelBookRequest) ProtoMessage()
func (*CancelBookRequest) ProtoReflect ¶
func (x *CancelBookRequest) ProtoReflect() protoreflect.Message
func (*CancelBookRequest) Reset ¶
func (x *CancelBookRequest) Reset()
func (*CancelBookRequest) String ¶
func (x *CancelBookRequest) String() string
type GetBookExcelRequest ¶
type GetBookExcelRequest struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*GetBookExcelRequest) Descriptor
deprecated
func (*GetBookExcelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBookExcelRequest.ProtoReflect.Descriptor instead.
func (*GetBookExcelRequest) GetUserId ¶
func (x *GetBookExcelRequest) GetUserId() int64
func (*GetBookExcelRequest) ProtoMessage ¶
func (*GetBookExcelRequest) ProtoMessage()
func (*GetBookExcelRequest) ProtoReflect ¶
func (x *GetBookExcelRequest) ProtoReflect() protoreflect.Message
func (*GetBookExcelRequest) Reset ¶
func (x *GetBookExcelRequest) Reset()
func (*GetBookExcelRequest) String ¶
func (x *GetBookExcelRequest) String() string
type GetBookExcelResponse ¶
type GetBookExcelResponse struct { Excel []byte `protobuf:"bytes,1,opt,name=excel,proto3" json:"excel,omitempty"` FileName string `protobuf:"bytes,2,opt,name=fileName,proto3" json:"fileName,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*GetBookExcelResponse) Descriptor
deprecated
func (*GetBookExcelResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBookExcelResponse.ProtoReflect.Descriptor instead.
func (*GetBookExcelResponse) GetExcel ¶
func (x *GetBookExcelResponse) GetExcel() []byte
func (*GetBookExcelResponse) GetFileName ¶
func (x *GetBookExcelResponse) GetFileName() string
func (*GetBookExcelResponse) GetSize ¶
func (x *GetBookExcelResponse) GetSize() int64
func (*GetBookExcelResponse) ProtoMessage ¶
func (*GetBookExcelResponse) ProtoMessage()
func (*GetBookExcelResponse) ProtoReflect ¶
func (x *GetBookExcelResponse) ProtoReflect() protoreflect.Message
func (*GetBookExcelResponse) Reset ¶
func (x *GetBookExcelResponse) Reset()
func (*GetBookExcelResponse) String ¶
func (x *GetBookExcelResponse) String() string
type GetBookListRequest ¶
type GetBookListRequest struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*GetBookListRequest) Descriptor
deprecated
func (*GetBookListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBookListRequest.ProtoReflect.Descriptor instead.
func (*GetBookListRequest) GetPage ¶
func (x *GetBookListRequest) GetPage() int64
func (*GetBookListRequest) GetPageSize ¶
func (x *GetBookListRequest) GetPageSize() int64
func (*GetBookListRequest) GetUserId ¶
func (x *GetBookListRequest) GetUserId() int64
func (*GetBookListRequest) ProtoMessage ¶
func (*GetBookListRequest) ProtoMessage()
func (*GetBookListRequest) ProtoReflect ¶
func (x *GetBookListRequest) ProtoReflect() protoreflect.Message
func (*GetBookListRequest) Reset ¶
func (x *GetBookListRequest) Reset()
func (*GetBookListRequest) String ¶
func (x *GetBookListRequest) String() string
type GetBookListResponse ¶
type GetBookListResponse struct { BookList []*Book `protobuf:"bytes,1,rep,name=bookList,proto3" json:"bookList,omitempty"` Pages int64 `protobuf:"varint,2,opt,name=pages,proto3" json:"pages,omitempty"` TotalCount int64 `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"` // contains filtered or unexported fields }
func (*GetBookListResponse) Descriptor
deprecated
func (*GetBookListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBookListResponse.ProtoReflect.Descriptor instead.
func (*GetBookListResponse) GetBookList ¶
func (x *GetBookListResponse) GetBookList() []*Book
func (*GetBookListResponse) GetPages ¶
func (x *GetBookListResponse) GetPages() int64
func (*GetBookListResponse) GetTotalCount ¶
func (x *GetBookListResponse) GetTotalCount() int64
func (*GetBookListResponse) ProtoMessage ¶
func (*GetBookListResponse) ProtoMessage()
func (*GetBookListResponse) ProtoReflect ¶
func (x *GetBookListResponse) ProtoReflect() protoreflect.Message
func (*GetBookListResponse) Reset ¶
func (x *GetBookListResponse) Reset()
func (*GetBookListResponse) String ¶
func (x *GetBookListResponse) String() string
type GetBookRequest ¶
type GetBookRequest struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` BookId int64 `protobuf:"varint,2,opt,name=bookId,proto3" json:"bookId,omitempty"` // contains filtered or unexported fields }
func (*GetBookRequest) Descriptor
deprecated
func (*GetBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBookRequest.ProtoReflect.Descriptor instead.
func (*GetBookRequest) GetBookId ¶
func (x *GetBookRequest) GetBookId() int64
func (*GetBookRequest) GetUserId ¶
func (x *GetBookRequest) GetUserId() int64
func (*GetBookRequest) ProtoMessage ¶
func (*GetBookRequest) ProtoMessage()
func (*GetBookRequest) ProtoReflect ¶
func (x *GetBookRequest) ProtoReflect() protoreflect.Message
func (*GetBookRequest) Reset ¶
func (x *GetBookRequest) Reset()
func (*GetBookRequest) String ¶
func (x *GetBookRequest) String() string
type GetBookResponse ¶
type GetBookResponse struct { Book *Book `protobuf:"bytes,1,opt,name=book,proto3" json:"book,omitempty"` // contains filtered or unexported fields }
func (*GetBookResponse) Descriptor
deprecated
func (*GetBookResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBookResponse.ProtoReflect.Descriptor instead.
func (*GetBookResponse) GetBook ¶
func (x *GetBookResponse) GetBook() *Book
func (*GetBookResponse) ProtoMessage ¶
func (*GetBookResponse) ProtoMessage()
func (*GetBookResponse) ProtoReflect ¶
func (x *GetBookResponse) ProtoReflect() protoreflect.Message
func (*GetBookResponse) Reset ¶
func (x *GetBookResponse) Reset()
func (*GetBookResponse) String ¶
func (x *GetBookResponse) String() string
type GetRoomListRequest ¶
type GetRoomListRequest struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Company int64 `protobuf:"varint,3,opt,name=company,proto3" json:"company,omitempty"` // contains filtered or unexported fields }
func (*GetRoomListRequest) Descriptor
deprecated
func (*GetRoomListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomListRequest.ProtoReflect.Descriptor instead.
func (*GetRoomListRequest) GetCompany ¶
func (x *GetRoomListRequest) GetCompany() int64
func (*GetRoomListRequest) GetPage ¶
func (x *GetRoomListRequest) GetPage() int64
func (*GetRoomListRequest) GetPageSize ¶
func (x *GetRoomListRequest) GetPageSize() int64
func (*GetRoomListRequest) ProtoMessage ¶
func (*GetRoomListRequest) ProtoMessage()
func (*GetRoomListRequest) ProtoReflect ¶
func (x *GetRoomListRequest) ProtoReflect() protoreflect.Message
func (*GetRoomListRequest) Reset ¶
func (x *GetRoomListRequest) Reset()
func (*GetRoomListRequest) String ¶
func (x *GetRoomListRequest) String() string
type GetRoomListResponse ¶
type GetRoomListResponse struct { RoomList []*Room `protobuf:"bytes,1,rep,name=roomList,proto3" json:"roomList,omitempty"` Pages int64 `protobuf:"varint,2,opt,name=pages,proto3" json:"pages,omitempty"` TotalCount int64 `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"` // contains filtered or unexported fields }
func (*GetRoomListResponse) Descriptor
deprecated
func (*GetRoomListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomListResponse.ProtoReflect.Descriptor instead.
func (*GetRoomListResponse) GetPages ¶
func (x *GetRoomListResponse) GetPages() int64
func (*GetRoomListResponse) GetRoomList ¶
func (x *GetRoomListResponse) GetRoomList() []*Room
func (*GetRoomListResponse) GetTotalCount ¶
func (x *GetRoomListResponse) GetTotalCount() int64
func (*GetRoomListResponse) ProtoMessage ¶
func (*GetRoomListResponse) ProtoMessage()
func (*GetRoomListResponse) ProtoReflect ¶
func (x *GetRoomListResponse) ProtoReflect() protoreflect.Message
func (*GetRoomListResponse) Reset ¶
func (x *GetRoomListResponse) Reset()
func (*GetRoomListResponse) String ¶
func (x *GetRoomListResponse) String() string
type GetRoomRequest ¶
type GetRoomRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRoomRequest) Descriptor
deprecated
func (*GetRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomRequest.ProtoReflect.Descriptor instead.
func (*GetRoomRequest) GetId ¶
func (x *GetRoomRequest) GetId() int64
func (*GetRoomRequest) ProtoMessage ¶
func (*GetRoomRequest) ProtoMessage()
func (*GetRoomRequest) ProtoReflect ¶
func (x *GetRoomRequest) ProtoReflect() protoreflect.Message
func (*GetRoomRequest) Reset ¶
func (x *GetRoomRequest) Reset()
func (*GetRoomRequest) String ¶
func (x *GetRoomRequest) String() string
type GetRoomResponse ¶
type GetRoomResponse struct { Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // contains filtered or unexported fields }
func (*GetRoomResponse) Descriptor
deprecated
func (*GetRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomResponse.ProtoReflect.Descriptor instead.
func (*GetRoomResponse) GetRoom ¶
func (x *GetRoomResponse) GetRoom() *Room
func (*GetRoomResponse) ProtoMessage ¶
func (*GetRoomResponse) ProtoMessage()
func (*GetRoomResponse) ProtoReflect ¶
func (x *GetRoomResponse) ProtoReflect() protoreflect.Message
func (*GetRoomResponse) Reset ¶
func (x *GetRoomResponse) Reset()
func (*GetRoomResponse) String ¶
func (x *GetRoomResponse) String() string
type MeetingServiceClient ¶
type MeetingServiceClient interface { GetRoom(ctx context.Context, in *GetRoomRequest, opts ...grpc.CallOption) (*GetRoomResponse, error) GetRoomList(ctx context.Context, in *GetRoomListRequest, opts ...grpc.CallOption) (*GetRoomListResponse, error) BookRoom(ctx context.Context, in *BookRoomRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CancelBook(ctx context.Context, in *CancelBookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetBookList(ctx context.Context, in *GetBookListRequest, opts ...grpc.CallOption) (*GetBookListResponse, error) GetBook(ctx context.Context, in *GetBookRequest, opts ...grpc.CallOption) (*GetBookResponse, error) GetBookExcel(ctx context.Context, in *GetBookExcelRequest, opts ...grpc.CallOption) (*GetBookExcelResponse, error) UpdateBook(ctx context.Context, in *UpdateBookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
MeetingServiceClient is the client API for MeetingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMeetingServiceClient ¶
func NewMeetingServiceClient(cc grpc.ClientConnInterface) MeetingServiceClient
type MeetingServiceServer ¶
type MeetingServiceServer interface { GetRoom(context.Context, *GetRoomRequest) (*GetRoomResponse, error) GetRoomList(context.Context, *GetRoomListRequest) (*GetRoomListResponse, error) BookRoom(context.Context, *BookRoomRequest) (*emptypb.Empty, error) CancelBook(context.Context, *CancelBookRequest) (*emptypb.Empty, error) GetBookList(context.Context, *GetBookListRequest) (*GetBookListResponse, error) GetBook(context.Context, *GetBookRequest) (*GetBookResponse, error) GetBookExcel(context.Context, *GetBookExcelRequest) (*GetBookExcelResponse, error) UpdateBook(context.Context, *UpdateBookRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
MeetingServiceServer is the server API for MeetingService service. All implementations must embed UnimplementedMeetingServiceServer for forward compatibility
type Period ¶
type Period struct { StartTime int64 `protobuf:"varint,1,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime int64 `protobuf:"varint,2,opt,name=endTime,proto3" json:"endTime,omitempty"` // contains filtered or unexported fields }
func (*Period) Descriptor
deprecated
func (*Period) GetEndTime ¶
func (*Period) GetStartTime ¶
func (*Period) ProtoMessage ¶
func (*Period) ProtoMessage()
func (*Period) ProtoReflect ¶
func (x *Period) ProtoReflect() protoreflect.Message
type Room ¶
type Room struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Capacity int64 `protobuf:"varint,4,opt,name=capacity,proto3" json:"capacity,omitempty"` Facility string `protobuf:"bytes,5,opt,name=facility,proto3" json:"facility,omitempty"` Photo []string `protobuf:"bytes,6,rep,name=photo,proto3" json:"photo,omitempty"` BookedTime []*Period `protobuf:"bytes,7,rep,name=bookedTime,proto3" json:"bookedTime,omitempty"` // contains filtered or unexported fields }
func (*Room) Descriptor
deprecated
func (*Room) GetBookedTime ¶
func (*Room) GetCapacity ¶
func (*Room) GetFacility ¶
func (*Room) GetLocation ¶
func (*Room) ProtoMessage ¶
func (*Room) ProtoMessage()
func (*Room) ProtoReflect ¶
func (x *Room) ProtoReflect() protoreflect.Message
type UnimplementedMeetingServiceServer ¶
type UnimplementedMeetingServiceServer struct { }
UnimplementedMeetingServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMeetingServiceServer) BookRoom ¶
func (UnimplementedMeetingServiceServer) BookRoom(context.Context, *BookRoomRequest) (*emptypb.Empty, error)
func (UnimplementedMeetingServiceServer) CancelBook ¶
func (UnimplementedMeetingServiceServer) CancelBook(context.Context, *CancelBookRequest) (*emptypb.Empty, error)
func (UnimplementedMeetingServiceServer) GetBook ¶
func (UnimplementedMeetingServiceServer) GetBook(context.Context, *GetBookRequest) (*GetBookResponse, error)
func (UnimplementedMeetingServiceServer) GetBookExcel ¶
func (UnimplementedMeetingServiceServer) GetBookExcel(context.Context, *GetBookExcelRequest) (*GetBookExcelResponse, error)
func (UnimplementedMeetingServiceServer) GetBookList ¶
func (UnimplementedMeetingServiceServer) GetBookList(context.Context, *GetBookListRequest) (*GetBookListResponse, error)
func (UnimplementedMeetingServiceServer) GetRoom ¶
func (UnimplementedMeetingServiceServer) GetRoom(context.Context, *GetRoomRequest) (*GetRoomResponse, error)
func (UnimplementedMeetingServiceServer) GetRoomList ¶
func (UnimplementedMeetingServiceServer) GetRoomList(context.Context, *GetRoomListRequest) (*GetRoomListResponse, error)
func (UnimplementedMeetingServiceServer) UpdateBook ¶
func (UnimplementedMeetingServiceServer) UpdateBook(context.Context, *UpdateBookRequest) (*emptypb.Empty, error)
type UnsafeMeetingServiceServer ¶
type UnsafeMeetingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMeetingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MeetingServiceServer will result in compilation errors.
type UpdateBookRequest ¶
type UpdateBookRequest struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Book *Book `protobuf:"bytes,2,opt,name=book,proto3" json:"book,omitempty"` // contains filtered or unexported fields }
func (*UpdateBookRequest) Descriptor
deprecated
func (*UpdateBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBookRequest.ProtoReflect.Descriptor instead.
func (*UpdateBookRequest) GetBook ¶
func (x *UpdateBookRequest) GetBook() *Book
func (*UpdateBookRequest) GetUserId ¶
func (x *UpdateBookRequest) GetUserId() int64
func (*UpdateBookRequest) ProtoMessage ¶
func (*UpdateBookRequest) ProtoMessage()
func (*UpdateBookRequest) ProtoReflect ¶
func (x *UpdateBookRequest) ProtoReflect() protoreflect.Message
func (*UpdateBookRequest) Reset ¶
func (x *UpdateBookRequest) Reset()
func (*UpdateBookRequest) String ¶
func (x *UpdateBookRequest) String() string