Documentation ¶
Index ¶
- Variables
- func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
- type AddCompanyRequest
- func (*AddCompanyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddCompanyRequest) GetAddress() string
- func (x *AddCompanyRequest) GetCompanyType() string
- func (x *AddCompanyRequest) GetIntroduction() string
- func (x *AddCompanyRequest) GetName() string
- func (x *AddCompanyRequest) GetOfficialMobile() string
- func (x *AddCompanyRequest) GetOfficialSite() string
- func (x *AddCompanyRequest) GetPicture() string
- func (*AddCompanyRequest) ProtoMessage()
- func (x *AddCompanyRequest) ProtoReflect() protoreflect.Message
- func (x *AddCompanyRequest) Reset()
- func (x *AddCompanyRequest) String() string
- type AddRoomRequest
- func (*AddRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRoomRequest) GetCapacity() int64
- func (x *AddRoomRequest) GetCompany() int64
- func (x *AddRoomRequest) GetFacility() string
- func (x *AddRoomRequest) GetLocation() string
- func (x *AddRoomRequest) GetName() string
- func (x *AddRoomRequest) GetPhoto() []string
- func (*AddRoomRequest) ProtoMessage()
- func (x *AddRoomRequest) ProtoReflect() protoreflect.Message
- func (x *AddRoomRequest) Reset()
- func (x *AddRoomRequest) String() string
- type AdminServiceClient
- type AdminServiceServer
- type CheckMobileRequest
- func (*CheckMobileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckMobileRequest) GetMobile() string
- func (*CheckMobileRequest) ProtoMessage()
- func (x *CheckMobileRequest) ProtoReflect() protoreflect.Message
- func (x *CheckMobileRequest) Reset()
- func (x *CheckMobileRequest) String() string
- type CheckMobileResponse
- func (*CheckMobileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckMobileResponse) GetExist() bool
- func (*CheckMobileResponse) ProtoMessage()
- func (x *CheckMobileResponse) ProtoReflect() protoreflect.Message
- func (x *CheckMobileResponse) Reset()
- func (x *CheckMobileResponse) String() string
- type Company
- func (*Company) Descriptor() ([]byte, []int)deprecated
- func (x *Company) GetAddress() string
- func (x *Company) GetCompanyType() string
- func (x *Company) GetId() int64
- func (x *Company) GetIntroduction() string
- func (x *Company) GetName() string
- func (x *Company) GetOfficialMobile() string
- func (x *Company) GetOfficialSite() string
- func (x *Company) GetPicture() string
- func (*Company) ProtoMessage()
- func (x *Company) ProtoReflect() protoreflect.Message
- func (x *Company) Reset()
- func (x *Company) String() string
- type DeleteCompanyRequest
- func (*DeleteCompanyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCompanyRequest) GetId() int64
- func (*DeleteCompanyRequest) ProtoMessage()
- func (x *DeleteCompanyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCompanyRequest) Reset()
- func (x *DeleteCompanyRequest) String() string
- type DeleteRoomRequest
- type DeleteUserRequest
- type GetAdminRequest
- type GetAdminResponse
- func (*GetAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAdminResponse) GetAvatar() string
- func (x *GetAdminResponse) GetCompany() int64
- func (x *GetAdminResponse) GetId() int64
- func (x *GetAdminResponse) GetMobile() string
- func (x *GetAdminResponse) GetUsername() string
- func (*GetAdminResponse) ProtoMessage()
- func (x *GetAdminResponse) ProtoReflect() protoreflect.Message
- func (x *GetAdminResponse) Reset()
- func (x *GetAdminResponse) String() string
- type GetCompanyListRequest
- func (*GetCompanyListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompanyListRequest) GetPage() int64
- func (x *GetCompanyListRequest) GetPageSize() int64
- func (*GetCompanyListRequest) ProtoMessage()
- func (x *GetCompanyListRequest) ProtoReflect() protoreflect.Message
- func (x *GetCompanyListRequest) Reset()
- func (x *GetCompanyListRequest) String() string
- type GetCompanyListResponse
- func (*GetCompanyListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompanyListResponse) GetCompanyList() []*Company
- func (x *GetCompanyListResponse) GetPages() int64
- func (x *GetCompanyListResponse) GetTotalCount() int64
- func (*GetCompanyListResponse) ProtoMessage()
- func (x *GetCompanyListResponse) ProtoReflect() protoreflect.Message
- func (x *GetCompanyListResponse) Reset()
- func (x *GetCompanyListResponse) String() string
- type GetCompanyRequest
- type GetCompanyResponse
- func (*GetCompanyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompanyResponse) GetCompany() *Company
- func (*GetCompanyResponse) ProtoMessage()
- func (x *GetCompanyResponse) ProtoReflect() protoreflect.Message
- func (x *GetCompanyResponse) Reset()
- func (x *GetCompanyResponse) String() string
- 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 GetUserListRequest
- func (*GetUserListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserListRequest) GetCompany() int64
- func (x *GetUserListRequest) GetPage() int64
- func (x *GetUserListRequest) GetPageSize() int64
- func (*GetUserListRequest) ProtoMessage()
- func (x *GetUserListRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserListRequest) Reset()
- func (x *GetUserListRequest) String() string
- type GetUserListResponse
- func (*GetUserListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserListResponse) GetPages() int64
- func (x *GetUserListResponse) GetTotalCount() int64
- func (x *GetUserListResponse) GetUserList() []*User
- func (*GetUserListResponse) ProtoMessage()
- func (x *GetUserListResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserListResponse) Reset()
- func (x *GetUserListResponse) String() string
- type GetUserRequest
- type GetUserResponse
- type LoginByPasswordRequest
- func (*LoginByPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginByPasswordRequest) GetMobile() string
- func (x *LoginByPasswordRequest) GetPassword() string
- func (*LoginByPasswordRequest) ProtoMessage()
- func (x *LoginByPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *LoginByPasswordRequest) Reset()
- func (x *LoginByPasswordRequest) String() string
- type LoginBySMSRequest
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetCompany() int64
- func (x *LoginResponse) GetId() int64
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type Room
- func (*Room) Descriptor() ([]byte, []int)deprecated
- 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 UnimplementedAdminServiceServer
- func (UnimplementedAdminServiceServer) AddCompany(context.Context, *AddCompanyRequest) (*emptypb.Empty, error)
- func (UnimplementedAdminServiceServer) AddRoom(context.Context, *AddRoomRequest) (*emptypb.Empty, error)
- func (UnimplementedAdminServiceServer) CheckMobile(context.Context, *CheckMobileRequest) (*CheckMobileResponse, error)
- func (UnimplementedAdminServiceServer) DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error)
- func (UnimplementedAdminServiceServer) DeleteRoom(context.Context, *DeleteRoomRequest) (*emptypb.Empty, error)
- func (UnimplementedAdminServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
- func (UnimplementedAdminServiceServer) GetAdmin(context.Context, *GetAdminRequest) (*GetAdminResponse, error)
- func (UnimplementedAdminServiceServer) GetCompany(context.Context, *GetCompanyRequest) (*GetCompanyResponse, error)
- func (UnimplementedAdminServiceServer) GetCompanyList(context.Context, *GetCompanyListRequest) (*GetCompanyListResponse, error)
- func (UnimplementedAdminServiceServer) GetRoom(context.Context, *GetRoomRequest) (*GetRoomResponse, error)
- func (UnimplementedAdminServiceServer) GetRoomList(context.Context, *GetRoomListRequest) (*GetRoomListResponse, error)
- func (UnimplementedAdminServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedAdminServiceServer) GetUserList(context.Context, *GetUserListRequest) (*GetUserListResponse, error)
- func (UnimplementedAdminServiceServer) LoginByPassword(context.Context, *LoginByPasswordRequest) (*LoginResponse, error)
- func (UnimplementedAdminServiceServer) LoginBySMS(context.Context, *LoginBySMSRequest) (*LoginResponse, error)
- func (UnimplementedAdminServiceServer) UpdateCompany(context.Context, *UpdateCompanyRequest) (*emptypb.Empty, error)
- func (UnimplementedAdminServiceServer) UpdateRoom(context.Context, *UpdateRoomRequest) (*emptypb.Empty, error)
- func (UnimplementedAdminServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
- type UnsafeAdminServiceServer
- type UpdateCompanyRequest
- func (*UpdateCompanyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCompanyRequest) GetCompany() *Company
- func (*UpdateCompanyRequest) ProtoMessage()
- func (x *UpdateCompanyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCompanyRequest) Reset()
- func (x *UpdateCompanyRequest) String() string
- type UpdateRoomRequest
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetAvatar() string
- func (x *UpdateUserRequest) GetFace() string
- func (x *UpdateUserRequest) GetId() int64
- func (x *UpdateUserRequest) GetUsername() string
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatar() string
- func (x *User) GetFace() string
- func (x *User) GetId() int64
- func (x *User) GetMobile() string
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
var AdminService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "adminProto.AdminService", HandlerType: (*AdminServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CheckMobile", Handler: _AdminService_CheckMobile_Handler, }, { MethodName: "LoginByPassword", Handler: _AdminService_LoginByPassword_Handler, }, { MethodName: "LoginBySMS", Handler: _AdminService_LoginBySMS_Handler, }, { MethodName: "GetAdmin", Handler: _AdminService_GetAdmin_Handler, }, { MethodName: "AddCompany", Handler: _AdminService_AddCompany_Handler, }, { MethodName: "UpdateCompany", Handler: _AdminService_UpdateCompany_Handler, }, { MethodName: "DeleteCompany", Handler: _AdminService_DeleteCompany_Handler, }, { MethodName: "GetCompany", Handler: _AdminService_GetCompany_Handler, }, { MethodName: "GetCompanyList", Handler: _AdminService_GetCompanyList_Handler, }, { MethodName: "AddRoom", Handler: _AdminService_AddRoom_Handler, }, { MethodName: "UpdateRoom", Handler: _AdminService_UpdateRoom_Handler, }, { MethodName: "DeleteRoom", Handler: _AdminService_DeleteRoom_Handler, }, { MethodName: "GetRoom", Handler: _AdminService_GetRoom_Handler, }, { MethodName: "GetRoomList", Handler: _AdminService_GetRoomList_Handler, }, { MethodName: "GetUser", Handler: _AdminService_GetUser_Handler, }, { MethodName: "GetUserList", Handler: _AdminService_GetUserList_Handler, }, { MethodName: "UpdateUser", Handler: _AdminService_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _AdminService_DeleteUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "admin.proto", }
AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_admin_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdminServiceServer ¶
func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
Types ¶
type AddCompanyRequest ¶
type AddCompanyRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` OfficialMobile string `protobuf:"bytes,3,opt,name=officialMobile,proto3" json:"officialMobile,omitempty"` OfficialSite string `protobuf:"bytes,4,opt,name=officialSite,proto3" json:"officialSite,omitempty"` CompanyType string `protobuf:"bytes,5,opt,name=companyType,proto3" json:"companyType,omitempty"` Introduction string `protobuf:"bytes,6,opt,name=Introduction,proto3" json:"Introduction,omitempty"` Picture string `protobuf:"bytes,7,opt,name=Picture,proto3" json:"Picture,omitempty"` // contains filtered or unexported fields }
func (*AddCompanyRequest) Descriptor
deprecated
func (*AddCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddCompanyRequest.ProtoReflect.Descriptor instead.
func (*AddCompanyRequest) GetAddress ¶
func (x *AddCompanyRequest) GetAddress() string
func (*AddCompanyRequest) GetCompanyType ¶
func (x *AddCompanyRequest) GetCompanyType() string
func (*AddCompanyRequest) GetIntroduction ¶
func (x *AddCompanyRequest) GetIntroduction() string
func (*AddCompanyRequest) GetName ¶
func (x *AddCompanyRequest) GetName() string
func (*AddCompanyRequest) GetOfficialMobile ¶
func (x *AddCompanyRequest) GetOfficialMobile() string
func (*AddCompanyRequest) GetOfficialSite ¶
func (x *AddCompanyRequest) GetOfficialSite() string
func (*AddCompanyRequest) GetPicture ¶
func (x *AddCompanyRequest) GetPicture() string
func (*AddCompanyRequest) ProtoMessage ¶
func (*AddCompanyRequest) ProtoMessage()
func (*AddCompanyRequest) ProtoReflect ¶
func (x *AddCompanyRequest) ProtoReflect() protoreflect.Message
func (*AddCompanyRequest) Reset ¶
func (x *AddCompanyRequest) Reset()
func (*AddCompanyRequest) String ¶
func (x *AddCompanyRequest) String() string
type AddRoomRequest ¶
type AddRoomRequest struct { Company int64 `protobuf:"varint,1,opt,name=company,proto3" json:"company,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"` // contains filtered or unexported fields }
func (*AddRoomRequest) Descriptor
deprecated
func (*AddRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRoomRequest.ProtoReflect.Descriptor instead.
func (*AddRoomRequest) GetCapacity ¶
func (x *AddRoomRequest) GetCapacity() int64
func (*AddRoomRequest) GetCompany ¶
func (x *AddRoomRequest) GetCompany() int64
func (*AddRoomRequest) GetFacility ¶
func (x *AddRoomRequest) GetFacility() string
func (*AddRoomRequest) GetLocation ¶
func (x *AddRoomRequest) GetLocation() string
func (*AddRoomRequest) GetName ¶
func (x *AddRoomRequest) GetName() string
func (*AddRoomRequest) GetPhoto ¶
func (x *AddRoomRequest) GetPhoto() []string
func (*AddRoomRequest) ProtoMessage ¶
func (*AddRoomRequest) ProtoMessage()
func (*AddRoomRequest) ProtoReflect ¶
func (x *AddRoomRequest) ProtoReflect() protoreflect.Message
func (*AddRoomRequest) Reset ¶
func (x *AddRoomRequest) Reset()
func (*AddRoomRequest) String ¶
func (x *AddRoomRequest) String() string
type AdminServiceClient ¶
type AdminServiceClient interface { CheckMobile(ctx context.Context, in *CheckMobileRequest, opts ...grpc.CallOption) (*CheckMobileResponse, error) LoginByPassword(ctx context.Context, in *LoginByPasswordRequest, opts ...grpc.CallOption) (*LoginResponse, error) LoginBySMS(ctx context.Context, in *LoginBySMSRequest, opts ...grpc.CallOption) (*LoginResponse, error) GetAdmin(ctx context.Context, in *GetAdminRequest, opts ...grpc.CallOption) (*GetAdminResponse, error) AddCompany(ctx context.Context, in *AddCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateCompany(ctx context.Context, in *UpdateCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetCompany(ctx context.Context, in *GetCompanyRequest, opts ...grpc.CallOption) (*GetCompanyResponse, error) GetCompanyList(ctx context.Context, in *GetCompanyListRequest, opts ...grpc.CallOption) (*GetCompanyListResponse, error) AddRoom(ctx context.Context, in *AddRoomRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateRoom(ctx context.Context, in *UpdateRoomRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteRoom(ctx context.Context, in *DeleteRoomRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetRoom(ctx context.Context, in *GetRoomRequest, opts ...grpc.CallOption) (*GetRoomResponse, error) GetRoomList(ctx context.Context, in *GetRoomListRequest, opts ...grpc.CallOption) (*GetRoomListResponse, error) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) GetUserList(ctx context.Context, in *GetUserListRequest, opts ...grpc.CallOption) (*GetUserListResponse, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AdminServiceClient is the client API for AdminService 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 NewAdminServiceClient ¶
func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient
type AdminServiceServer ¶
type AdminServiceServer interface { CheckMobile(context.Context, *CheckMobileRequest) (*CheckMobileResponse, error) LoginByPassword(context.Context, *LoginByPasswordRequest) (*LoginResponse, error) LoginBySMS(context.Context, *LoginBySMSRequest) (*LoginResponse, error) GetAdmin(context.Context, *GetAdminRequest) (*GetAdminResponse, error) AddCompany(context.Context, *AddCompanyRequest) (*emptypb.Empty, error) UpdateCompany(context.Context, *UpdateCompanyRequest) (*emptypb.Empty, error) DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error) GetCompany(context.Context, *GetCompanyRequest) (*GetCompanyResponse, error) GetCompanyList(context.Context, *GetCompanyListRequest) (*GetCompanyListResponse, error) AddRoom(context.Context, *AddRoomRequest) (*emptypb.Empty, error) UpdateRoom(context.Context, *UpdateRoomRequest) (*emptypb.Empty, error) DeleteRoom(context.Context, *DeleteRoomRequest) (*emptypb.Empty, error) GetRoom(context.Context, *GetRoomRequest) (*GetRoomResponse, error) GetRoomList(context.Context, *GetRoomListRequest) (*GetRoomListResponse, error) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) GetUserList(context.Context, *GetUserListRequest) (*GetUserListResponse, error) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
AdminServiceServer is the server API for AdminService service. All implementations must embed UnimplementedAdminServiceServer for forward compatibility
type CheckMobileRequest ¶
type CheckMobileRequest struct { Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"` // contains filtered or unexported fields }
func (*CheckMobileRequest) Descriptor
deprecated
func (*CheckMobileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckMobileRequest.ProtoReflect.Descriptor instead.
func (*CheckMobileRequest) GetMobile ¶
func (x *CheckMobileRequest) GetMobile() string
func (*CheckMobileRequest) ProtoMessage ¶
func (*CheckMobileRequest) ProtoMessage()
func (*CheckMobileRequest) ProtoReflect ¶
func (x *CheckMobileRequest) ProtoReflect() protoreflect.Message
func (*CheckMobileRequest) Reset ¶
func (x *CheckMobileRequest) Reset()
func (*CheckMobileRequest) String ¶
func (x *CheckMobileRequest) String() string
type CheckMobileResponse ¶
type CheckMobileResponse struct { Exist bool `protobuf:"varint,1,opt,name=exist,proto3" json:"exist,omitempty"` // contains filtered or unexported fields }
func (*CheckMobileResponse) Descriptor
deprecated
func (*CheckMobileResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckMobileResponse.ProtoReflect.Descriptor instead.
func (*CheckMobileResponse) GetExist ¶
func (x *CheckMobileResponse) GetExist() bool
func (*CheckMobileResponse) ProtoMessage ¶
func (*CheckMobileResponse) ProtoMessage()
func (*CheckMobileResponse) ProtoReflect ¶
func (x *CheckMobileResponse) ProtoReflect() protoreflect.Message
func (*CheckMobileResponse) Reset ¶
func (x *CheckMobileResponse) Reset()
func (*CheckMobileResponse) String ¶
func (x *CheckMobileResponse) String() string
type Company ¶
type Company 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"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` OfficialMobile string `protobuf:"bytes,4,opt,name=officialMobile,proto3" json:"officialMobile,omitempty"` OfficialSite string `protobuf:"bytes,5,opt,name=officialSite,proto3" json:"officialSite,omitempty"` CompanyType string `protobuf:"bytes,6,opt,name=companyType,proto3" json:"companyType,omitempty"` Introduction string `protobuf:"bytes,7,opt,name=Introduction,proto3" json:"Introduction,omitempty"` Picture string `protobuf:"bytes,8,opt,name=Picture,proto3" json:"Picture,omitempty"` // contains filtered or unexported fields }
func (*Company) Descriptor
deprecated
func (*Company) GetAddress ¶
func (*Company) GetCompanyType ¶
func (*Company) GetIntroduction ¶
func (*Company) GetOfficialMobile ¶
func (*Company) GetOfficialSite ¶
func (*Company) GetPicture ¶
func (*Company) ProtoMessage ¶
func (*Company) ProtoMessage()
func (*Company) ProtoReflect ¶
func (x *Company) ProtoReflect() protoreflect.Message
type DeleteCompanyRequest ¶
type DeleteCompanyRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCompanyRequest) Descriptor
deprecated
func (*DeleteCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCompanyRequest.ProtoReflect.Descriptor instead.
func (*DeleteCompanyRequest) GetId ¶
func (x *DeleteCompanyRequest) GetId() int64
func (*DeleteCompanyRequest) ProtoMessage ¶
func (*DeleteCompanyRequest) ProtoMessage()
func (*DeleteCompanyRequest) ProtoReflect ¶
func (x *DeleteCompanyRequest) ProtoReflect() protoreflect.Message
func (*DeleteCompanyRequest) Reset ¶
func (x *DeleteCompanyRequest) Reset()
func (*DeleteCompanyRequest) String ¶
func (x *DeleteCompanyRequest) String() string
type DeleteRoomRequest ¶
type DeleteRoomRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRoomRequest) Descriptor
deprecated
func (*DeleteRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoomRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoomRequest) GetId ¶
func (x *DeleteRoomRequest) GetId() int64
func (*DeleteRoomRequest) ProtoMessage ¶
func (*DeleteRoomRequest) ProtoMessage()
func (*DeleteRoomRequest) ProtoReflect ¶
func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoomRequest) Reset ¶
func (x *DeleteRoomRequest) Reset()
func (*DeleteRoomRequest) String ¶
func (x *DeleteRoomRequest) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetId ¶
func (x *DeleteUserRequest) GetId() int64
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type GetAdminRequest ¶
type GetAdminRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAdminRequest) Descriptor
deprecated
func (*GetAdminRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAdminRequest.ProtoReflect.Descriptor instead.
func (*GetAdminRequest) GetId ¶
func (x *GetAdminRequest) GetId() int64
func (*GetAdminRequest) ProtoMessage ¶
func (*GetAdminRequest) ProtoMessage()
func (*GetAdminRequest) ProtoReflect ¶
func (x *GetAdminRequest) ProtoReflect() protoreflect.Message
func (*GetAdminRequest) Reset ¶
func (x *GetAdminRequest) Reset()
func (*GetAdminRequest) String ¶
func (x *GetAdminRequest) String() string
type GetAdminResponse ¶
type GetAdminResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Mobile string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"` Company int64 `protobuf:"varint,4,opt,name=company,proto3" json:"company,omitempty"` Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"` // contains filtered or unexported fields }
func (*GetAdminResponse) Descriptor
deprecated
func (*GetAdminResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAdminResponse.ProtoReflect.Descriptor instead.
func (*GetAdminResponse) GetAvatar ¶
func (x *GetAdminResponse) GetAvatar() string
func (*GetAdminResponse) GetCompany ¶
func (x *GetAdminResponse) GetCompany() int64
func (*GetAdminResponse) GetId ¶
func (x *GetAdminResponse) GetId() int64
func (*GetAdminResponse) GetMobile ¶
func (x *GetAdminResponse) GetMobile() string
func (*GetAdminResponse) GetUsername ¶
func (x *GetAdminResponse) GetUsername() string
func (*GetAdminResponse) ProtoMessage ¶
func (*GetAdminResponse) ProtoMessage()
func (*GetAdminResponse) ProtoReflect ¶
func (x *GetAdminResponse) ProtoReflect() protoreflect.Message
func (*GetAdminResponse) Reset ¶
func (x *GetAdminResponse) Reset()
func (*GetAdminResponse) String ¶
func (x *GetAdminResponse) String() string
type GetCompanyListRequest ¶
type GetCompanyListRequest 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"` // contains filtered or unexported fields }
func (*GetCompanyListRequest) Descriptor
deprecated
func (*GetCompanyListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCompanyListRequest.ProtoReflect.Descriptor instead.
func (*GetCompanyListRequest) GetPage ¶
func (x *GetCompanyListRequest) GetPage() int64
func (*GetCompanyListRequest) GetPageSize ¶
func (x *GetCompanyListRequest) GetPageSize() int64
func (*GetCompanyListRequest) ProtoMessage ¶
func (*GetCompanyListRequest) ProtoMessage()
func (*GetCompanyListRequest) ProtoReflect ¶
func (x *GetCompanyListRequest) ProtoReflect() protoreflect.Message
func (*GetCompanyListRequest) Reset ¶
func (x *GetCompanyListRequest) Reset()
func (*GetCompanyListRequest) String ¶
func (x *GetCompanyListRequest) String() string
type GetCompanyListResponse ¶
type GetCompanyListResponse struct { CompanyList []*Company `protobuf:"bytes,1,rep,name=companyList,proto3" json:"companyList,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 (*GetCompanyListResponse) Descriptor
deprecated
func (*GetCompanyListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCompanyListResponse.ProtoReflect.Descriptor instead.
func (*GetCompanyListResponse) GetCompanyList ¶
func (x *GetCompanyListResponse) GetCompanyList() []*Company
func (*GetCompanyListResponse) GetPages ¶
func (x *GetCompanyListResponse) GetPages() int64
func (*GetCompanyListResponse) GetTotalCount ¶
func (x *GetCompanyListResponse) GetTotalCount() int64
func (*GetCompanyListResponse) ProtoMessage ¶
func (*GetCompanyListResponse) ProtoMessage()
func (*GetCompanyListResponse) ProtoReflect ¶
func (x *GetCompanyListResponse) ProtoReflect() protoreflect.Message
func (*GetCompanyListResponse) Reset ¶
func (x *GetCompanyListResponse) Reset()
func (*GetCompanyListResponse) String ¶
func (x *GetCompanyListResponse) String() string
type GetCompanyRequest ¶
type GetCompanyRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetCompanyRequest) Descriptor
deprecated
func (*GetCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCompanyRequest.ProtoReflect.Descriptor instead.
func (*GetCompanyRequest) GetId ¶
func (x *GetCompanyRequest) GetId() int64
func (*GetCompanyRequest) ProtoMessage ¶
func (*GetCompanyRequest) ProtoMessage()
func (*GetCompanyRequest) ProtoReflect ¶
func (x *GetCompanyRequest) ProtoReflect() protoreflect.Message
func (*GetCompanyRequest) Reset ¶
func (x *GetCompanyRequest) Reset()
func (*GetCompanyRequest) String ¶
func (x *GetCompanyRequest) String() string
type GetCompanyResponse ¶
type GetCompanyResponse struct { Company *Company `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"` // contains filtered or unexported fields }
func (*GetCompanyResponse) Descriptor
deprecated
func (*GetCompanyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCompanyResponse.ProtoReflect.Descriptor instead.
func (*GetCompanyResponse) GetCompany ¶
func (x *GetCompanyResponse) GetCompany() *Company
func (*GetCompanyResponse) ProtoMessage ¶
func (*GetCompanyResponse) ProtoMessage()
func (*GetCompanyResponse) ProtoReflect ¶
func (x *GetCompanyResponse) ProtoReflect() protoreflect.Message
func (*GetCompanyResponse) Reset ¶
func (x *GetCompanyResponse) Reset()
func (*GetCompanyResponse) String ¶
func (x *GetCompanyResponse) 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 GetUserListRequest ¶
type GetUserListRequest 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 (*GetUserListRequest) Descriptor
deprecated
func (*GetUserListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserListRequest.ProtoReflect.Descriptor instead.
func (*GetUserListRequest) GetCompany ¶
func (x *GetUserListRequest) GetCompany() int64
func (*GetUserListRequest) GetPage ¶
func (x *GetUserListRequest) GetPage() int64
func (*GetUserListRequest) GetPageSize ¶
func (x *GetUserListRequest) GetPageSize() int64
func (*GetUserListRequest) ProtoMessage ¶
func (*GetUserListRequest) ProtoMessage()
func (*GetUserListRequest) ProtoReflect ¶
func (x *GetUserListRequest) ProtoReflect() protoreflect.Message
func (*GetUserListRequest) Reset ¶
func (x *GetUserListRequest) Reset()
func (*GetUserListRequest) String ¶
func (x *GetUserListRequest) String() string
type GetUserListResponse ¶
type GetUserListResponse struct { UserList []*User `protobuf:"bytes,1,rep,name=userList,proto3" json:"userList,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 (*GetUserListResponse) Descriptor
deprecated
func (*GetUserListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserListResponse.ProtoReflect.Descriptor instead.
func (*GetUserListResponse) GetPages ¶
func (x *GetUserListResponse) GetPages() int64
func (*GetUserListResponse) GetTotalCount ¶
func (x *GetUserListResponse) GetTotalCount() int64
func (*GetUserListResponse) GetUserList ¶
func (x *GetUserListResponse) GetUserList() []*User
func (*GetUserListResponse) ProtoMessage ¶
func (*GetUserListResponse) ProtoMessage()
func (*GetUserListResponse) ProtoReflect ¶
func (x *GetUserListResponse) ProtoReflect() protoreflect.Message
func (*GetUserListResponse) Reset ¶
func (x *GetUserListResponse) Reset()
func (*GetUserListResponse) String ¶
func (x *GetUserListResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() int64
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type LoginByPasswordRequest ¶
type LoginByPasswordRequest struct { Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginByPasswordRequest) Descriptor
deprecated
func (*LoginByPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginByPasswordRequest.ProtoReflect.Descriptor instead.
func (*LoginByPasswordRequest) GetMobile ¶
func (x *LoginByPasswordRequest) GetMobile() string
func (*LoginByPasswordRequest) GetPassword ¶
func (x *LoginByPasswordRequest) GetPassword() string
func (*LoginByPasswordRequest) ProtoMessage ¶
func (*LoginByPasswordRequest) ProtoMessage()
func (*LoginByPasswordRequest) ProtoReflect ¶
func (x *LoginByPasswordRequest) ProtoReflect() protoreflect.Message
func (*LoginByPasswordRequest) Reset ¶
func (x *LoginByPasswordRequest) Reset()
func (*LoginByPasswordRequest) String ¶
func (x *LoginByPasswordRequest) String() string
type LoginBySMSRequest ¶
type LoginBySMSRequest struct { Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"` // contains filtered or unexported fields }
func (*LoginBySMSRequest) Descriptor
deprecated
func (*LoginBySMSRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginBySMSRequest.ProtoReflect.Descriptor instead.
func (*LoginBySMSRequest) GetMobile ¶
func (x *LoginBySMSRequest) GetMobile() string
func (*LoginBySMSRequest) ProtoMessage ¶
func (*LoginBySMSRequest) ProtoMessage()
func (*LoginBySMSRequest) ProtoReflect ¶
func (x *LoginBySMSRequest) ProtoReflect() protoreflect.Message
func (*LoginBySMSRequest) Reset ¶
func (x *LoginBySMSRequest) Reset()
func (*LoginBySMSRequest) String ¶
func (x *LoginBySMSRequest) String() string
type LoginResponse ¶
type LoginResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Company int64 `protobuf:"varint,2,opt,name=company,proto3" json:"company,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetCompany ¶
func (x *LoginResponse) GetCompany() int64
func (*LoginResponse) GetId ¶
func (x *LoginResponse) GetId() int64
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
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"` // contains filtered or unexported fields }
func (*Room) Descriptor
deprecated
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 UnimplementedAdminServiceServer ¶
type UnimplementedAdminServiceServer struct { }
UnimplementedAdminServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAdminServiceServer) AddCompany ¶
func (UnimplementedAdminServiceServer) AddCompany(context.Context, *AddCompanyRequest) (*emptypb.Empty, error)
func (UnimplementedAdminServiceServer) AddRoom ¶
func (UnimplementedAdminServiceServer) AddRoom(context.Context, *AddRoomRequest) (*emptypb.Empty, error)
func (UnimplementedAdminServiceServer) CheckMobile ¶
func (UnimplementedAdminServiceServer) CheckMobile(context.Context, *CheckMobileRequest) (*CheckMobileResponse, error)
func (UnimplementedAdminServiceServer) DeleteCompany ¶
func (UnimplementedAdminServiceServer) DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error)
func (UnimplementedAdminServiceServer) DeleteRoom ¶
func (UnimplementedAdminServiceServer) DeleteRoom(context.Context, *DeleteRoomRequest) (*emptypb.Empty, error)
func (UnimplementedAdminServiceServer) DeleteUser ¶
func (UnimplementedAdminServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
func (UnimplementedAdminServiceServer) GetAdmin ¶
func (UnimplementedAdminServiceServer) GetAdmin(context.Context, *GetAdminRequest) (*GetAdminResponse, error)
func (UnimplementedAdminServiceServer) GetCompany ¶
func (UnimplementedAdminServiceServer) GetCompany(context.Context, *GetCompanyRequest) (*GetCompanyResponse, error)
func (UnimplementedAdminServiceServer) GetCompanyList ¶
func (UnimplementedAdminServiceServer) GetCompanyList(context.Context, *GetCompanyListRequest) (*GetCompanyListResponse, error)
func (UnimplementedAdminServiceServer) GetRoom ¶
func (UnimplementedAdminServiceServer) GetRoom(context.Context, *GetRoomRequest) (*GetRoomResponse, error)
func (UnimplementedAdminServiceServer) GetRoomList ¶
func (UnimplementedAdminServiceServer) GetRoomList(context.Context, *GetRoomListRequest) (*GetRoomListResponse, error)
func (UnimplementedAdminServiceServer) GetUser ¶
func (UnimplementedAdminServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedAdminServiceServer) GetUserList ¶
func (UnimplementedAdminServiceServer) GetUserList(context.Context, *GetUserListRequest) (*GetUserListResponse, error)
func (UnimplementedAdminServiceServer) LoginByPassword ¶
func (UnimplementedAdminServiceServer) LoginByPassword(context.Context, *LoginByPasswordRequest) (*LoginResponse, error)
func (UnimplementedAdminServiceServer) LoginBySMS ¶
func (UnimplementedAdminServiceServer) LoginBySMS(context.Context, *LoginBySMSRequest) (*LoginResponse, error)
func (UnimplementedAdminServiceServer) UpdateCompany ¶
func (UnimplementedAdminServiceServer) UpdateCompany(context.Context, *UpdateCompanyRequest) (*emptypb.Empty, error)
func (UnimplementedAdminServiceServer) UpdateRoom ¶
func (UnimplementedAdminServiceServer) UpdateRoom(context.Context, *UpdateRoomRequest) (*emptypb.Empty, error)
func (UnimplementedAdminServiceServer) UpdateUser ¶
func (UnimplementedAdminServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
type UnsafeAdminServiceServer ¶
type UnsafeAdminServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServiceServer will result in compilation errors.
type UpdateCompanyRequest ¶
type UpdateCompanyRequest struct { Company *Company `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"` // contains filtered or unexported fields }
func (*UpdateCompanyRequest) Descriptor
deprecated
func (*UpdateCompanyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCompanyRequest.ProtoReflect.Descriptor instead.
func (*UpdateCompanyRequest) GetCompany ¶
func (x *UpdateCompanyRequest) GetCompany() *Company
func (*UpdateCompanyRequest) ProtoMessage ¶
func (*UpdateCompanyRequest) ProtoMessage()
func (*UpdateCompanyRequest) ProtoReflect ¶
func (x *UpdateCompanyRequest) ProtoReflect() protoreflect.Message
func (*UpdateCompanyRequest) Reset ¶
func (x *UpdateCompanyRequest) Reset()
func (*UpdateCompanyRequest) String ¶
func (x *UpdateCompanyRequest) String() string
type UpdateRoomRequest ¶
type UpdateRoomRequest struct { Room *Room `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` // contains filtered or unexported fields }
func (*UpdateRoomRequest) Descriptor
deprecated
func (*UpdateRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoomRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoomRequest) GetRoom ¶
func (x *UpdateRoomRequest) GetRoom() *Room
func (*UpdateRoomRequest) ProtoMessage ¶
func (*UpdateRoomRequest) ProtoMessage()
func (*UpdateRoomRequest) ProtoReflect ¶
func (x *UpdateRoomRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoomRequest) Reset ¶
func (x *UpdateRoomRequest) Reset()
func (*UpdateRoomRequest) String ¶
func (x *UpdateRoomRequest) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` Face string `protobuf:"bytes,4,opt,name=face,proto3" json:"face,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetAvatar ¶
func (x *UpdateUserRequest) GetAvatar() string
func (*UpdateUserRequest) GetFace ¶
func (x *UpdateUserRequest) GetFace() string
func (*UpdateUserRequest) GetId ¶
func (x *UpdateUserRequest) GetId() int64
func (*UpdateUserRequest) GetUsername ¶
func (x *UpdateUserRequest) GetUsername() string
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Mobile string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"` Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` Face string `protobuf:"bytes,5,opt,name=face,proto3" json:"face,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message