adminProto

package
v0.0.0-...-2bc4f80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
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.

type AdminServiceServer

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) Descriptor() ([]byte, []int)

Deprecated: Use Company.ProtoReflect.Descriptor instead.

func (*Company) GetAddress

func (x *Company) GetAddress() string

func (*Company) GetCompanyType

func (x *Company) GetCompanyType() string

func (*Company) GetId

func (x *Company) GetId() int64

func (*Company) GetIntroduction

func (x *Company) GetIntroduction() string

func (*Company) GetName

func (x *Company) GetName() string

func (*Company) GetOfficialMobile

func (x *Company) GetOfficialMobile() string

func (*Company) GetOfficialSite

func (x *Company) GetOfficialSite() string

func (*Company) GetPicture

func (x *Company) GetPicture() string

func (*Company) ProtoMessage

func (*Company) ProtoMessage()

func (*Company) ProtoReflect

func (x *Company) ProtoReflect() protoreflect.Message

func (*Company) Reset

func (x *Company) Reset()

func (*Company) String

func (x *Company) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Room.ProtoReflect.Descriptor instead.

func (*Room) GetCapacity

func (x *Room) GetCapacity() int64

func (*Room) GetFacility

func (x *Room) GetFacility() string

func (*Room) GetId

func (x *Room) GetId() int64

func (*Room) GetLocation

func (x *Room) GetLocation() string

func (*Room) GetName

func (x *Room) GetName() string

func (*Room) GetPhoto

func (x *Room) GetPhoto() []string

func (*Room) ProtoMessage

func (*Room) ProtoMessage()

func (*Room) ProtoReflect

func (x *Room) ProtoReflect() protoreflect.Message

func (*Room) Reset

func (x *Room) Reset()

func (*Room) String

func (x *Room) String() string

type UnimplementedAdminServiceServer

type UnimplementedAdminServiceServer struct {
}

UnimplementedAdminServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAdminServiceServer) AddCompany

func (UnimplementedAdminServiceServer) AddRoom

func (UnimplementedAdminServiceServer) CheckMobile

func (UnimplementedAdminServiceServer) DeleteCompany

func (UnimplementedAdminServiceServer) DeleteRoom

func (UnimplementedAdminServiceServer) DeleteUser

func (UnimplementedAdminServiceServer) GetAdmin

func (UnimplementedAdminServiceServer) GetCompany

func (UnimplementedAdminServiceServer) GetCompanyList

func (UnimplementedAdminServiceServer) GetRoom

func (UnimplementedAdminServiceServer) GetRoomList

func (UnimplementedAdminServiceServer) GetUser

func (UnimplementedAdminServiceServer) GetUserList

func (UnimplementedAdminServiceServer) LoginByPassword

func (UnimplementedAdminServiceServer) LoginBySMS

func (UnimplementedAdminServiceServer) UpdateCompany

func (UnimplementedAdminServiceServer) UpdateRoom

func (UnimplementedAdminServiceServer) UpdateUser

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatar

func (x *User) GetAvatar() string

func (*User) GetFace

func (x *User) GetFace() string

func (*User) GetId

func (x *User) GetId() int64

func (*User) GetMobile

func (x *User) GetMobile() string

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL