Documentation ¶
Overview ¶
Package proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package proto is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAdhanServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAdhanServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdhanServiceClient) error
- func RegisterAdhanServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAdhanServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AdhanServiceServer) error
- func RegisterAdhanServiceServer(s grpc.ServiceRegistrar, srv AdhanServiceServer)
- func RegisterEventServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterEventServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventServiceClient) error
- func RegisterEventServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterEventServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventServiceServer) error
- func RegisterEventServiceServer(s grpc.ServiceRegistrar, srv EventServiceServer)
- func RegisterMasjidServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMasjidServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MasjidServiceClient) error
- func RegisterMasjidServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMasjidServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MasjidServiceServer) error
- func RegisterMasjidServiceServer(s grpc.ServiceRegistrar, srv MasjidServiceServer)
- func RegisterNikkahIoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterNikkahIoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NikkahIoServiceClient) error
- func RegisterNikkahIoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterNikkahIoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NikkahIoServiceServer) error
- func RegisterNikkahIoServiceServer(s grpc.ServiceRegistrar, srv NikkahIoServiceServer)
- func RegisterRevertsIoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRevertsIoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RevertsIoServiceClient) error
- func RegisterRevertsIoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRevertsIoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RevertsIoServiceServer) error
- func RegisterRevertsIoServiceServer(s grpc.ServiceRegistrar, srv RevertsIoServiceServer)
- func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
- func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type AcceptNikkahMatchInviteRequest
- func (*AcceptNikkahMatchInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcceptNikkahMatchInviteRequest) GetMatchId() string
- func (*AcceptNikkahMatchInviteRequest) ProtoMessage()
- func (x *AcceptNikkahMatchInviteRequest) ProtoReflect() protoreflect.Message
- func (x *AcceptNikkahMatchInviteRequest) Reset()
- func (x *AcceptNikkahMatchInviteRequest) String() string
- type AcceptRevertMatchInviteRequest
- func (*AcceptRevertMatchInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcceptRevertMatchInviteRequest) GetMatchId() string
- func (*AcceptRevertMatchInviteRequest) ProtoMessage()
- func (x *AcceptRevertMatchInviteRequest) ProtoReflect() protoreflect.Message
- func (x *AcceptRevertMatchInviteRequest) Reset()
- func (x *AcceptRevertMatchInviteRequest) String() string
- type AdhanFile
- func (*AdhanFile) Descriptor() ([]byte, []int)deprecated
- func (x *AdhanFile) GetCreateTime() *timestamppb.Timestamp
- func (x *AdhanFile) GetFile() []byte
- func (x *AdhanFile) GetId() string
- func (x *AdhanFile) GetMasjidId() string
- func (x *AdhanFile) GetUpdateTime() *timestamppb.Timestamp
- func (*AdhanFile) ProtoMessage()
- func (x *AdhanFile) ProtoReflect() protoreflect.Message
- func (x *AdhanFile) Reset()
- func (x *AdhanFile) String() string
- type AdhanServiceClient
- type AdhanServiceServer
- type AuthenticateUserRequest
- func (*AuthenticateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateUserRequest) GetEmail() string
- func (x *AuthenticateUserRequest) GetIdentifier() isAuthenticateUserRequest_Identifier
- func (x *AuthenticateUserRequest) GetPassword() string
- func (x *AuthenticateUserRequest) GetUsername() string
- func (*AuthenticateUserRequest) ProtoMessage()
- func (x *AuthenticateUserRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateUserRequest) Reset()
- func (x *AuthenticateUserRequest) String() string
- type AuthenticateUserRequest_Email
- type AuthenticateUserRequest_Username
- type AuthenticateUserResponse
- func (*AuthenticateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateUserResponse) GetAccessToken() string
- func (x *AuthenticateUserResponse) GetRefreshToken() string
- func (x *AuthenticateUserResponse) GetUserId() int32
- func (*AuthenticateUserResponse) ProtoMessage()
- func (x *AuthenticateUserResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticateUserResponse) Reset()
- func (x *AuthenticateUserResponse) String() string
- type CancelNikkahLikeRequest
- func (*CancelNikkahLikeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelNikkahLikeRequest) GetLikeId() string
- func (*CancelNikkahLikeRequest) ProtoMessage()
- func (x *CancelNikkahLikeRequest) ProtoReflect() protoreflect.Message
- func (x *CancelNikkahLikeRequest) Reset()
- func (x *CancelNikkahLikeRequest) String() string
- type CompleteNikkahLikeRequest
- func (*CompleteNikkahLikeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteNikkahLikeRequest) GetLikeId() string
- func (*CompleteNikkahLikeRequest) ProtoMessage()
- func (x *CompleteNikkahLikeRequest) ProtoReflect() protoreflect.Message
- func (x *CompleteNikkahLikeRequest) Reset()
- func (x *CompleteNikkahLikeRequest) String() string
- type CompleteNikkahLikeResponse
- func (*CompleteNikkahLikeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteNikkahLikeResponse) GetLike() *NikkahLike
- func (x *CompleteNikkahLikeResponse) GetMatch() *NikkahMatch
- func (*CompleteNikkahLikeResponse) ProtoMessage()
- func (x *CompleteNikkahLikeResponse) ProtoReflect() protoreflect.Message
- func (x *CompleteNikkahLikeResponse) Reset()
- func (x *CompleteNikkahLikeResponse) String() string
- type CreateAdhanFileRequest
- func (*CreateAdhanFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAdhanFileRequest) GetAdhanFile() *AdhanFile
- func (*CreateAdhanFileRequest) ProtoMessage()
- func (x *CreateAdhanFileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAdhanFileRequest) Reset()
- func (x *CreateAdhanFileRequest) String() string
- type CreateEventRequest
- func (*CreateEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEventRequest) GetEvent() *Event
- func (*CreateEventRequest) ProtoMessage()
- func (x *CreateEventRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEventRequest) Reset()
- func (x *CreateEventRequest) String() string
- type CreateMasjidRequest
- func (*CreateMasjidRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMasjidRequest) GetMasjid() *Masjid
- func (*CreateMasjidRequest) ProtoMessage()
- func (x *CreateMasjidRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMasjidRequest) Reset()
- func (x *CreateMasjidRequest) String() string
- type CreateNikkahProfileRequest
- func (*CreateNikkahProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNikkahProfileRequest) GetProfile() *NikkahProfile
- func (*CreateNikkahProfileRequest) ProtoMessage()
- func (x *CreateNikkahProfileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNikkahProfileRequest) Reset()
- func (x *CreateNikkahProfileRequest) String() string
- type CreateRevertMatchInviteRequest
- func (*CreateRevertMatchInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRevertMatchInviteRequest) GetReceiverProfileId() string
- func (*CreateRevertMatchInviteRequest) ProtoMessage()
- func (x *CreateRevertMatchInviteRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRevertMatchInviteRequest) Reset()
- func (x *CreateRevertMatchInviteRequest) String() string
- type CreateRevertProfileRequest
- func (*CreateRevertProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRevertProfileRequest) GetProfile() *RevertProfile
- func (*CreateRevertProfileRequest) ProtoMessage()
- func (x *CreateRevertProfileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRevertProfileRequest) Reset()
- func (x *CreateRevertProfileRequest) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetPassword() string
- func (x *CreateUserRequest) GetUser() *User
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type DeleteAdhanFileRequest
- func (*DeleteAdhanFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAdhanFileRequest) GetId() string
- func (*DeleteAdhanFileRequest) ProtoMessage()
- func (x *DeleteAdhanFileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAdhanFileRequest) Reset()
- func (x *DeleteAdhanFileRequest) String() string
- type DeleteAdhanFileResponse
- type DeleteEventRequest
- type DeleteEventResponse
- type DeleteMasjidRequest
- func (*DeleteMasjidRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMasjidRequest) GetId() string
- func (*DeleteMasjidRequest) ProtoMessage()
- func (x *DeleteMasjidRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMasjidRequest) Reset()
- func (x *DeleteMasjidRequest) String() string
- type DeleteMasjidResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type EndNikkahMatchRequest
- func (*EndNikkahMatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EndNikkahMatchRequest) GetMatchId() string
- func (*EndNikkahMatchRequest) ProtoMessage()
- func (x *EndNikkahMatchRequest) ProtoReflect() protoreflect.Message
- func (x *EndNikkahMatchRequest) Reset()
- func (x *EndNikkahMatchRequest) String() string
- type EndRevertMatchRequest
- func (*EndRevertMatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EndRevertMatchRequest) GetMatchId() string
- func (*EndRevertMatchRequest) ProtoMessage()
- func (x *EndRevertMatchRequest) ProtoReflect() protoreflect.Message
- func (x *EndRevertMatchRequest) Reset()
- func (x *EndRevertMatchRequest) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetCreateTime() *timestamppb.Timestamp
- func (x *Event) GetDescription() string
- func (x *Event) GetEndTime() *timestamppb.Timestamp
- func (x *Event) GetGenderRestriction() Event_GenderRestriction
- func (x *Event) GetId() string
- func (x *Event) GetIsPaid() bool
- func (x *Event) GetLivestreamLink() string
- func (x *Event) GetMaxParticipants() int32
- func (x *Event) GetName() string
- func (x *Event) GetOrganizationId() string
- func (x *Event) GetRequiresRsvp() bool
- func (x *Event) GetStartTime() *timestamppb.Timestamp
- func (x *Event) GetTypes() []Event_EventType
- func (x *Event) GetUpdateTime() *timestamppb.Timestamp
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventServiceClient
- type EventServiceServer
- type Event_EventType
- func (Event_EventType) Descriptor() protoreflect.EnumDescriptor
- func (x Event_EventType) Enum() *Event_EventType
- func (Event_EventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Event_EventType) Number() protoreflect.EnumNumber
- func (x Event_EventType) String() string
- func (Event_EventType) Type() protoreflect.EnumType
- type Event_GenderRestriction
- func (Event_GenderRestriction) Descriptor() protoreflect.EnumDescriptor
- func (x Event_GenderRestriction) Enum() *Event_GenderRestriction
- func (Event_GenderRestriction) EnumDescriptor() ([]byte, []int)deprecated
- func (x Event_GenderRestriction) Number() protoreflect.EnumNumber
- func (x Event_GenderRestriction) String() string
- func (Event_GenderRestriction) Type() protoreflect.EnumType
- type GetAdhanFileRequest
- func (*GetAdhanFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAdhanFileRequest) GetId() string
- func (*GetAdhanFileRequest) ProtoMessage()
- func (x *GetAdhanFileRequest) ProtoReflect() protoreflect.Message
- func (x *GetAdhanFileRequest) Reset()
- func (x *GetAdhanFileRequest) String() string
- type GetEventRequest
- type GetMasjidRequest
- type GetNikkahProfileRequest
- func (*GetNikkahProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNikkahProfileRequest) GetProfileId() string
- func (*GetNikkahProfileRequest) ProtoMessage()
- func (x *GetNikkahProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetNikkahProfileRequest) Reset()
- func (x *GetNikkahProfileRequest) String() string
- type GetRevertProfileRequest
- func (*GetRevertProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRevertProfileRequest) GetProfileId() string
- func (*GetRevertProfileRequest) ProtoMessage()
- func (x *GetRevertProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetRevertProfileRequest) Reset()
- func (x *GetRevertProfileRequest) String() string
- type GetSelfNikkahProfileRequest
- type GetSelfRevertProfileRequest
- type GetUserRequest
- type GetUserResponse
- type InitiateNikkahLikeRequest
- func (*InitiateNikkahLikeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitiateNikkahLikeRequest) GetLike() *NikkahLike
- func (*InitiateNikkahLikeRequest) ProtoMessage()
- func (x *InitiateNikkahLikeRequest) ProtoReflect() protoreflect.Message
- func (x *InitiateNikkahLikeRequest) Reset()
- func (x *InitiateNikkahLikeRequest) String() string
- type ListEventsRequest
- func (*ListEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsRequest) GetPageSize() int32
- func (x *ListEventsRequest) GetPageToken() string
- func (*ListEventsRequest) ProtoMessage()
- func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEventsRequest) Reset()
- func (x *ListEventsRequest) String() string
- type ListEventsResponse
- func (*ListEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsResponse) GetEvents() []*Event
- func (*ListEventsResponse) ProtoMessage()
- func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEventsResponse) Reset()
- func (x *ListEventsResponse) String() string
- type ListMasjidsRequest
- func (*ListMasjidsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMasjidsRequest) GetPageSize() int32
- func (x *ListMasjidsRequest) GetPageToken() string
- func (*ListMasjidsRequest) ProtoMessage()
- func (x *ListMasjidsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMasjidsRequest) Reset()
- func (x *ListMasjidsRequest) String() string
- type ListMasjidsResponse
- func (*ListMasjidsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMasjidsResponse) GetMasjids() []*Masjid
- func (*ListMasjidsResponse) ProtoMessage()
- func (x *ListMasjidsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMasjidsResponse) Reset()
- func (x *ListMasjidsResponse) String() string
- type ListNikkahProfilesRequest
- func (*ListNikkahProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNikkahProfilesRequest) GetPageSize() int32
- func (x *ListNikkahProfilesRequest) GetPageToken() string
- func (*ListNikkahProfilesRequest) ProtoMessage()
- func (x *ListNikkahProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListNikkahProfilesRequest) Reset()
- func (x *ListNikkahProfilesRequest) String() string
- type ListNikkahProfilesResponse
- func (*ListNikkahProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNikkahProfilesResponse) GetNextPageToken() string
- func (x *ListNikkahProfilesResponse) GetProfiles() []*NikkahProfile
- func (*ListNikkahProfilesResponse) ProtoMessage()
- func (x *ListNikkahProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListNikkahProfilesResponse) Reset()
- func (x *ListNikkahProfilesResponse) String() string
- type ListRevertProfilesRequest
- func (*ListRevertProfilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRevertProfilesRequest) GetPageSize() int32
- func (x *ListRevertProfilesRequest) GetPageToken() string
- func (*ListRevertProfilesRequest) ProtoMessage()
- func (x *ListRevertProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRevertProfilesRequest) Reset()
- func (x *ListRevertProfilesRequest) String() string
- type ListRevertProfilesResponse
- func (*ListRevertProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRevertProfilesResponse) GetNextPageToken() string
- func (x *ListRevertProfilesResponse) GetProfiles() []*RevertProfile
- func (*ListRevertProfilesResponse) ProtoMessage()
- func (x *ListRevertProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRevertProfilesResponse) Reset()
- func (x *ListRevertProfilesResponse) String() string
- type Masjid
- func (*Masjid) Descriptor() ([]byte, []int)deprecated
- func (x *Masjid) GetAddress() *Masjid_Address
- func (x *Masjid) GetCreateTime() *timestamppb.Timestamp
- func (x *Masjid) GetId() string
- func (x *Masjid) GetIsVerified() bool
- func (x *Masjid) GetName() string
- func (x *Masjid) GetPhoneNumber() *Masjid_PhoneNumber
- func (x *Masjid) GetPrayerConfig() *PrayerTimesConfiguration
- func (x *Masjid) GetUpdateTime() *timestamppb.Timestamp
- func (*Masjid) ProtoMessage()
- func (x *Masjid) ProtoReflect() protoreflect.Message
- func (x *Masjid) Reset()
- func (x *Masjid) String() string
- type MasjidRole
- func (*MasjidRole) Descriptor() ([]byte, []int)deprecated
- func (x *MasjidRole) GetMasjidId() string
- func (x *MasjidRole) GetRole() MasjidRole_Role
- func (x *MasjidRole) GetUserId() string
- func (*MasjidRole) ProtoMessage()
- func (x *MasjidRole) ProtoReflect() protoreflect.Message
- func (x *MasjidRole) Reset()
- func (x *MasjidRole) String() string
- type MasjidRole_Role
- func (MasjidRole_Role) Descriptor() protoreflect.EnumDescriptor
- func (x MasjidRole_Role) Enum() *MasjidRole_Role
- func (MasjidRole_Role) EnumDescriptor() ([]byte, []int)deprecated
- func (x MasjidRole_Role) Number() protoreflect.EnumNumber
- func (x MasjidRole_Role) String() string
- func (MasjidRole_Role) Type() protoreflect.EnumType
- type MasjidServiceClient
- type MasjidServiceServer
- type Masjid_Address
- func (*Masjid_Address) Descriptor() ([]byte, []int)deprecated
- func (x *Masjid_Address) GetAddressLine_1() string
- func (x *Masjid_Address) GetAddressLine_2() string
- func (x *Masjid_Address) GetCity() string
- func (x *Masjid_Address) GetCountryCode() string
- func (x *Masjid_Address) GetPostalCode() string
- func (x *Masjid_Address) GetZoneCode() string
- func (*Masjid_Address) ProtoMessage()
- func (x *Masjid_Address) ProtoReflect() protoreflect.Message
- func (x *Masjid_Address) Reset()
- func (x *Masjid_Address) String() string
- type Masjid_PhoneNumber
- func (*Masjid_PhoneNumber) Descriptor() ([]byte, []int)deprecated
- func (x *Masjid_PhoneNumber) GetCountryCode() string
- func (x *Masjid_PhoneNumber) GetExtension() string
- func (x *Masjid_PhoneNumber) GetNumber() string
- func (*Masjid_PhoneNumber) ProtoMessage()
- func (x *Masjid_PhoneNumber) ProtoReflect() protoreflect.Message
- func (x *Masjid_PhoneNumber) Reset()
- func (x *Masjid_PhoneNumber) String() string
- type NikkahIoServiceClient
- type NikkahIoServiceServer
- type NikkahLike
- func (*NikkahLike) Descriptor() ([]byte, []int)deprecated
- func (x *NikkahLike) GetCreateTime() *timestamppb.Timestamp
- func (x *NikkahLike) GetLikeId() string
- func (x *NikkahLike) GetLikedProfileId() string
- func (x *NikkahLike) GetLikerProfileId() string
- func (x *NikkahLike) GetStatus() NikkahLike_Status
- func (x *NikkahLike) GetUpdateTime() *timestamppb.Timestamp
- func (*NikkahLike) ProtoMessage()
- func (x *NikkahLike) ProtoReflect() protoreflect.Message
- func (x *NikkahLike) Reset()
- func (x *NikkahLike) String() string
- type NikkahLike_Status
- func (NikkahLike_Status) Descriptor() protoreflect.EnumDescriptor
- func (x NikkahLike_Status) Enum() *NikkahLike_Status
- func (NikkahLike_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x NikkahLike_Status) Number() protoreflect.EnumNumber
- func (x NikkahLike_Status) String() string
- func (NikkahLike_Status) Type() protoreflect.EnumType
- type NikkahMatch
- func (*NikkahMatch) Descriptor() ([]byte, []int)deprecated
- func (x *NikkahMatch) GetCreateTime() *timestamppb.Timestamp
- func (x *NikkahMatch) GetInitiatorProfileId() string
- func (x *NikkahMatch) GetMatchId() string
- func (x *NikkahMatch) GetReceiverProfileId() string
- func (x *NikkahMatch) GetStatus() NikkahMatch_Status
- func (x *NikkahMatch) GetUpdateTime() *timestamppb.Timestamp
- func (*NikkahMatch) ProtoMessage()
- func (x *NikkahMatch) ProtoReflect() protoreflect.Message
- func (x *NikkahMatch) Reset()
- func (x *NikkahMatch) String() string
- type NikkahMatch_Status
- func (NikkahMatch_Status) Descriptor() protoreflect.EnumDescriptor
- func (x NikkahMatch_Status) Enum() *NikkahMatch_Status
- func (NikkahMatch_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x NikkahMatch_Status) Number() protoreflect.EnumNumber
- func (x NikkahMatch_Status) String() string
- func (NikkahMatch_Status) Type() protoreflect.EnumType
- type NikkahProfile
- func (*NikkahProfile) Descriptor() ([]byte, []int)deprecated
- func (x *NikkahProfile) GetBirthDate() *NikkahProfile_BirthDate
- func (x *NikkahProfile) GetCreateTime() *timestamppb.Timestamp
- func (x *NikkahProfile) GetGender() NikkahProfile_Gender
- func (x *NikkahProfile) GetId() string
- func (x *NikkahProfile) GetName() string
- func (x *NikkahProfile) GetUpdateTime() *timestamppb.Timestamp
- func (x *NikkahProfile) GetUserId() string
- func (*NikkahProfile) ProtoMessage()
- func (x *NikkahProfile) ProtoReflect() protoreflect.Message
- func (x *NikkahProfile) Reset()
- func (x *NikkahProfile) String() string
- type NikkahProfile_BirthDate
- func (*NikkahProfile_BirthDate) Descriptor() ([]byte, []int)deprecated
- func (x *NikkahProfile_BirthDate) GetDay() int32
- func (x *NikkahProfile_BirthDate) GetMonth() NikkahProfile_BirthDate_Month
- func (x *NikkahProfile_BirthDate) GetYear() int32
- func (*NikkahProfile_BirthDate) ProtoMessage()
- func (x *NikkahProfile_BirthDate) ProtoReflect() protoreflect.Message
- func (x *NikkahProfile_BirthDate) Reset()
- func (x *NikkahProfile_BirthDate) String() string
- type NikkahProfile_BirthDate_Month
- func (NikkahProfile_BirthDate_Month) Descriptor() protoreflect.EnumDescriptor
- func (x NikkahProfile_BirthDate_Month) Enum() *NikkahProfile_BirthDate_Month
- func (NikkahProfile_BirthDate_Month) EnumDescriptor() ([]byte, []int)deprecated
- func (x NikkahProfile_BirthDate_Month) Number() protoreflect.EnumNumber
- func (x NikkahProfile_BirthDate_Month) String() string
- func (NikkahProfile_BirthDate_Month) Type() protoreflect.EnumType
- type NikkahProfile_Gender
- func (NikkahProfile_Gender) Descriptor() protoreflect.EnumDescriptor
- func (x NikkahProfile_Gender) Enum() *NikkahProfile_Gender
- func (NikkahProfile_Gender) EnumDescriptor() ([]byte, []int)deprecated
- func (x NikkahProfile_Gender) Number() protoreflect.EnumNumber
- func (x NikkahProfile_Gender) String() string
- func (NikkahProfile_Gender) Type() protoreflect.EnumType
- type PrayerTimesConfiguration
- func (*PrayerTimesConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *PrayerTimesConfiguration) GetAdjustments() *PrayerTimesConfiguration_PrayerAdjustments
- func (x *PrayerTimesConfiguration) GetAsrMethod() PrayerTimesConfiguration_AsrJuristicMethod
- func (x *PrayerTimesConfiguration) GetFajrAngle() float64
- func (x *PrayerTimesConfiguration) GetHighLatitudeRule() PrayerTimesConfiguration_HighLatitudeRule
- func (x *PrayerTimesConfiguration) GetIshaAngle() float64
- func (x *PrayerTimesConfiguration) GetIshaInterval() int32
- func (x *PrayerTimesConfiguration) GetMethod() PrayerTimesConfiguration_CalculationMethod
- func (*PrayerTimesConfiguration) ProtoMessage()
- func (x *PrayerTimesConfiguration) ProtoReflect() protoreflect.Message
- func (x *PrayerTimesConfiguration) Reset()
- func (x *PrayerTimesConfiguration) String() string
- type PrayerTimesConfiguration_AsrJuristicMethod
- func (PrayerTimesConfiguration_AsrJuristicMethod) Descriptor() protoreflect.EnumDescriptor
- func (x PrayerTimesConfiguration_AsrJuristicMethod) Enum() *PrayerTimesConfiguration_AsrJuristicMethod
- func (PrayerTimesConfiguration_AsrJuristicMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x PrayerTimesConfiguration_AsrJuristicMethod) Number() protoreflect.EnumNumber
- func (x PrayerTimesConfiguration_AsrJuristicMethod) String() string
- func (PrayerTimesConfiguration_AsrJuristicMethod) Type() protoreflect.EnumType
- type PrayerTimesConfiguration_CalculationMethod
- func (PrayerTimesConfiguration_CalculationMethod) Descriptor() protoreflect.EnumDescriptor
- func (x PrayerTimesConfiguration_CalculationMethod) Enum() *PrayerTimesConfiguration_CalculationMethod
- func (PrayerTimesConfiguration_CalculationMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x PrayerTimesConfiguration_CalculationMethod) Number() protoreflect.EnumNumber
- func (x PrayerTimesConfiguration_CalculationMethod) String() string
- func (PrayerTimesConfiguration_CalculationMethod) Type() protoreflect.EnumType
- type PrayerTimesConfiguration_HighLatitudeRule
- func (PrayerTimesConfiguration_HighLatitudeRule) Descriptor() protoreflect.EnumDescriptor
- func (x PrayerTimesConfiguration_HighLatitudeRule) Enum() *PrayerTimesConfiguration_HighLatitudeRule
- func (PrayerTimesConfiguration_HighLatitudeRule) EnumDescriptor() ([]byte, []int)deprecated
- func (x PrayerTimesConfiguration_HighLatitudeRule) Number() protoreflect.EnumNumber
- func (x PrayerTimesConfiguration_HighLatitudeRule) String() string
- func (PrayerTimesConfiguration_HighLatitudeRule) Type() protoreflect.EnumType
- type PrayerTimesConfiguration_PrayerAdjustments
- func (*PrayerTimesConfiguration_PrayerAdjustments) Descriptor() ([]byte, []int)deprecated
- func (x *PrayerTimesConfiguration_PrayerAdjustments) GetAsrAdjustment() int32
- func (x *PrayerTimesConfiguration_PrayerAdjustments) GetDhuhrAdjustment() int32
- func (x *PrayerTimesConfiguration_PrayerAdjustments) GetFajrAdjustment() int32
- func (x *PrayerTimesConfiguration_PrayerAdjustments) GetIshaAdjustment() int32
- func (x *PrayerTimesConfiguration_PrayerAdjustments) GetMaghribAdjustment() int32
- func (*PrayerTimesConfiguration_PrayerAdjustments) ProtoMessage()
- func (x *PrayerTimesConfiguration_PrayerAdjustments) ProtoReflect() protoreflect.Message
- func (x *PrayerTimesConfiguration_PrayerAdjustments) Reset()
- func (x *PrayerTimesConfiguration_PrayerAdjustments) String() string
- type RefreshTokenRequest
- func (*RefreshTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenRequest) GetRefreshToken() string
- func (*RefreshTokenRequest) ProtoMessage()
- func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenRequest) Reset()
- func (x *RefreshTokenRequest) String() string
- type RefreshTokenResponse
- func (*RefreshTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenResponse) GetAccessToken() string
- func (*RefreshTokenResponse) ProtoMessage()
- func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenResponse) Reset()
- func (x *RefreshTokenResponse) String() string
- type RejectNikkahMatchInviteRequest
- func (*RejectNikkahMatchInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RejectNikkahMatchInviteRequest) GetMatchId() string
- func (*RejectNikkahMatchInviteRequest) ProtoMessage()
- func (x *RejectNikkahMatchInviteRequest) ProtoReflect() protoreflect.Message
- func (x *RejectNikkahMatchInviteRequest) Reset()
- func (x *RejectNikkahMatchInviteRequest) String() string
- type RejectRevertMatchInviteRequest
- func (*RejectRevertMatchInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RejectRevertMatchInviteRequest) GetMatchId() string
- func (*RejectRevertMatchInviteRequest) ProtoMessage()
- func (x *RejectRevertMatchInviteRequest) ProtoReflect() protoreflect.Message
- func (x *RejectRevertMatchInviteRequest) Reset()
- func (x *RejectRevertMatchInviteRequest) String() string
- type RevertMatch
- func (*RevertMatch) Descriptor() ([]byte, []int)deprecated
- func (x *RevertMatch) GetCreateTime() *timestamppb.Timestamp
- func (x *RevertMatch) GetInitiatorProfileId() string
- func (x *RevertMatch) GetMatchId() string
- func (x *RevertMatch) GetReceiverProfileId() string
- func (x *RevertMatch) GetStatus() RevertMatch_Status
- func (x *RevertMatch) GetUpdateTime() *timestamppb.Timestamp
- func (*RevertMatch) ProtoMessage()
- func (x *RevertMatch) ProtoReflect() protoreflect.Message
- func (x *RevertMatch) Reset()
- func (x *RevertMatch) String() string
- type RevertMatch_Status
- func (RevertMatch_Status) Descriptor() protoreflect.EnumDescriptor
- func (x RevertMatch_Status) Enum() *RevertMatch_Status
- func (RevertMatch_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x RevertMatch_Status) Number() protoreflect.EnumNumber
- func (x RevertMatch_Status) String() string
- func (RevertMatch_Status) Type() protoreflect.EnumType
- type RevertProfile
- func (*RevertProfile) Descriptor() ([]byte, []int)deprecated
- func (x *RevertProfile) GetBirthDate() *RevertProfile_BirthDate
- func (x *RevertProfile) GetCreateTime() *timestamppb.Timestamp
- func (x *RevertProfile) GetGender() RevertProfile_Gender
- func (x *RevertProfile) GetId() string
- func (x *RevertProfile) GetName() string
- func (x *RevertProfile) GetUpdateTime() *timestamppb.Timestamp
- func (x *RevertProfile) GetUserId() string
- func (*RevertProfile) ProtoMessage()
- func (x *RevertProfile) ProtoReflect() protoreflect.Message
- func (x *RevertProfile) Reset()
- func (x *RevertProfile) String() string
- type RevertProfile_BirthDate
- func (*RevertProfile_BirthDate) Descriptor() ([]byte, []int)deprecated
- func (x *RevertProfile_BirthDate) GetDay() int32
- func (x *RevertProfile_BirthDate) GetMonth() RevertProfile_BirthDate_Month
- func (x *RevertProfile_BirthDate) GetYear() int32
- func (*RevertProfile_BirthDate) ProtoMessage()
- func (x *RevertProfile_BirthDate) ProtoReflect() protoreflect.Message
- func (x *RevertProfile_BirthDate) Reset()
- func (x *RevertProfile_BirthDate) String() string
- type RevertProfile_BirthDate_Month
- func (RevertProfile_BirthDate_Month) Descriptor() protoreflect.EnumDescriptor
- func (x RevertProfile_BirthDate_Month) Enum() *RevertProfile_BirthDate_Month
- func (RevertProfile_BirthDate_Month) EnumDescriptor() ([]byte, []int)deprecated
- func (x RevertProfile_BirthDate_Month) Number() protoreflect.EnumNumber
- func (x RevertProfile_BirthDate_Month) String() string
- func (RevertProfile_BirthDate_Month) Type() protoreflect.EnumType
- type RevertProfile_Gender
- func (RevertProfile_Gender) Descriptor() protoreflect.EnumDescriptor
- func (x RevertProfile_Gender) Enum() *RevertProfile_Gender
- func (RevertProfile_Gender) EnumDescriptor() ([]byte, []int)deprecated
- func (x RevertProfile_Gender) Number() protoreflect.EnumNumber
- func (x RevertProfile_Gender) String() string
- func (RevertProfile_Gender) Type() protoreflect.EnumType
- type RevertsIoServiceClient
- type RevertsIoServiceServer
- type UnimplementedAdhanServiceServer
- func (UnimplementedAdhanServiceServer) CreateAdhanFile(context.Context, *CreateAdhanFileRequest) (*AdhanFile, error)
- func (UnimplementedAdhanServiceServer) DeleteAdhanFile(context.Context, *DeleteAdhanFileRequest) (*DeleteAdhanFileResponse, error)
- func (UnimplementedAdhanServiceServer) GetAdhanFile(context.Context, *GetAdhanFileRequest) (*AdhanFile, error)
- func (UnimplementedAdhanServiceServer) UpdateAdhanFile(context.Context, *UpdateAdhanFileRequest) (*AdhanFile, error)
- type UnimplementedEventServiceServer
- func (UnimplementedEventServiceServer) CreateEvent(context.Context, *CreateEventRequest) (*Event, error)
- func (UnimplementedEventServiceServer) DeleteEvent(context.Context, *DeleteEventRequest) (*DeleteEventResponse, error)
- func (UnimplementedEventServiceServer) GetEvent(context.Context, *GetEventRequest) (*Event, error)
- func (UnimplementedEventServiceServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
- func (UnimplementedEventServiceServer) UpdateEvent(context.Context, *UpdateEventRequest) (*Event, error)
- type UnimplementedMasjidServiceServer
- func (UnimplementedMasjidServiceServer) CreateMasjid(context.Context, *CreateMasjidRequest) (*Masjid, error)
- func (UnimplementedMasjidServiceServer) DeleteMasjid(context.Context, *DeleteMasjidRequest) (*DeleteMasjidResponse, error)
- func (UnimplementedMasjidServiceServer) GetMasjid(context.Context, *GetMasjidRequest) (*Masjid, error)
- func (UnimplementedMasjidServiceServer) ListMasjids(context.Context, *ListMasjidsRequest) (*ListMasjidsResponse, error)
- func (UnimplementedMasjidServiceServer) UpdateMasjid(context.Context, *UpdateMasjidRequest) (*Masjid, error)
- type UnimplementedNikkahIoServiceServer
- func (UnimplementedNikkahIoServiceServer) AcceptNikkahMatchInvite(context.Context, *AcceptNikkahMatchInviteRequest) (*NikkahMatch, error)
- func (UnimplementedNikkahIoServiceServer) CancelNikkahLike(context.Context, *CancelNikkahLikeRequest) (*NikkahLike, error)
- func (UnimplementedNikkahIoServiceServer) CompleteNikkahLike(context.Context, *CompleteNikkahLikeRequest) (*CompleteNikkahLikeResponse, error)
- func (UnimplementedNikkahIoServiceServer) CreateNikkahProfile(context.Context, *CreateNikkahProfileRequest) (*NikkahProfile, error)
- func (UnimplementedNikkahIoServiceServer) EndNikkahMatch(context.Context, *EndNikkahMatchRequest) (*NikkahMatch, error)
- func (UnimplementedNikkahIoServiceServer) GetNikkahProfile(context.Context, *GetNikkahProfileRequest) (*NikkahProfile, error)
- func (UnimplementedNikkahIoServiceServer) GetSelfNikkahProfile(context.Context, *GetSelfNikkahProfileRequest) (*NikkahProfile, error)
- func (UnimplementedNikkahIoServiceServer) InitiateNikkahLike(context.Context, *InitiateNikkahLikeRequest) (*NikkahLike, error)
- func (UnimplementedNikkahIoServiceServer) ListNikkahProfiles(context.Context, *ListNikkahProfilesRequest) (*ListNikkahProfilesResponse, error)
- func (UnimplementedNikkahIoServiceServer) RejectNikkahMatchInvite(context.Context, *RejectNikkahMatchInviteRequest) (*NikkahMatch, error)
- func (UnimplementedNikkahIoServiceServer) UpdateSelfNikkahProfile(context.Context, *UpdateSelfNikkahProfileRequest) (*NikkahProfile, error)
- type UnimplementedRevertsIoServiceServer
- func (UnimplementedRevertsIoServiceServer) AcceptRevertMatchInvite(context.Context, *AcceptRevertMatchInviteRequest) (*RevertMatch, error)
- func (UnimplementedRevertsIoServiceServer) CreateRevertMatchInvite(context.Context, *CreateRevertMatchInviteRequest) (*RevertMatch, error)
- func (UnimplementedRevertsIoServiceServer) CreateRevertProfile(context.Context, *CreateRevertProfileRequest) (*RevertProfile, error)
- func (UnimplementedRevertsIoServiceServer) EndRevertMatch(context.Context, *EndRevertMatchRequest) (*RevertMatch, error)
- func (UnimplementedRevertsIoServiceServer) GetRevertProfile(context.Context, *GetRevertProfileRequest) (*RevertProfile, error)
- func (UnimplementedRevertsIoServiceServer) GetSelfRevertProfile(context.Context, *GetSelfRevertProfileRequest) (*RevertProfile, error)
- func (UnimplementedRevertsIoServiceServer) ListRevertProfiles(context.Context, *ListRevertProfilesRequest) (*ListRevertProfilesResponse, error)
- func (UnimplementedRevertsIoServiceServer) RejectRevertMatchInvite(context.Context, *RejectRevertMatchInviteRequest) (*RevertMatch, error)
- func (UnimplementedRevertsIoServiceServer) UpdateSelfRevertProfile(context.Context, *UpdateSelfRevertProfileRequest) (*RevertProfile, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) AuthenticateUser(context.Context, *AuthenticateUserRequest) (*AuthenticateUserResponse, error)
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*User, error)
- func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedUserServiceServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
- func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
- type UnsafeAdhanServiceServer
- type UnsafeEventServiceServer
- type UnsafeMasjidServiceServer
- type UnsafeNikkahIoServiceServer
- type UnsafeRevertsIoServiceServer
- type UnsafeUserServiceServer
- type UpdateAdhanFileRequest
- func (*UpdateAdhanFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAdhanFileRequest) GetAdhanFile() *AdhanFile
- func (*UpdateAdhanFileRequest) ProtoMessage()
- func (x *UpdateAdhanFileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAdhanFileRequest) Reset()
- func (x *UpdateAdhanFileRequest) String() string
- type UpdateEventRequest
- func (*UpdateEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEventRequest) GetEvent() *Event
- func (*UpdateEventRequest) ProtoMessage()
- func (x *UpdateEventRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEventRequest) Reset()
- func (x *UpdateEventRequest) String() string
- type UpdateMasjidRequest
- func (*UpdateMasjidRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMasjidRequest) GetMasjid() *Masjid
- func (*UpdateMasjidRequest) ProtoMessage()
- func (x *UpdateMasjidRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMasjidRequest) Reset()
- func (x *UpdateMasjidRequest) String() string
- type UpdateSelfNikkahProfileRequest
- func (*UpdateSelfNikkahProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSelfNikkahProfileRequest) GetProfile() *NikkahProfile
- func (*UpdateSelfNikkahProfileRequest) ProtoMessage()
- func (x *UpdateSelfNikkahProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSelfNikkahProfileRequest) Reset()
- func (x *UpdateSelfNikkahProfileRequest) String() string
- type UpdateSelfRevertProfileRequest
- func (*UpdateSelfRevertProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSelfRevertProfileRequest) GetProfile() *RevertProfile
- func (*UpdateSelfRevertProfileRequest) ProtoMessage()
- func (x *UpdateSelfRevertProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSelfRevertProfileRequest) Reset()
- func (x *UpdateSelfRevertProfileRequest) String() string
- type UpdateUserRequest
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreateTime() *timestamppb.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetFirstName() string
- func (x *User) GetGender() User_Gender
- func (x *User) GetId() string
- func (x *User) GetIsEmailVerified() bool
- func (x *User) GetLastName() string
- func (x *User) GetPhoneNumber() string
- func (x *User) GetUpdateTime() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserServiceClient
- type UserServiceServer
- type User_Gender
- func (User_Gender) Descriptor() protoreflect.EnumDescriptor
- func (x User_Gender) Enum() *User_Gender
- func (User_Gender) EnumDescriptor() ([]byte, []int)deprecated
- func (x User_Gender) Number() protoreflect.EnumNumber
- func (x User_Gender) String() string
- func (User_Gender) Type() protoreflect.EnumType
Constants ¶
const ( AdhanService_CreateAdhanFile_FullMethodName = "/limestone.AdhanService/CreateAdhanFile" AdhanService_UpdateAdhanFile_FullMethodName = "/limestone.AdhanService/UpdateAdhanFile" AdhanService_GetAdhanFile_FullMethodName = "/limestone.AdhanService/GetAdhanFile" AdhanService_DeleteAdhanFile_FullMethodName = "/limestone.AdhanService/DeleteAdhanFile" )
const ( EventService_CreateEvent_FullMethodName = "/limestone.EventService/CreateEvent" EventService_UpdateEvent_FullMethodName = "/limestone.EventService/UpdateEvent" EventService_DeleteEvent_FullMethodName = "/limestone.EventService/DeleteEvent" EventService_GetEvent_FullMethodName = "/limestone.EventService/GetEvent" EventService_ListEvents_FullMethodName = "/limestone.EventService/ListEvents" )
const ( MasjidService_CreateMasjid_FullMethodName = "/limestone.MasjidService/CreateMasjid" MasjidService_UpdateMasjid_FullMethodName = "/limestone.MasjidService/UpdateMasjid" MasjidService_DeleteMasjid_FullMethodName = "/limestone.MasjidService/DeleteMasjid" MasjidService_GetMasjid_FullMethodName = "/limestone.MasjidService/GetMasjid" MasjidService_ListMasjids_FullMethodName = "/limestone.MasjidService/ListMasjids" )
const ( NikkahIoService_CreateNikkahProfile_FullMethodName = "/limestone.NikkahIoService/CreateNikkahProfile" NikkahIoService_GetSelfNikkahProfile_FullMethodName = "/limestone.NikkahIoService/GetSelfNikkahProfile" NikkahIoService_UpdateSelfNikkahProfile_FullMethodName = "/limestone.NikkahIoService/UpdateSelfNikkahProfile" NikkahIoService_ListNikkahProfiles_FullMethodName = "/limestone.NikkahIoService/ListNikkahProfiles" NikkahIoService_GetNikkahProfile_FullMethodName = "/limestone.NikkahIoService/GetNikkahProfile" NikkahIoService_InitiateNikkahLike_FullMethodName = "/limestone.NikkahIoService/InitiateNikkahLike" NikkahIoService_CancelNikkahLike_FullMethodName = "/limestone.NikkahIoService/CancelNikkahLike" NikkahIoService_CompleteNikkahLike_FullMethodName = "/limestone.NikkahIoService/CompleteNikkahLike" NikkahIoService_AcceptNikkahMatchInvite_FullMethodName = "/limestone.NikkahIoService/AcceptNikkahMatchInvite" NikkahIoService_RejectNikkahMatchInvite_FullMethodName = "/limestone.NikkahIoService/RejectNikkahMatchInvite" NikkahIoService_EndNikkahMatch_FullMethodName = "/limestone.NikkahIoService/EndNikkahMatch" )
const ( RevertsIoService_CreateRevertProfile_FullMethodName = "/limestone.RevertsIoService/CreateRevertProfile" RevertsIoService_GetSelfRevertProfile_FullMethodName = "/limestone.RevertsIoService/GetSelfRevertProfile" RevertsIoService_UpdateSelfRevertProfile_FullMethodName = "/limestone.RevertsIoService/UpdateSelfRevertProfile" RevertsIoService_ListRevertProfiles_FullMethodName = "/limestone.RevertsIoService/ListRevertProfiles" RevertsIoService_GetRevertProfile_FullMethodName = "/limestone.RevertsIoService/GetRevertProfile" RevertsIoService_CreateRevertMatchInvite_FullMethodName = "/limestone.RevertsIoService/CreateRevertMatchInvite" RevertsIoService_AcceptRevertMatchInvite_FullMethodName = "/limestone.RevertsIoService/AcceptRevertMatchInvite" RevertsIoService_RejectRevertMatchInvite_FullMethodName = "/limestone.RevertsIoService/RejectRevertMatchInvite" RevertsIoService_EndRevertMatch_FullMethodName = "/limestone.RevertsIoService/EndRevertMatch" )
const ( UserService_CreateUser_FullMethodName = "/limestone.UserService/CreateUser" UserService_GetUser_FullMethodName = "/limestone.UserService/GetUser" UserService_UpdateUser_FullMethodName = "/limestone.UserService/UpdateUser" UserService_DeleteUser_FullMethodName = "/limestone.UserService/DeleteUser" UserService_AuthenticateUser_FullMethodName = "/limestone.UserService/AuthenticateUser" UserService_RefreshToken_FullMethodName = "/limestone.UserService/RefreshToken" )
Variables ¶
var ( Event_GenderRestriction_name = map[int32]string{ 0: "NO_RESTRICTION", 1: "MALE_ONLY", 2: "FEMALE_ONLY", } Event_GenderRestriction_value = map[string]int32{ "NO_RESTRICTION": 0, "MALE_ONLY": 1, "FEMALE_ONLY": 2, } )
Enum value maps for Event_GenderRestriction.
var ( Event_EventType_name = map[int32]string{ 0: "WORSHIP", 1: "EDUCATIONAL", 2: "COMMUNITY", 3: "ATHLETIC", 4: "FUNDRAISING", 5: "YOUTH", 6: "CHILDREN_SPECIFIC", 7: "MATRIMONIAL", 8: "FUNERAL", } Event_EventType_value = map[string]int32{ "WORSHIP": 0, "EDUCATIONAL": 1, "COMMUNITY": 2, "ATHLETIC": 3, "FUNDRAISING": 4, "YOUTH": 5, "CHILDREN_SPECIFIC": 6, "MATRIMONIAL": 7, "FUNERAL": 8, } )
Enum value maps for Event_EventType.
var ( PrayerTimesConfiguration_CalculationMethod_name = map[int32]string{ 0: "OTHER", 1: "MUSLIM_WORLD_LEAGUE", 2: "EGYPTIAN", 3: "KARACHI", 4: "UMM_AL_QURA", 5: "DUBAI", 6: "MOON_SIGHTING_COMMITTEE", 7: "NORTH_AMERICA", 8: "KUWAIT", 9: "QATAR", 10: "SINGAPORE", 11: "UOIF", } PrayerTimesConfiguration_CalculationMethod_value = map[string]int32{ "OTHER": 0, "MUSLIM_WORLD_LEAGUE": 1, "EGYPTIAN": 2, "KARACHI": 3, "UMM_AL_QURA": 4, "DUBAI": 5, "MOON_SIGHTING_COMMITTEE": 6, "NORTH_AMERICA": 7, "KUWAIT": 8, "QATAR": 9, "SINGAPORE": 10, "UOIF": 11, } )
Enum value maps for PrayerTimesConfiguration_CalculationMethod.
var ( PrayerTimesConfiguration_AsrJuristicMethod_name = map[int32]string{ 0: "SHAFI_HANBALI_MALIKI", 1: "HANAFI", } PrayerTimesConfiguration_AsrJuristicMethod_value = map[string]int32{ "SHAFI_HANBALI_MALIKI": 0, "HANAFI": 1, } )
Enum value maps for PrayerTimesConfiguration_AsrJuristicMethod.
var ( PrayerTimesConfiguration_HighLatitudeRule_name = map[int32]string{ 0: "NO_HIGH_LATITUDE_RULE", 1: "MIDDLE_OF_THE_NIGHT", 2: "SEVENTH_OF_THE_NIGHT", 3: "TWILIGHT_ANGLE", } PrayerTimesConfiguration_HighLatitudeRule_value = map[string]int32{ "NO_HIGH_LATITUDE_RULE": 0, "MIDDLE_OF_THE_NIGHT": 1, "SEVENTH_OF_THE_NIGHT": 2, "TWILIGHT_ANGLE": 3, } )
Enum value maps for PrayerTimesConfiguration_HighLatitudeRule.
var ( NikkahProfile_Gender_name = map[int32]string{ 0: "GENDER_UNSPECIFIED", 1: "MALE", 2: "FEMALE", } NikkahProfile_Gender_value = map[string]int32{ "GENDER_UNSPECIFIED": 0, "MALE": 1, "FEMALE": 2, } )
Enum value maps for NikkahProfile_Gender.
var ( NikkahProfile_BirthDate_Month_name = map[int32]string{ 0: "MONTH_UNSPECIFIED", 1: "JANUARY", 2: "FEBRUARY", 3: "MARCH", 4: "APRIL", 5: "MAY", 6: "JUNE", 7: "JULY", 8: "AUGUST", 9: "SEPTEMBER", 10: "OCTOBER", 11: "NOVEMBER", 12: "DECEMBER", } NikkahProfile_BirthDate_Month_value = map[string]int32{ "MONTH_UNSPECIFIED": 0, "JANUARY": 1, "FEBRUARY": 2, "MARCH": 3, "APRIL": 4, "MAY": 5, "JUNE": 6, "JULY": 7, "AUGUST": 8, "SEPTEMBER": 9, "OCTOBER": 10, "NOVEMBER": 11, "DECEMBER": 12, } )
Enum value maps for NikkahProfile_BirthDate_Month.
var ( NikkahLike_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "INITIATED", 2: "COMPLETED", 3: "CANCELLED", } NikkahLike_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "INITIATED": 1, "COMPLETED": 2, "CANCELLED": 3, } )
Enum value maps for NikkahLike_Status.
var ( NikkahMatch_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "INITIATED", 2: "ACCEPTED", 3: "REJECTED", 4: "ENDED", } NikkahMatch_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "INITIATED": 1, "ACCEPTED": 2, "REJECTED": 3, "ENDED": 4, } )
Enum value maps for NikkahMatch_Status.
var ( RevertProfile_Gender_name = map[int32]string{ 0: "GENDER_UNSPECIFIED", 1: "MALE", 2: "FEMALE", } RevertProfile_Gender_value = map[string]int32{ "GENDER_UNSPECIFIED": 0, "MALE": 1, "FEMALE": 2, } )
Enum value maps for RevertProfile_Gender.
var ( RevertProfile_BirthDate_Month_name = map[int32]string{ 0: "MONTH_UNSPECIFIED", 1: "JANUARY", 2: "FEBRUARY", 3: "MARCH", 4: "APRIL", 5: "MAY", 6: "JUNE", 7: "JULY", 8: "AUGUST", 9: "SEPTEMBER", 10: "OCTOBER", 11: "NOVEMBER", 12: "DECEMBER", } RevertProfile_BirthDate_Month_value = map[string]int32{ "MONTH_UNSPECIFIED": 0, "JANUARY": 1, "FEBRUARY": 2, "MARCH": 3, "APRIL": 4, "MAY": 5, "JUNE": 6, "JULY": 7, "AUGUST": 8, "SEPTEMBER": 9, "OCTOBER": 10, "NOVEMBER": 11, "DECEMBER": 12, } )
Enum value maps for RevertProfile_BirthDate_Month.
var ( RevertMatch_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "INITIATED", 2: "ACCEPTED", 3: "REJECTED", 4: "ENDED", } RevertMatch_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "INITIATED": 1, "ACCEPTED": 2, "REJECTED": 3, "ENDED": 4, } )
Enum value maps for RevertMatch_Status.
var ( MasjidRole_Role_name = map[int32]string{ 0: "ROLE_UNSPECIFIED", 1: "MASJID_MEMBER", 2: "MASJID_VOLUNTEER", 3: "MASJID_ADMIN", 4: "MASJID_IMAM", } MasjidRole_Role_value = map[string]int32{ "ROLE_UNSPECIFIED": 0, "MASJID_MEMBER": 1, "MASJID_VOLUNTEER": 2, "MASJID_ADMIN": 3, "MASJID_IMAM": 4, } )
Enum value maps for MasjidRole_Role.
var ( User_Gender_name = map[int32]string{ 0: "GENDER_UNSPECIFIED", 1: "MALE", 2: "FEMALE", } User_Gender_value = map[string]int32{ "GENDER_UNSPECIFIED": 0, "MALE": 1, "FEMALE": 2, } )
Enum value maps for User_Gender.
var AdhanService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "limestone.AdhanService", HandlerType: (*AdhanServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateAdhanFile", Handler: _AdhanService_CreateAdhanFile_Handler, }, { MethodName: "UpdateAdhanFile", Handler: _AdhanService_UpdateAdhanFile_Handler, }, { MethodName: "GetAdhanFile", Handler: _AdhanService_GetAdhanFile_Handler, }, { MethodName: "DeleteAdhanFile", Handler: _AdhanService_DeleteAdhanFile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "adhan_service.proto", }
AdhanService_ServiceDesc is the grpc.ServiceDesc for AdhanService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EventService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "limestone.EventService", HandlerType: (*EventServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateEvent", Handler: _EventService_CreateEvent_Handler, }, { MethodName: "UpdateEvent", Handler: _EventService_UpdateEvent_Handler, }, { MethodName: "DeleteEvent", Handler: _EventService_DeleteEvent_Handler, }, { MethodName: "GetEvent", Handler: _EventService_GetEvent_Handler, }, { MethodName: "ListEvents", Handler: _EventService_ListEvents_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "event_service.proto", }
EventService_ServiceDesc is the grpc.ServiceDesc for EventService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_adhan_service_proto protoreflect.FileDescriptor
var File_event_service_proto protoreflect.FileDescriptor
var File_masjid_service_proto protoreflect.FileDescriptor
var File_nikkah_service_proto protoreflect.FileDescriptor
var File_reverts_service_proto protoreflect.FileDescriptor
var File_user_service_proto protoreflect.FileDescriptor
var MasjidService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "limestone.MasjidService", HandlerType: (*MasjidServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateMasjid", Handler: _MasjidService_CreateMasjid_Handler, }, { MethodName: "UpdateMasjid", Handler: _MasjidService_UpdateMasjid_Handler, }, { MethodName: "DeleteMasjid", Handler: _MasjidService_DeleteMasjid_Handler, }, { MethodName: "GetMasjid", Handler: _MasjidService_GetMasjid_Handler, }, { MethodName: "ListMasjids", Handler: _MasjidService_ListMasjids_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "masjid_service.proto", }
MasjidService_ServiceDesc is the grpc.ServiceDesc for MasjidService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NikkahIoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "limestone.NikkahIoService", HandlerType: (*NikkahIoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateNikkahProfile", Handler: _NikkahIoService_CreateNikkahProfile_Handler, }, { MethodName: "GetSelfNikkahProfile", Handler: _NikkahIoService_GetSelfNikkahProfile_Handler, }, { MethodName: "UpdateSelfNikkahProfile", Handler: _NikkahIoService_UpdateSelfNikkahProfile_Handler, }, { MethodName: "ListNikkahProfiles", Handler: _NikkahIoService_ListNikkahProfiles_Handler, }, { MethodName: "GetNikkahProfile", Handler: _NikkahIoService_GetNikkahProfile_Handler, }, { MethodName: "InitiateNikkahLike", Handler: _NikkahIoService_InitiateNikkahLike_Handler, }, { MethodName: "CancelNikkahLike", Handler: _NikkahIoService_CancelNikkahLike_Handler, }, { MethodName: "CompleteNikkahLike", Handler: _NikkahIoService_CompleteNikkahLike_Handler, }, { MethodName: "AcceptNikkahMatchInvite", Handler: _NikkahIoService_AcceptNikkahMatchInvite_Handler, }, { MethodName: "RejectNikkahMatchInvite", Handler: _NikkahIoService_RejectNikkahMatchInvite_Handler, }, { MethodName: "EndNikkahMatch", Handler: _NikkahIoService_EndNikkahMatch_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nikkah_service.proto", }
NikkahIoService_ServiceDesc is the grpc.ServiceDesc for NikkahIoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RevertsIoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "limestone.RevertsIoService", HandlerType: (*RevertsIoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRevertProfile", Handler: _RevertsIoService_CreateRevertProfile_Handler, }, { MethodName: "GetSelfRevertProfile", Handler: _RevertsIoService_GetSelfRevertProfile_Handler, }, { MethodName: "UpdateSelfRevertProfile", Handler: _RevertsIoService_UpdateSelfRevertProfile_Handler, }, { MethodName: "ListRevertProfiles", Handler: _RevertsIoService_ListRevertProfiles_Handler, }, { MethodName: "GetRevertProfile", Handler: _RevertsIoService_GetRevertProfile_Handler, }, { MethodName: "CreateRevertMatchInvite", Handler: _RevertsIoService_CreateRevertMatchInvite_Handler, }, { MethodName: "AcceptRevertMatchInvite", Handler: _RevertsIoService_AcceptRevertMatchInvite_Handler, }, { MethodName: "RejectRevertMatchInvite", Handler: _RevertsIoService_RejectRevertMatchInvite_Handler, }, { MethodName: "EndRevertMatch", Handler: _RevertsIoService_EndRevertMatch_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "reverts_service.proto", }
RevertsIoService_ServiceDesc is the grpc.ServiceDesc for RevertsIoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "limestone.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "GetUser", Handler: _UserService_GetUser_Handler, }, { MethodName: "UpdateUser", Handler: _UserService_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _UserService_DeleteUser_Handler, }, { MethodName: "AuthenticateUser", Handler: _UserService_AuthenticateUser_Handler, }, { MethodName: "RefreshToken", Handler: _UserService_RefreshToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user_service.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAdhanServiceHandler ¶
func RegisterAdhanServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAdhanServiceHandler registers the http handlers for service AdhanService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAdhanServiceHandlerClient ¶
func RegisterAdhanServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdhanServiceClient) error
RegisterAdhanServiceHandlerClient registers the http handlers for service AdhanService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AdhanServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AdhanServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AdhanServiceClient" to call the correct interceptors.
func RegisterAdhanServiceHandlerFromEndpoint ¶
func RegisterAdhanServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAdhanServiceHandlerFromEndpoint is same as RegisterAdhanServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAdhanServiceHandlerServer ¶
func RegisterAdhanServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AdhanServiceServer) error
RegisterAdhanServiceHandlerServer registers the http handlers for service AdhanService to "mux". UnaryRPC :call AdhanServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAdhanServiceHandlerFromEndpoint instead.
func RegisterAdhanServiceServer ¶
func RegisterAdhanServiceServer(s grpc.ServiceRegistrar, srv AdhanServiceServer)
func RegisterEventServiceHandler ¶
func RegisterEventServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterEventServiceHandler registers the http handlers for service EventService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterEventServiceHandlerClient ¶
func RegisterEventServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventServiceClient) error
RegisterEventServiceHandlerClient registers the http handlers for service EventService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EventServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EventServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EventServiceClient" to call the correct interceptors.
func RegisterEventServiceHandlerFromEndpoint ¶
func RegisterEventServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterEventServiceHandlerFromEndpoint is same as RegisterEventServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterEventServiceHandlerServer ¶
func RegisterEventServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventServiceServer) error
RegisterEventServiceHandlerServer registers the http handlers for service EventService to "mux". UnaryRPC :call EventServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterEventServiceHandlerFromEndpoint instead.
func RegisterEventServiceServer ¶
func RegisterEventServiceServer(s grpc.ServiceRegistrar, srv EventServiceServer)
func RegisterMasjidServiceHandler ¶
func RegisterMasjidServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMasjidServiceHandler registers the http handlers for service MasjidService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMasjidServiceHandlerClient ¶
func RegisterMasjidServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MasjidServiceClient) error
RegisterMasjidServiceHandlerClient registers the http handlers for service MasjidService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MasjidServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MasjidServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MasjidServiceClient" to call the correct interceptors.
func RegisterMasjidServiceHandlerFromEndpoint ¶
func RegisterMasjidServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMasjidServiceHandlerFromEndpoint is same as RegisterMasjidServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMasjidServiceHandlerServer ¶
func RegisterMasjidServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MasjidServiceServer) error
RegisterMasjidServiceHandlerServer registers the http handlers for service MasjidService to "mux". UnaryRPC :call MasjidServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMasjidServiceHandlerFromEndpoint instead.
func RegisterMasjidServiceServer ¶
func RegisterMasjidServiceServer(s grpc.ServiceRegistrar, srv MasjidServiceServer)
func RegisterNikkahIoServiceHandler ¶
func RegisterNikkahIoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterNikkahIoServiceHandler registers the http handlers for service NikkahIoService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterNikkahIoServiceHandlerClient ¶
func RegisterNikkahIoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NikkahIoServiceClient) error
RegisterNikkahIoServiceHandlerClient registers the http handlers for service NikkahIoService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NikkahIoServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NikkahIoServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NikkahIoServiceClient" to call the correct interceptors.
func RegisterNikkahIoServiceHandlerFromEndpoint ¶
func RegisterNikkahIoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterNikkahIoServiceHandlerFromEndpoint is same as RegisterNikkahIoServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterNikkahIoServiceHandlerServer ¶
func RegisterNikkahIoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NikkahIoServiceServer) error
RegisterNikkahIoServiceHandlerServer registers the http handlers for service NikkahIoService to "mux". UnaryRPC :call NikkahIoServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterNikkahIoServiceHandlerFromEndpoint instead.
func RegisterNikkahIoServiceServer ¶
func RegisterNikkahIoServiceServer(s grpc.ServiceRegistrar, srv NikkahIoServiceServer)
func RegisterRevertsIoServiceHandler ¶
func RegisterRevertsIoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterRevertsIoServiceHandler registers the http handlers for service RevertsIoService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRevertsIoServiceHandlerClient ¶
func RegisterRevertsIoServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RevertsIoServiceClient) error
RegisterRevertsIoServiceHandlerClient registers the http handlers for service RevertsIoService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RevertsIoServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RevertsIoServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RevertsIoServiceClient" to call the correct interceptors.
func RegisterRevertsIoServiceHandlerFromEndpoint ¶
func RegisterRevertsIoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRevertsIoServiceHandlerFromEndpoint is same as RegisterRevertsIoServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRevertsIoServiceHandlerServer ¶
func RegisterRevertsIoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RevertsIoServiceServer) error
RegisterRevertsIoServiceHandlerServer registers the http handlers for service RevertsIoService to "mux". UnaryRPC :call RevertsIoServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRevertsIoServiceHandlerFromEndpoint instead.
func RegisterRevertsIoServiceServer ¶
func RegisterRevertsIoServiceServer(s grpc.ServiceRegistrar, srv RevertsIoServiceServer)
func RegisterUserServiceHandler ¶
func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserServiceHandlerClient ¶
func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.
func RegisterUserServiceHandlerFromEndpoint ¶
func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserServiceHandlerServer ¶
func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead.
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type AcceptNikkahMatchInviteRequest ¶
type AcceptNikkahMatchInviteRequest struct { // The ID of the match invite to accept. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // contains filtered or unexported fields }
AcceptNikkahMatchInviteRequest represents a request to accept a match.
func (*AcceptNikkahMatchInviteRequest) Descriptor
deprecated
func (*AcceptNikkahMatchInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcceptNikkahMatchInviteRequest.ProtoReflect.Descriptor instead.
func (*AcceptNikkahMatchInviteRequest) GetMatchId ¶
func (x *AcceptNikkahMatchInviteRequest) GetMatchId() string
func (*AcceptNikkahMatchInviteRequest) ProtoMessage ¶
func (*AcceptNikkahMatchInviteRequest) ProtoMessage()
func (*AcceptNikkahMatchInviteRequest) ProtoReflect ¶
func (x *AcceptNikkahMatchInviteRequest) ProtoReflect() protoreflect.Message
func (*AcceptNikkahMatchInviteRequest) Reset ¶
func (x *AcceptNikkahMatchInviteRequest) Reset()
func (*AcceptNikkahMatchInviteRequest) String ¶
func (x *AcceptNikkahMatchInviteRequest) String() string
type AcceptRevertMatchInviteRequest ¶
type AcceptRevertMatchInviteRequest struct { // The ID of the match invite to accept. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // contains filtered or unexported fields }
func (*AcceptRevertMatchInviteRequest) Descriptor
deprecated
func (*AcceptRevertMatchInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcceptRevertMatchInviteRequest.ProtoReflect.Descriptor instead.
func (*AcceptRevertMatchInviteRequest) GetMatchId ¶
func (x *AcceptRevertMatchInviteRequest) GetMatchId() string
func (*AcceptRevertMatchInviteRequest) ProtoMessage ¶
func (*AcceptRevertMatchInviteRequest) ProtoMessage()
func (*AcceptRevertMatchInviteRequest) ProtoReflect ¶
func (x *AcceptRevertMatchInviteRequest) ProtoReflect() protoreflect.Message
func (*AcceptRevertMatchInviteRequest) Reset ¶
func (x *AcceptRevertMatchInviteRequest) Reset()
func (*AcceptRevertMatchInviteRequest) String ¶
func (x *AcceptRevertMatchInviteRequest) String() string
type AdhanFile ¶
type AdhanFile struct { // The unique id associated with this file. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The masjid id associated with this file. MasjidId string `protobuf:"bytes,2,opt,name=masjid_id,json=masjidId,proto3" json:"masjid_id,omitempty"` // The bytes of the audio file. This should be in LINEAR16 format at // a sample rate of 16 kHz. File []byte `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` // The create time of the file. This field is output only. CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The update time of the file. This field is output only. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*AdhanFile) Descriptor
deprecated
func (*AdhanFile) GetCreateTime ¶
func (x *AdhanFile) GetCreateTime() *timestamppb.Timestamp
func (*AdhanFile) GetMasjidId ¶
func (*AdhanFile) GetUpdateTime ¶
func (x *AdhanFile) GetUpdateTime() *timestamppb.Timestamp
func (*AdhanFile) ProtoMessage ¶
func (*AdhanFile) ProtoMessage()
func (*AdhanFile) ProtoReflect ¶
func (x *AdhanFile) ProtoReflect() protoreflect.Message
type AdhanServiceClient ¶
type AdhanServiceClient interface { // Creates an adhan audio file in the database for a masjid. CreateAdhanFile(ctx context.Context, in *CreateAdhanFileRequest, opts ...grpc.CallOption) (*AdhanFile, error) // Updates an adhan audio file in the database for a masjid. UpdateAdhanFile(ctx context.Context, in *UpdateAdhanFileRequest, opts ...grpc.CallOption) (*AdhanFile, error) // Get an adhan audio file from the database for a masjid. GetAdhanFile(ctx context.Context, in *GetAdhanFileRequest, opts ...grpc.CallOption) (*AdhanFile, error) // Deletes an adhan audio from the database for a masjid. DeleteAdhanFile(ctx context.Context, in *DeleteAdhanFileRequest, opts ...grpc.CallOption) (*DeleteAdhanFileResponse, error) }
AdhanServiceClient is the client API for AdhanService 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 NewAdhanServiceClient ¶
func NewAdhanServiceClient(cc grpc.ClientConnInterface) AdhanServiceClient
type AdhanServiceServer ¶
type AdhanServiceServer interface { // Creates an adhan audio file in the database for a masjid. CreateAdhanFile(context.Context, *CreateAdhanFileRequest) (*AdhanFile, error) // Updates an adhan audio file in the database for a masjid. UpdateAdhanFile(context.Context, *UpdateAdhanFileRequest) (*AdhanFile, error) // Get an adhan audio file from the database for a masjid. GetAdhanFile(context.Context, *GetAdhanFileRequest) (*AdhanFile, error) // Deletes an adhan audio from the database for a masjid. DeleteAdhanFile(context.Context, *DeleteAdhanFileRequest) (*DeleteAdhanFileResponse, error) // contains filtered or unexported methods }
AdhanServiceServer is the server API for AdhanService service. All implementations must embed UnimplementedAdhanServiceServer for forward compatibility.
type AuthenticateUserRequest ¶
type AuthenticateUserRequest struct { // Use either username or email for authentication. // // Types that are valid to be assigned to Identifier: // // *AuthenticateUserRequest_Username // *AuthenticateUserRequest_Email Identifier isAuthenticateUserRequest_Identifier `protobuf_oneof:"identifier"` // The password for authentication Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateUserRequest) Descriptor
deprecated
func (*AuthenticateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateUserRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateUserRequest) GetEmail ¶
func (x *AuthenticateUserRequest) GetEmail() string
func (*AuthenticateUserRequest) GetIdentifier ¶
func (x *AuthenticateUserRequest) GetIdentifier() isAuthenticateUserRequest_Identifier
func (*AuthenticateUserRequest) GetPassword ¶
func (x *AuthenticateUserRequest) GetPassword() string
func (*AuthenticateUserRequest) GetUsername ¶
func (x *AuthenticateUserRequest) GetUsername() string
func (*AuthenticateUserRequest) ProtoMessage ¶
func (*AuthenticateUserRequest) ProtoMessage()
func (*AuthenticateUserRequest) ProtoReflect ¶
func (x *AuthenticateUserRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateUserRequest) Reset ¶
func (x *AuthenticateUserRequest) Reset()
func (*AuthenticateUserRequest) String ¶
func (x *AuthenticateUserRequest) String() string
type AuthenticateUserRequest_Email ¶
type AuthenticateUserRequest_Email struct {
Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}
type AuthenticateUserRequest_Username ¶
type AuthenticateUserRequest_Username struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3,oneof"`
}
type AuthenticateUserResponse ¶
type AuthenticateUserResponse struct { // The access token for subsequent authenticated requests. AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // The refresh token to obtain a new access token when it expires. RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // The ID of the authenticated user (if successful). UserId int32 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateUserResponse) Descriptor
deprecated
func (*AuthenticateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateUserResponse.ProtoReflect.Descriptor instead.
func (*AuthenticateUserResponse) GetAccessToken ¶
func (x *AuthenticateUserResponse) GetAccessToken() string
func (*AuthenticateUserResponse) GetRefreshToken ¶
func (x *AuthenticateUserResponse) GetRefreshToken() string
func (*AuthenticateUserResponse) GetUserId ¶
func (x *AuthenticateUserResponse) GetUserId() int32
func (*AuthenticateUserResponse) ProtoMessage ¶
func (*AuthenticateUserResponse) ProtoMessage()
func (*AuthenticateUserResponse) ProtoReflect ¶
func (x *AuthenticateUserResponse) ProtoReflect() protoreflect.Message
func (*AuthenticateUserResponse) Reset ¶
func (x *AuthenticateUserResponse) Reset()
func (*AuthenticateUserResponse) String ¶
func (x *AuthenticateUserResponse) String() string
type CancelNikkahLikeRequest ¶
type CancelNikkahLikeRequest struct { // The ID of the like process to cancel. LikeId string `protobuf:"bytes,1,opt,name=like_id,json=likeId,proto3" json:"like_id,omitempty"` // contains filtered or unexported fields }
CancelNikkahLikeRequest represents a request to cancel a like.
func (*CancelNikkahLikeRequest) Descriptor
deprecated
func (*CancelNikkahLikeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelNikkahLikeRequest.ProtoReflect.Descriptor instead.
func (*CancelNikkahLikeRequest) GetLikeId ¶
func (x *CancelNikkahLikeRequest) GetLikeId() string
func (*CancelNikkahLikeRequest) ProtoMessage ¶
func (*CancelNikkahLikeRequest) ProtoMessage()
func (*CancelNikkahLikeRequest) ProtoReflect ¶
func (x *CancelNikkahLikeRequest) ProtoReflect() protoreflect.Message
func (*CancelNikkahLikeRequest) Reset ¶
func (x *CancelNikkahLikeRequest) Reset()
func (*CancelNikkahLikeRequest) String ¶
func (x *CancelNikkahLikeRequest) String() string
type CompleteNikkahLikeRequest ¶
type CompleteNikkahLikeRequest struct { // The ID of the like to complete. LikeId string `protobuf:"bytes,1,opt,name=like_id,json=likeId,proto3" json:"like_id,omitempty"` // contains filtered or unexported fields }
CompleteNikkahLikeRequest represents a request to complete a like.
func (*CompleteNikkahLikeRequest) Descriptor
deprecated
func (*CompleteNikkahLikeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteNikkahLikeRequest.ProtoReflect.Descriptor instead.
func (*CompleteNikkahLikeRequest) GetLikeId ¶
func (x *CompleteNikkahLikeRequest) GetLikeId() string
func (*CompleteNikkahLikeRequest) ProtoMessage ¶
func (*CompleteNikkahLikeRequest) ProtoMessage()
func (*CompleteNikkahLikeRequest) ProtoReflect ¶
func (x *CompleteNikkahLikeRequest) ProtoReflect() protoreflect.Message
func (*CompleteNikkahLikeRequest) Reset ¶
func (x *CompleteNikkahLikeRequest) Reset()
func (*CompleteNikkahLikeRequest) String ¶
func (x *CompleteNikkahLikeRequest) String() string
type CompleteNikkahLikeResponse ¶
type CompleteNikkahLikeResponse struct { // The like that was completed. Like *NikkahLike `protobuf:"bytes,1,opt,name=like,proto3" json:"like,omitempty"` // The match that was initiated. Match *NikkahMatch `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"` // contains filtered or unexported fields }
CompleteNikkahLikeResponse represents a response to a complete like request.
func (*CompleteNikkahLikeResponse) Descriptor
deprecated
func (*CompleteNikkahLikeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompleteNikkahLikeResponse.ProtoReflect.Descriptor instead.
func (*CompleteNikkahLikeResponse) GetLike ¶
func (x *CompleteNikkahLikeResponse) GetLike() *NikkahLike
func (*CompleteNikkahLikeResponse) GetMatch ¶
func (x *CompleteNikkahLikeResponse) GetMatch() *NikkahMatch
func (*CompleteNikkahLikeResponse) ProtoMessage ¶
func (*CompleteNikkahLikeResponse) ProtoMessage()
func (*CompleteNikkahLikeResponse) ProtoReflect ¶
func (x *CompleteNikkahLikeResponse) ProtoReflect() protoreflect.Message
func (*CompleteNikkahLikeResponse) Reset ¶
func (x *CompleteNikkahLikeResponse) Reset()
func (*CompleteNikkahLikeResponse) String ¶
func (x *CompleteNikkahLikeResponse) String() string
type CreateAdhanFileRequest ¶
type CreateAdhanFileRequest struct { // The adhan file to create. AdhanFile *AdhanFile `protobuf:"bytes,1,opt,name=adhan_file,json=adhanFile,proto3" json:"adhan_file,omitempty"` // contains filtered or unexported fields }
func (*CreateAdhanFileRequest) Descriptor
deprecated
func (*CreateAdhanFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAdhanFileRequest.ProtoReflect.Descriptor instead.
func (*CreateAdhanFileRequest) GetAdhanFile ¶
func (x *CreateAdhanFileRequest) GetAdhanFile() *AdhanFile
func (*CreateAdhanFileRequest) ProtoMessage ¶
func (*CreateAdhanFileRequest) ProtoMessage()
func (*CreateAdhanFileRequest) ProtoReflect ¶
func (x *CreateAdhanFileRequest) ProtoReflect() protoreflect.Message
func (*CreateAdhanFileRequest) Reset ¶
func (x *CreateAdhanFileRequest) Reset()
func (*CreateAdhanFileRequest) String ¶
func (x *CreateAdhanFileRequest) String() string
type CreateEventRequest ¶
type CreateEventRequest struct { // The event to create in the database. Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*CreateEventRequest) Descriptor
deprecated
func (*CreateEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEventRequest.ProtoReflect.Descriptor instead.
func (*CreateEventRequest) GetEvent ¶
func (x *CreateEventRequest) GetEvent() *Event
func (*CreateEventRequest) ProtoMessage ¶
func (*CreateEventRequest) ProtoMessage()
func (*CreateEventRequest) ProtoReflect ¶
func (x *CreateEventRequest) ProtoReflect() protoreflect.Message
func (*CreateEventRequest) Reset ¶
func (x *CreateEventRequest) Reset()
func (*CreateEventRequest) String ¶
func (x *CreateEventRequest) String() string
type CreateMasjidRequest ¶
type CreateMasjidRequest struct { // The masjid to create in the database. Masjid *Masjid `protobuf:"bytes,1,opt,name=masjid,proto3" json:"masjid,omitempty"` // contains filtered or unexported fields }
func (*CreateMasjidRequest) Descriptor
deprecated
func (*CreateMasjidRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMasjidRequest.ProtoReflect.Descriptor instead.
func (*CreateMasjidRequest) GetMasjid ¶
func (x *CreateMasjidRequest) GetMasjid() *Masjid
func (*CreateMasjidRequest) ProtoMessage ¶
func (*CreateMasjidRequest) ProtoMessage()
func (*CreateMasjidRequest) ProtoReflect ¶
func (x *CreateMasjidRequest) ProtoReflect() protoreflect.Message
func (*CreateMasjidRequest) Reset ¶
func (x *CreateMasjidRequest) Reset()
func (*CreateMasjidRequest) String ¶
func (x *CreateMasjidRequest) String() string
type CreateNikkahProfileRequest ¶
type CreateNikkahProfileRequest struct { // The profile to create in the database. Profile *NikkahProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
CreateNikkahProfileRequest represents a request to create a profile.
func (*CreateNikkahProfileRequest) Descriptor
deprecated
func (*CreateNikkahProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNikkahProfileRequest.ProtoReflect.Descriptor instead.
func (*CreateNikkahProfileRequest) GetProfile ¶
func (x *CreateNikkahProfileRequest) GetProfile() *NikkahProfile
func (*CreateNikkahProfileRequest) ProtoMessage ¶
func (*CreateNikkahProfileRequest) ProtoMessage()
func (*CreateNikkahProfileRequest) ProtoReflect ¶
func (x *CreateNikkahProfileRequest) ProtoReflect() protoreflect.Message
func (*CreateNikkahProfileRequest) Reset ¶
func (x *CreateNikkahProfileRequest) Reset()
func (*CreateNikkahProfileRequest) String ¶
func (x *CreateNikkahProfileRequest) String() string
type CreateRevertMatchInviteRequest ¶
type CreateRevertMatchInviteRequest struct { // The ID of the profile receiving the match invite. ReceiverProfileId string `protobuf:"bytes,1,opt,name=receiver_profile_id,json=receiverProfileId,proto3" json:"receiver_profile_id,omitempty"` // contains filtered or unexported fields }
func (*CreateRevertMatchInviteRequest) Descriptor
deprecated
func (*CreateRevertMatchInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRevertMatchInviteRequest.ProtoReflect.Descriptor instead.
func (*CreateRevertMatchInviteRequest) GetReceiverProfileId ¶
func (x *CreateRevertMatchInviteRequest) GetReceiverProfileId() string
func (*CreateRevertMatchInviteRequest) ProtoMessage ¶
func (*CreateRevertMatchInviteRequest) ProtoMessage()
func (*CreateRevertMatchInviteRequest) ProtoReflect ¶
func (x *CreateRevertMatchInviteRequest) ProtoReflect() protoreflect.Message
func (*CreateRevertMatchInviteRequest) Reset ¶
func (x *CreateRevertMatchInviteRequest) Reset()
func (*CreateRevertMatchInviteRequest) String ¶
func (x *CreateRevertMatchInviteRequest) String() string
type CreateRevertProfileRequest ¶
type CreateRevertProfileRequest struct { // The profile to create in the database. Profile *RevertProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*CreateRevertProfileRequest) Descriptor
deprecated
func (*CreateRevertProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRevertProfileRequest.ProtoReflect.Descriptor instead.
func (*CreateRevertProfileRequest) GetProfile ¶
func (x *CreateRevertProfileRequest) GetProfile() *RevertProfile
func (*CreateRevertProfileRequest) ProtoMessage ¶
func (*CreateRevertProfileRequest) ProtoMessage()
func (*CreateRevertProfileRequest) ProtoReflect ¶
func (x *CreateRevertProfileRequest) ProtoReflect() protoreflect.Message
func (*CreateRevertProfileRequest) Reset ¶
func (x *CreateRevertProfileRequest) Reset()
func (*CreateRevertProfileRequest) String ¶
func (x *CreateRevertProfileRequest) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { // The user to create. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // The password for the user. This password is hashed before being // stored in the database. // The password must be at least 8 characters. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetPassword ¶
func (x *CreateUserRequest) GetPassword() string
func (*CreateUserRequest) GetUser ¶
func (x *CreateUserRequest) GetUser() *User
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type DeleteAdhanFileRequest ¶
type DeleteAdhanFileRequest struct { // The adhan file id to delete. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAdhanFileRequest) Descriptor
deprecated
func (*DeleteAdhanFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAdhanFileRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdhanFileRequest) GetId ¶
func (x *DeleteAdhanFileRequest) GetId() string
func (*DeleteAdhanFileRequest) ProtoMessage ¶
func (*DeleteAdhanFileRequest) ProtoMessage()
func (*DeleteAdhanFileRequest) ProtoReflect ¶
func (x *DeleteAdhanFileRequest) ProtoReflect() protoreflect.Message
func (*DeleteAdhanFileRequest) Reset ¶
func (x *DeleteAdhanFileRequest) Reset()
func (*DeleteAdhanFileRequest) String ¶
func (x *DeleteAdhanFileRequest) String() string
type DeleteAdhanFileResponse ¶
type DeleteAdhanFileResponse struct {
// contains filtered or unexported fields
}
func (*DeleteAdhanFileResponse) Descriptor
deprecated
func (*DeleteAdhanFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAdhanFileResponse.ProtoReflect.Descriptor instead.
func (*DeleteAdhanFileResponse) ProtoMessage ¶
func (*DeleteAdhanFileResponse) ProtoMessage()
func (*DeleteAdhanFileResponse) ProtoReflect ¶
func (x *DeleteAdhanFileResponse) ProtoReflect() protoreflect.Message
func (*DeleteAdhanFileResponse) Reset ¶
func (x *DeleteAdhanFileResponse) Reset()
func (*DeleteAdhanFileResponse) String ¶
func (x *DeleteAdhanFileResponse) String() string
type DeleteEventRequest ¶
type DeleteEventRequest struct { // The id of the event that should be deleted. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteEventRequest) Descriptor
deprecated
func (*DeleteEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEventRequest.ProtoReflect.Descriptor instead.
func (*DeleteEventRequest) GetId ¶
func (x *DeleteEventRequest) GetId() string
func (*DeleteEventRequest) ProtoMessage ¶
func (*DeleteEventRequest) ProtoMessage()
func (*DeleteEventRequest) ProtoReflect ¶
func (x *DeleteEventRequest) ProtoReflect() protoreflect.Message
func (*DeleteEventRequest) Reset ¶
func (x *DeleteEventRequest) Reset()
func (*DeleteEventRequest) String ¶
func (x *DeleteEventRequest) String() string
type DeleteEventResponse ¶
type DeleteEventResponse struct {
// contains filtered or unexported fields
}
func (*DeleteEventResponse) Descriptor
deprecated
func (*DeleteEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEventResponse.ProtoReflect.Descriptor instead.
func (*DeleteEventResponse) ProtoMessage ¶
func (*DeleteEventResponse) ProtoMessage()
func (*DeleteEventResponse) ProtoReflect ¶
func (x *DeleteEventResponse) ProtoReflect() protoreflect.Message
func (*DeleteEventResponse) Reset ¶
func (x *DeleteEventResponse) Reset()
func (*DeleteEventResponse) String ¶
func (x *DeleteEventResponse) String() string
type DeleteMasjidRequest ¶
type DeleteMasjidRequest struct { // The id of the masjid that should be deleted. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMasjidRequest) Descriptor
deprecated
func (*DeleteMasjidRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMasjidRequest.ProtoReflect.Descriptor instead.
func (*DeleteMasjidRequest) GetId ¶
func (x *DeleteMasjidRequest) GetId() string
func (*DeleteMasjidRequest) ProtoMessage ¶
func (*DeleteMasjidRequest) ProtoMessage()
func (*DeleteMasjidRequest) ProtoReflect ¶
func (x *DeleteMasjidRequest) ProtoReflect() protoreflect.Message
func (*DeleteMasjidRequest) Reset ¶
func (x *DeleteMasjidRequest) Reset()
func (*DeleteMasjidRequest) String ¶
func (x *DeleteMasjidRequest) String() string
type DeleteMasjidResponse ¶
type DeleteMasjidResponse struct {
// contains filtered or unexported fields
}
func (*DeleteMasjidResponse) Descriptor
deprecated
func (*DeleteMasjidResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMasjidResponse.ProtoReflect.Descriptor instead.
func (*DeleteMasjidResponse) ProtoMessage ¶
func (*DeleteMasjidResponse) ProtoMessage()
func (*DeleteMasjidResponse) ProtoReflect ¶
func (x *DeleteMasjidResponse) ProtoReflect() protoreflect.Message
func (*DeleteMasjidResponse) Reset ¶
func (x *DeleteMasjidResponse) Reset()
func (*DeleteMasjidResponse) String ¶
func (x *DeleteMasjidResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { // The id of the user to delete. Id string `protobuf:"bytes,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() string
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 DeleteUserResponse ¶
type DeleteUserResponse struct {
// contains filtered or unexported fields
}
Empty response returned for DeleteUser RPC.
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
type EndNikkahMatchRequest ¶
type EndNikkahMatchRequest struct { // The ID of the match invite to end. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // contains filtered or unexported fields }
EndNikkahMatchRequest represents a request to end a match.
func (*EndNikkahMatchRequest) Descriptor
deprecated
func (*EndNikkahMatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use EndNikkahMatchRequest.ProtoReflect.Descriptor instead.
func (*EndNikkahMatchRequest) GetMatchId ¶
func (x *EndNikkahMatchRequest) GetMatchId() string
func (*EndNikkahMatchRequest) ProtoMessage ¶
func (*EndNikkahMatchRequest) ProtoMessage()
func (*EndNikkahMatchRequest) ProtoReflect ¶
func (x *EndNikkahMatchRequest) ProtoReflect() protoreflect.Message
func (*EndNikkahMatchRequest) Reset ¶
func (x *EndNikkahMatchRequest) Reset()
func (*EndNikkahMatchRequest) String ¶
func (x *EndNikkahMatchRequest) String() string
type EndRevertMatchRequest ¶
type EndRevertMatchRequest struct { // The ID of the match invite to end. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // contains filtered or unexported fields }
func (*EndRevertMatchRequest) Descriptor
deprecated
func (*EndRevertMatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use EndRevertMatchRequest.ProtoReflect.Descriptor instead.
func (*EndRevertMatchRequest) GetMatchId ¶
func (x *EndRevertMatchRequest) GetMatchId() string
func (*EndRevertMatchRequest) ProtoMessage ¶
func (*EndRevertMatchRequest) ProtoMessage()
func (*EndRevertMatchRequest) ProtoReflect ¶
func (x *EndRevertMatchRequest) ProtoReflect() protoreflect.Message
func (*EndRevertMatchRequest) Reset ¶
func (x *EndRevertMatchRequest) Reset()
func (*EndRevertMatchRequest) String ¶
func (x *EndRevertMatchRequest) String() string
type Event ¶
type Event struct { // The unique id associated with the event. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The id of the organization which owns the event. OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // The name of the event. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // The description of the event. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // The start time of the event. StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The end time of the event. EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The gender restriction associated with the event. GenderRestriction Event_GenderRestriction `` /* 152-byte string literal not displayed */ // The different event types associated with this event. Types []Event_EventType `protobuf:"varint,9,rep,packed,name=types,proto3,enum=limestone.Event_EventType" json:"types,omitempty"` // Whether or not the event is a paid event. IsPaid bool `protobuf:"varint,10,opt,name=is_paid,json=isPaid,proto3" json:"is_paid,omitempty"` // Whether or not the event requires RSVP. RequiresRsvp bool `protobuf:"varint,11,opt,name=requires_rsvp,json=requiresRsvp,proto3" json:"requires_rsvp,omitempty"` // The maximum number of participants for this event. If set to -1, then there // is no limit on the number of participants. MaxParticipants int32 `protobuf:"varint,12,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"` // The livestream link for this event. If empty, then there is no livestream // associated with the event. LivestreamLink string `protobuf:"bytes,13,opt,name=livestream_link,json=livestreamLink,proto3" json:"livestream_link,omitempty"` // The create time of the event. This field is output only. CreateTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The update time of the event. This field is output only. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetCreateTime ¶
func (x *Event) GetCreateTime() *timestamppb.Timestamp
func (*Event) GetDescription ¶
func (*Event) GetEndTime ¶
func (x *Event) GetEndTime() *timestamppb.Timestamp
func (*Event) GetGenderRestriction ¶
func (x *Event) GetGenderRestriction() Event_GenderRestriction
func (*Event) GetLivestreamLink ¶
func (*Event) GetMaxParticipants ¶
func (*Event) GetOrganizationId ¶
func (*Event) GetRequiresRsvp ¶
func (*Event) GetStartTime ¶
func (x *Event) GetStartTime() *timestamppb.Timestamp
func (*Event) GetTypes ¶
func (x *Event) GetTypes() []Event_EventType
func (*Event) GetUpdateTime ¶
func (x *Event) GetUpdateTime() *timestamppb.Timestamp
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventServiceClient ¶
type EventServiceClient interface { // Creates a event in the database. CreateEvent(ctx context.Context, in *CreateEventRequest, opts ...grpc.CallOption) (*Event, error) // Updates a event in the database with the corresponding id to the given // event (i.e. all fields are overwritten). UpdateEvent(ctx context.Context, in *UpdateEventRequest, opts ...grpc.CallOption) (*Event, error) // Deletes a event from the database with the given id. DeleteEvent(ctx context.Context, in *DeleteEventRequest, opts ...grpc.CallOption) (*DeleteEventResponse, error) // Gets a event from the database with the given id. GetEvent(ctx context.Context, in *GetEventRequest, opts ...grpc.CallOption) (*Event, error) // Returns a paginated list of events from the database. ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error) }
EventServiceClient is the client API for EventService 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 NewEventServiceClient ¶
func NewEventServiceClient(cc grpc.ClientConnInterface) EventServiceClient
type EventServiceServer ¶
type EventServiceServer interface { // Creates a event in the database. CreateEvent(context.Context, *CreateEventRequest) (*Event, error) // Updates a event in the database with the corresponding id to the given // event (i.e. all fields are overwritten). UpdateEvent(context.Context, *UpdateEventRequest) (*Event, error) // Deletes a event from the database with the given id. DeleteEvent(context.Context, *DeleteEventRequest) (*DeleteEventResponse, error) // Gets a event from the database with the given id. GetEvent(context.Context, *GetEventRequest) (*Event, error) // Returns a paginated list of events from the database. ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) // contains filtered or unexported methods }
EventServiceServer is the server API for EventService service. All implementations must embed UnimplementedEventServiceServer for forward compatibility.
type Event_EventType ¶
type Event_EventType int32
Specifies the different event types an event can be specified as.
const ( // The event is a worship event such as Eid salah. Event_WORSHIP Event_EventType = 0 // The event is an educational event such as a class or lecture. Event_EDUCATIONAL Event_EventType = 1 // The event is a social community event. Event_COMMUNITY Event_EventType = 2 // The event is an athletic event such as fitness class or a sports game. Event_ATHLETIC Event_EventType = 3 // The event is related to fundraising. Event_FUNDRAISING Event_EventType = 4 // The event is relevant to the youth. Event_YOUTH Event_EventType = 5 // The event is specific to children. Event_CHILDREN_SPECIFIC Event_EventType = 6 // The event is related to marriage. Event_MATRIMONIAL Event_EventType = 7 // The event is a funeral. Event_FUNERAL Event_EventType = 8 )
func (Event_EventType) Descriptor ¶
func (Event_EventType) Descriptor() protoreflect.EnumDescriptor
func (Event_EventType) Enum ¶
func (x Event_EventType) Enum() *Event_EventType
func (Event_EventType) EnumDescriptor
deprecated
func (Event_EventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_EventType.Descriptor instead.
func (Event_EventType) Number ¶
func (x Event_EventType) Number() protoreflect.EnumNumber
func (Event_EventType) String ¶
func (x Event_EventType) String() string
func (Event_EventType) Type ¶
func (Event_EventType) Type() protoreflect.EnumType
type Event_GenderRestriction ¶
type Event_GenderRestriction int32
Specifies the gender restriction associated with the event.
const ( // No restriction on gender for event, aka co-ed. Event_NO_RESTRICTION Event_GenderRestriction = 0 // Male only event. Event_MALE_ONLY Event_GenderRestriction = 1 // Female only event. Event_FEMALE_ONLY Event_GenderRestriction = 2 )
func (Event_GenderRestriction) Descriptor ¶
func (Event_GenderRestriction) Descriptor() protoreflect.EnumDescriptor
func (Event_GenderRestriction) Enum ¶
func (x Event_GenderRestriction) Enum() *Event_GenderRestriction
func (Event_GenderRestriction) EnumDescriptor
deprecated
func (Event_GenderRestriction) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_GenderRestriction.Descriptor instead.
func (Event_GenderRestriction) Number ¶
func (x Event_GenderRestriction) Number() protoreflect.EnumNumber
func (Event_GenderRestriction) String ¶
func (x Event_GenderRestriction) String() string
func (Event_GenderRestriction) Type ¶
func (Event_GenderRestriction) Type() protoreflect.EnumType
type GetAdhanFileRequest ¶
type GetAdhanFileRequest struct { // The adhan file id to get. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAdhanFileRequest) Descriptor
deprecated
func (*GetAdhanFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAdhanFileRequest.ProtoReflect.Descriptor instead.
func (*GetAdhanFileRequest) GetId ¶
func (x *GetAdhanFileRequest) GetId() string
func (*GetAdhanFileRequest) ProtoMessage ¶
func (*GetAdhanFileRequest) ProtoMessage()
func (*GetAdhanFileRequest) ProtoReflect ¶
func (x *GetAdhanFileRequest) ProtoReflect() protoreflect.Message
func (*GetAdhanFileRequest) Reset ¶
func (x *GetAdhanFileRequest) Reset()
func (*GetAdhanFileRequest) String ¶
func (x *GetAdhanFileRequest) String() string
type GetEventRequest ¶
type GetEventRequest struct { // The id of the event that should be returned. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetEventRequest) Descriptor
deprecated
func (*GetEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventRequest.ProtoReflect.Descriptor instead.
func (*GetEventRequest) GetId ¶
func (x *GetEventRequest) GetId() string
func (*GetEventRequest) ProtoMessage ¶
func (*GetEventRequest) ProtoMessage()
func (*GetEventRequest) ProtoReflect ¶
func (x *GetEventRequest) ProtoReflect() protoreflect.Message
func (*GetEventRequest) Reset ¶
func (x *GetEventRequest) Reset()
func (*GetEventRequest) String ¶
func (x *GetEventRequest) String() string
type GetMasjidRequest ¶
type GetMasjidRequest struct { // The id of the masjid that should be returned. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetMasjidRequest) Descriptor
deprecated
func (*GetMasjidRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMasjidRequest.ProtoReflect.Descriptor instead.
func (*GetMasjidRequest) GetId ¶
func (x *GetMasjidRequest) GetId() string
func (*GetMasjidRequest) ProtoMessage ¶
func (*GetMasjidRequest) ProtoMessage()
func (*GetMasjidRequest) ProtoReflect ¶
func (x *GetMasjidRequest) ProtoReflect() protoreflect.Message
func (*GetMasjidRequest) Reset ¶
func (x *GetMasjidRequest) Reset()
func (*GetMasjidRequest) String ¶
func (x *GetMasjidRequest) String() string
type GetNikkahProfileRequest ¶
type GetNikkahProfileRequest struct { // The ID of the profile to retrieve. ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"` // contains filtered or unexported fields }
GetNikkahProfileRequest represents the request to get a specific profile.
func (*GetNikkahProfileRequest) Descriptor
deprecated
func (*GetNikkahProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNikkahProfileRequest.ProtoReflect.Descriptor instead.
func (*GetNikkahProfileRequest) GetProfileId ¶
func (x *GetNikkahProfileRequest) GetProfileId() string
func (*GetNikkahProfileRequest) ProtoMessage ¶
func (*GetNikkahProfileRequest) ProtoMessage()
func (*GetNikkahProfileRequest) ProtoReflect ¶
func (x *GetNikkahProfileRequest) ProtoReflect() protoreflect.Message
func (*GetNikkahProfileRequest) Reset ¶
func (x *GetNikkahProfileRequest) Reset()
func (*GetNikkahProfileRequest) String ¶
func (x *GetNikkahProfileRequest) String() string
type GetRevertProfileRequest ¶
type GetRevertProfileRequest struct { // The ID of the profile to retrieve. ProfileId string `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"` // contains filtered or unexported fields }
GetRevertProfileRequest represents the request to get a specific profile.
func (*GetRevertProfileRequest) Descriptor
deprecated
func (*GetRevertProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRevertProfileRequest.ProtoReflect.Descriptor instead.
func (*GetRevertProfileRequest) GetProfileId ¶
func (x *GetRevertProfileRequest) GetProfileId() string
func (*GetRevertProfileRequest) ProtoMessage ¶
func (*GetRevertProfileRequest) ProtoMessage()
func (*GetRevertProfileRequest) ProtoReflect ¶
func (x *GetRevertProfileRequest) ProtoReflect() protoreflect.Message
func (*GetRevertProfileRequest) Reset ¶
func (x *GetRevertProfileRequest) Reset()
func (*GetRevertProfileRequest) String ¶
func (x *GetRevertProfileRequest) String() string
type GetSelfNikkahProfileRequest ¶
type GetSelfNikkahProfileRequest struct {
// contains filtered or unexported fields
}
GetSelfNikkahProfileRequest is an empty request, as the profile is fetched for the authenticated user.
func (*GetSelfNikkahProfileRequest) Descriptor
deprecated
func (*GetSelfNikkahProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSelfNikkahProfileRequest.ProtoReflect.Descriptor instead.
func (*GetSelfNikkahProfileRequest) ProtoMessage ¶
func (*GetSelfNikkahProfileRequest) ProtoMessage()
func (*GetSelfNikkahProfileRequest) ProtoReflect ¶
func (x *GetSelfNikkahProfileRequest) ProtoReflect() protoreflect.Message
func (*GetSelfNikkahProfileRequest) Reset ¶
func (x *GetSelfNikkahProfileRequest) Reset()
func (*GetSelfNikkahProfileRequest) String ¶
func (x *GetSelfNikkahProfileRequest) String() string
type GetSelfRevertProfileRequest ¶
type GetSelfRevertProfileRequest struct {
// contains filtered or unexported fields
}
GetSelfRevertProfileRequest is an empty request, as the profile is fetched for the authenticated user.
func (*GetSelfRevertProfileRequest) Descriptor
deprecated
func (*GetSelfRevertProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSelfRevertProfileRequest.ProtoReflect.Descriptor instead.
func (*GetSelfRevertProfileRequest) ProtoMessage ¶
func (*GetSelfRevertProfileRequest) ProtoMessage()
func (*GetSelfRevertProfileRequest) ProtoReflect ¶
func (x *GetSelfRevertProfileRequest) ProtoReflect() protoreflect.Message
func (*GetSelfRevertProfileRequest) Reset ¶
func (x *GetSelfRevertProfileRequest) Reset()
func (*GetSelfRevertProfileRequest) String ¶
func (x *GetSelfRevertProfileRequest) String() string
type GetUserRequest ¶
type GetUserRequest struct { // The id of the user to get. Id string `protobuf:"bytes,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() string
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 { // The authenticated user. 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 InitiateNikkahLikeRequest ¶
type InitiateNikkahLikeRequest struct { // The like to create in the database. Like *NikkahLike `protobuf:"bytes,1,opt,name=like,proto3" json:"like,omitempty"` // contains filtered or unexported fields }
InitiateNikkahLikeRequest represents a request to initiate a like.
func (*InitiateNikkahLikeRequest) Descriptor
deprecated
func (*InitiateNikkahLikeRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitiateNikkahLikeRequest.ProtoReflect.Descriptor instead.
func (*InitiateNikkahLikeRequest) GetLike ¶
func (x *InitiateNikkahLikeRequest) GetLike() *NikkahLike
func (*InitiateNikkahLikeRequest) ProtoMessage ¶
func (*InitiateNikkahLikeRequest) ProtoMessage()
func (*InitiateNikkahLikeRequest) ProtoReflect ¶
func (x *InitiateNikkahLikeRequest) ProtoReflect() protoreflect.Message
func (*InitiateNikkahLikeRequest) Reset ¶
func (x *InitiateNikkahLikeRequest) Reset()
func (*InitiateNikkahLikeRequest) String ¶
func (x *InitiateNikkahLikeRequest) String() string
type ListEventsRequest ¶
type ListEventsRequest struct { // The maximum number of events to return. Fewer events might be returned. // Default value is 25. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token from a previous `ListEvents` call. If this is provided, then the // next page will be returned. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListEventsRequest) Descriptor
deprecated
func (*ListEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.
func (*ListEventsRequest) GetPageSize ¶
func (x *ListEventsRequest) GetPageSize() int32
func (*ListEventsRequest) GetPageToken ¶
func (x *ListEventsRequest) GetPageToken() string
func (*ListEventsRequest) ProtoMessage ¶
func (*ListEventsRequest) ProtoMessage()
func (*ListEventsRequest) ProtoReflect ¶
func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
func (*ListEventsRequest) Reset ¶
func (x *ListEventsRequest) Reset()
func (*ListEventsRequest) String ¶
func (x *ListEventsRequest) String() string
type ListEventsResponse ¶
type ListEventsResponse struct { // The list of returned events. Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*ListEventsResponse) Descriptor
deprecated
func (*ListEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.
func (*ListEventsResponse) GetEvents ¶
func (x *ListEventsResponse) GetEvents() []*Event
func (*ListEventsResponse) ProtoMessage ¶
func (*ListEventsResponse) ProtoMessage()
func (*ListEventsResponse) ProtoReflect ¶
func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
func (*ListEventsResponse) Reset ¶
func (x *ListEventsResponse) Reset()
func (*ListEventsResponse) String ¶
func (x *ListEventsResponse) String() string
type ListMasjidsRequest ¶
type ListMasjidsRequest struct { // The maximum number of masjids to return. Fewer masjids might be returned. // Default value is 25. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token from a previous `ListMasjids` call. If this is provided, then the // next page will be returned. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListMasjidsRequest) Descriptor
deprecated
func (*ListMasjidsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMasjidsRequest.ProtoReflect.Descriptor instead.
func (*ListMasjidsRequest) GetPageSize ¶
func (x *ListMasjidsRequest) GetPageSize() int32
func (*ListMasjidsRequest) GetPageToken ¶
func (x *ListMasjidsRequest) GetPageToken() string
func (*ListMasjidsRequest) ProtoMessage ¶
func (*ListMasjidsRequest) ProtoMessage()
func (*ListMasjidsRequest) ProtoReflect ¶
func (x *ListMasjidsRequest) ProtoReflect() protoreflect.Message
func (*ListMasjidsRequest) Reset ¶
func (x *ListMasjidsRequest) Reset()
func (*ListMasjidsRequest) String ¶
func (x *ListMasjidsRequest) String() string
type ListMasjidsResponse ¶
type ListMasjidsResponse struct { // The list of returned masjids. Masjids []*Masjid `protobuf:"bytes,1,rep,name=masjids,proto3" json:"masjids,omitempty"` // contains filtered or unexported fields }
func (*ListMasjidsResponse) Descriptor
deprecated
func (*ListMasjidsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMasjidsResponse.ProtoReflect.Descriptor instead.
func (*ListMasjidsResponse) GetMasjids ¶
func (x *ListMasjidsResponse) GetMasjids() []*Masjid
func (*ListMasjidsResponse) ProtoMessage ¶
func (*ListMasjidsResponse) ProtoMessage()
func (*ListMasjidsResponse) ProtoReflect ¶
func (x *ListMasjidsResponse) ProtoReflect() protoreflect.Message
func (*ListMasjidsResponse) Reset ¶
func (x *ListMasjidsResponse) Reset()
func (*ListMasjidsResponse) String ¶
func (x *ListMasjidsResponse) String() string
type ListNikkahProfilesRequest ¶
type ListNikkahProfilesRequest struct { // The maximum number of profiles to return. Fewer profiles might be returned. // Default value is 25. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token from a previous `ListNikkahProfiles` call. If this is provided, then the // next page will be returned. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
ListNikkahProfilesRequest represents a request to list profiles.
func (*ListNikkahProfilesRequest) Descriptor
deprecated
func (*ListNikkahProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNikkahProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListNikkahProfilesRequest) GetPageSize ¶
func (x *ListNikkahProfilesRequest) GetPageSize() int32
func (*ListNikkahProfilesRequest) GetPageToken ¶
func (x *ListNikkahProfilesRequest) GetPageToken() string
func (*ListNikkahProfilesRequest) ProtoMessage ¶
func (*ListNikkahProfilesRequest) ProtoMessage()
func (*ListNikkahProfilesRequest) ProtoReflect ¶
func (x *ListNikkahProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListNikkahProfilesRequest) Reset ¶
func (x *ListNikkahProfilesRequest) Reset()
func (*ListNikkahProfilesRequest) String ¶
func (x *ListNikkahProfilesRequest) String() string
type ListNikkahProfilesResponse ¶
type ListNikkahProfilesResponse struct { // The list of returned profiles. Profiles []*NikkahProfile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` // A page token that can be used in a subsequent `ListNikkahProfiles` // call to fetch the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
ListNikkahProfilesResponse represents a response to a list of profiles.
func (*ListNikkahProfilesResponse) Descriptor
deprecated
func (*ListNikkahProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNikkahProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListNikkahProfilesResponse) GetNextPageToken ¶
func (x *ListNikkahProfilesResponse) GetNextPageToken() string
func (*ListNikkahProfilesResponse) GetProfiles ¶
func (x *ListNikkahProfilesResponse) GetProfiles() []*NikkahProfile
func (*ListNikkahProfilesResponse) ProtoMessage ¶
func (*ListNikkahProfilesResponse) ProtoMessage()
func (*ListNikkahProfilesResponse) ProtoReflect ¶
func (x *ListNikkahProfilesResponse) ProtoReflect() protoreflect.Message
func (*ListNikkahProfilesResponse) Reset ¶
func (x *ListNikkahProfilesResponse) Reset()
func (*ListNikkahProfilesResponse) String ¶
func (x *ListNikkahProfilesResponse) String() string
type ListRevertProfilesRequest ¶
type ListRevertProfilesRequest struct { // The maximum number of profiles to return. Fewer profiles might be returned. // Default value is 25. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token from a previous `ListRevertProfiles` call. If this is provided, then the // next page will be returned. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRevertProfilesRequest) Descriptor
deprecated
func (*ListRevertProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRevertProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListRevertProfilesRequest) GetPageSize ¶
func (x *ListRevertProfilesRequest) GetPageSize() int32
func (*ListRevertProfilesRequest) GetPageToken ¶
func (x *ListRevertProfilesRequest) GetPageToken() string
func (*ListRevertProfilesRequest) ProtoMessage ¶
func (*ListRevertProfilesRequest) ProtoMessage()
func (*ListRevertProfilesRequest) ProtoReflect ¶
func (x *ListRevertProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListRevertProfilesRequest) Reset ¶
func (x *ListRevertProfilesRequest) Reset()
func (*ListRevertProfilesRequest) String ¶
func (x *ListRevertProfilesRequest) String() string
type ListRevertProfilesResponse ¶
type ListRevertProfilesResponse struct { // The list of returned profiles. Profiles []*RevertProfile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` // A page token that can be used in a subsequent `ListRevertProfiles` // call to fetch the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRevertProfilesResponse) Descriptor
deprecated
func (*ListRevertProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRevertProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListRevertProfilesResponse) GetNextPageToken ¶
func (x *ListRevertProfilesResponse) GetNextPageToken() string
func (*ListRevertProfilesResponse) GetProfiles ¶
func (x *ListRevertProfilesResponse) GetProfiles() []*RevertProfile
func (*ListRevertProfilesResponse) ProtoMessage ¶
func (*ListRevertProfilesResponse) ProtoMessage()
func (*ListRevertProfilesResponse) ProtoReflect ¶
func (x *ListRevertProfilesResponse) ProtoReflect() protoreflect.Message
func (*ListRevertProfilesResponse) Reset ¶
func (x *ListRevertProfilesResponse) Reset()
func (*ListRevertProfilesResponse) String ¶
func (x *ListRevertProfilesResponse) String() string
type Masjid ¶
type Masjid struct { // The unique id of the masjid. This field is output only. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The name of the masjid. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Whether or not the masjid has been verified. IsVerified bool `protobuf:"varint,3,opt,name=is_verified,json=isVerified,proto3" json:"is_verified,omitempty"` // The main address of the masjid. Address *Masjid_Address `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` // The main phone number to contact for the masjid. PhoneNumber *Masjid_PhoneNumber `protobuf:"bytes,5,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // The configuration to calculate prayer times for the masjid. PrayerConfig *PrayerTimesConfiguration `protobuf:"bytes,6,opt,name=prayer_config,json=prayerConfig,proto3" json:"prayer_config,omitempty"` // The create time of the Masjid. This field is output only. CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The update time of the Masjid. This field is output only. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
Defines a proto representing the main data corresponding to a masjid. This data includes the masjid name, address, phone number and prayer times configuration.
func (*Masjid) Descriptor
deprecated
func (*Masjid) GetAddress ¶
func (x *Masjid) GetAddress() *Masjid_Address
func (*Masjid) GetCreateTime ¶
func (x *Masjid) GetCreateTime() *timestamppb.Timestamp
func (*Masjid) GetIsVerified ¶
func (*Masjid) GetPhoneNumber ¶
func (x *Masjid) GetPhoneNumber() *Masjid_PhoneNumber
func (*Masjid) GetPrayerConfig ¶
func (x *Masjid) GetPrayerConfig() *PrayerTimesConfiguration
func (*Masjid) GetUpdateTime ¶
func (x *Masjid) GetUpdateTime() *timestamppb.Timestamp
func (*Masjid) ProtoMessage ¶
func (*Masjid) ProtoMessage()
func (*Masjid) ProtoReflect ¶
func (x *Masjid) ProtoReflect() protoreflect.Message
type MasjidRole ¶
type MasjidRole struct { // The associated role. Role MasjidRole_Role `protobuf:"varint,1,opt,name=role,proto3,enum=limestone.MasjidRole_Role" json:"role,omitempty"` // The ID of the masjid associated with this role. MasjidId string `protobuf:"bytes,2,opt,name=masjid_id,json=masjidId,proto3" json:"masjid_id,omitempty"` // The ID of the associated user. UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
Defines a specific role a user might have for a specific masjid.
func (*MasjidRole) Descriptor
deprecated
func (*MasjidRole) Descriptor() ([]byte, []int)
Deprecated: Use MasjidRole.ProtoReflect.Descriptor instead.
func (*MasjidRole) GetMasjidId ¶
func (x *MasjidRole) GetMasjidId() string
func (*MasjidRole) GetRole ¶
func (x *MasjidRole) GetRole() MasjidRole_Role
func (*MasjidRole) GetUserId ¶
func (x *MasjidRole) GetUserId() string
func (*MasjidRole) ProtoMessage ¶
func (*MasjidRole) ProtoMessage()
func (*MasjidRole) ProtoReflect ¶
func (x *MasjidRole) ProtoReflect() protoreflect.Message
func (*MasjidRole) Reset ¶
func (x *MasjidRole) Reset()
func (*MasjidRole) String ¶
func (x *MasjidRole) String() string
type MasjidRole_Role ¶
type MasjidRole_Role int32
Defines the different possible roles a user might have in a masjid.
const ( // Default value. MasjidRole_ROLE_UNSPECIFIED MasjidRole_Role = 0 // This role specifies someone who is just a member of the masjid. MasjidRole_MASJID_MEMBER MasjidRole_Role = 1 // This role specifies someone who has some responsibility at the masjid // but is not an administrator. MasjidRole_MASJID_VOLUNTEER MasjidRole_Role = 2 // This role specifies someone at the masjid who is involved in a // high-level administrative capacity. MasjidRole_MASJID_ADMIN MasjidRole_Role = 3 // This role specifies someone at the masjid who is involved in a // religious capacity. MasjidRole_MASJID_IMAM MasjidRole_Role = 4 )
func (MasjidRole_Role) Descriptor ¶
func (MasjidRole_Role) Descriptor() protoreflect.EnumDescriptor
func (MasjidRole_Role) Enum ¶
func (x MasjidRole_Role) Enum() *MasjidRole_Role
func (MasjidRole_Role) EnumDescriptor
deprecated
func (MasjidRole_Role) EnumDescriptor() ([]byte, []int)
Deprecated: Use MasjidRole_Role.Descriptor instead.
func (MasjidRole_Role) Number ¶
func (x MasjidRole_Role) Number() protoreflect.EnumNumber
func (MasjidRole_Role) String ¶
func (x MasjidRole_Role) String() string
func (MasjidRole_Role) Type ¶
func (MasjidRole_Role) Type() protoreflect.EnumType
type MasjidServiceClient ¶
type MasjidServiceClient interface { // Creates a masjid in the database. CreateMasjid(ctx context.Context, in *CreateMasjidRequest, opts ...grpc.CallOption) (*Masjid, error) // Updates a masjid in the database with the corresponding id to the given // masjid (i.e. all fields are overwritten). UpdateMasjid(ctx context.Context, in *UpdateMasjidRequest, opts ...grpc.CallOption) (*Masjid, error) // Deletes a masjid from the database with the given id. DeleteMasjid(ctx context.Context, in *DeleteMasjidRequest, opts ...grpc.CallOption) (*DeleteMasjidResponse, error) // Gets a masjid from the database with the given id. GetMasjid(ctx context.Context, in *GetMasjidRequest, opts ...grpc.CallOption) (*Masjid, error) // Returns a paginated list of masjids from the database. ListMasjids(ctx context.Context, in *ListMasjidsRequest, opts ...grpc.CallOption) (*ListMasjidsResponse, error) }
MasjidServiceClient is the client API for MasjidService 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 NewMasjidServiceClient ¶
func NewMasjidServiceClient(cc grpc.ClientConnInterface) MasjidServiceClient
type MasjidServiceServer ¶
type MasjidServiceServer interface { // Creates a masjid in the database. CreateMasjid(context.Context, *CreateMasjidRequest) (*Masjid, error) // Updates a masjid in the database with the corresponding id to the given // masjid (i.e. all fields are overwritten). UpdateMasjid(context.Context, *UpdateMasjidRequest) (*Masjid, error) // Deletes a masjid from the database with the given id. DeleteMasjid(context.Context, *DeleteMasjidRequest) (*DeleteMasjidResponse, error) // Gets a masjid from the database with the given id. GetMasjid(context.Context, *GetMasjidRequest) (*Masjid, error) // Returns a paginated list of masjids from the database. ListMasjids(context.Context, *ListMasjidsRequest) (*ListMasjidsResponse, error) // contains filtered or unexported methods }
MasjidServiceServer is the server API for MasjidService service. All implementations must embed UnimplementedMasjidServiceServer for forward compatibility.
type Masjid_Address ¶
type Masjid_Address struct { // The street address of the masjid. AddressLine_1 string `protobuf:"bytes,1,opt,name=address_line_1,json=addressLine1,proto3" json:"address_line_1,omitempty"` // Additional address information for the masjid, such as suite number, floor, etc. AddressLine_2 string `protobuf:"bytes,2,opt,name=address_line_2,json=addressLine2,proto3" json:"address_line_2,omitempty"` // The code of the administrative divisions in a country. // See https://en.wikipedia.org/wiki/List_of_administrative_divisions_by_country.Address // This field is what should be used for things like states or provinces. ZoneCode string `protobuf:"bytes,3,opt,name=zone_code,json=zoneCode,proto3" json:"zone_code,omitempty"` // The postal code of the masjid. PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` // The city where the masjid is located. City string `protobuf:"bytes,5,opt,name=city,proto3" json:"city,omitempty"` // A valid ISO 3166-1 country code. The full list can be found here: https://www.iban.com/country-codes. // Consider only the Alpha-2 code column. CountryCode string `protobuf:"bytes,6,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` // contains filtered or unexported fields }
Defines a postal address for the masjid. This message can be used across countries. The fields were inspired by this blog post: https://shopify.engineering/handling-addresses-from-all-around-the-world
func (*Masjid_Address) Descriptor
deprecated
func (*Masjid_Address) Descriptor() ([]byte, []int)
Deprecated: Use Masjid_Address.ProtoReflect.Descriptor instead.
func (*Masjid_Address) GetAddressLine_1 ¶
func (x *Masjid_Address) GetAddressLine_1() string
func (*Masjid_Address) GetAddressLine_2 ¶
func (x *Masjid_Address) GetAddressLine_2() string
func (*Masjid_Address) GetCity ¶
func (x *Masjid_Address) GetCity() string
func (*Masjid_Address) GetCountryCode ¶
func (x *Masjid_Address) GetCountryCode() string
func (*Masjid_Address) GetPostalCode ¶
func (x *Masjid_Address) GetPostalCode() string
func (*Masjid_Address) GetZoneCode ¶
func (x *Masjid_Address) GetZoneCode() string
func (*Masjid_Address) ProtoMessage ¶
func (*Masjid_Address) ProtoMessage()
func (*Masjid_Address) ProtoReflect ¶
func (x *Masjid_Address) ProtoReflect() protoreflect.Message
func (*Masjid_Address) Reset ¶
func (x *Masjid_Address) Reset()
func (*Masjid_Address) String ¶
func (x *Masjid_Address) String() string
type Masjid_PhoneNumber ¶
type Masjid_PhoneNumber struct { // The country code corresponding to the phone number. // Country codes are defined by ITU-T standards E.123 and E.164. // See https://en.wikipedia.org/wiki/List_of_country_calling_codes. CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` // The phone number of the masjid. Number string `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"` // A extension for the number, if required. Extension string `protobuf:"bytes,3,opt,name=extension,proto3" json:"extension,omitempty"` // contains filtered or unexported fields }
Defines the main phone number for the masjid.
func (*Masjid_PhoneNumber) Descriptor
deprecated
func (*Masjid_PhoneNumber) Descriptor() ([]byte, []int)
Deprecated: Use Masjid_PhoneNumber.ProtoReflect.Descriptor instead.
func (*Masjid_PhoneNumber) GetCountryCode ¶
func (x *Masjid_PhoneNumber) GetCountryCode() string
func (*Masjid_PhoneNumber) GetExtension ¶
func (x *Masjid_PhoneNumber) GetExtension() string
func (*Masjid_PhoneNumber) GetNumber ¶
func (x *Masjid_PhoneNumber) GetNumber() string
func (*Masjid_PhoneNumber) ProtoMessage ¶
func (*Masjid_PhoneNumber) ProtoMessage()
func (*Masjid_PhoneNumber) ProtoReflect ¶
func (x *Masjid_PhoneNumber) ProtoReflect() protoreflect.Message
func (*Masjid_PhoneNumber) Reset ¶
func (x *Masjid_PhoneNumber) Reset()
func (*Masjid_PhoneNumber) String ¶
func (x *Masjid_PhoneNumber) String() string
type NikkahIoServiceClient ¶
type NikkahIoServiceClient interface { // Creates a marriage profile for the authenticated user. CreateNikkahProfile(ctx context.Context, in *CreateNikkahProfileRequest, opts ...grpc.CallOption) (*NikkahProfile, error) // Retrieves the profile of the authenticated user. GetSelfNikkahProfile(ctx context.Context, in *GetSelfNikkahProfileRequest, opts ...grpc.CallOption) (*NikkahProfile, error) // Updates the profile of the authenticated user. UpdateSelfNikkahProfile(ctx context.Context, in *UpdateSelfNikkahProfileRequest, opts ...grpc.CallOption) (*NikkahProfile, error) // Lists profiles based on specified criteria. ListNikkahProfiles(ctx context.Context, in *ListNikkahProfilesRequest, opts ...grpc.CallOption) (*ListNikkahProfilesResponse, error) // Gets the details of a specific profile. GetNikkahProfile(ctx context.Context, in *GetNikkahProfileRequest, opts ...grpc.CallOption) (*NikkahProfile, error) // Initiates a like process to another profile. // This does not send a like request to another profile. It is used when a user // is interested in the bio and details of a profile, and wants to see the // pictures associated with the profile, before making a decision to send // a match request. InitiateNikkahLike(ctx context.Context, in *InitiateNikkahLikeRequest, opts ...grpc.CallOption) (*NikkahLike, error) // Cancels a like process to another profile. // This cancels a like process to another profile, if a user finds that // the user is not to their liking after initiating a like. CancelNikkahLike(ctx context.Context, in *CancelNikkahLikeRequest, opts ...grpc.CallOption) (*NikkahLike, error) // Completes a like process to another profile. // This completes a like process to another profile, if a user finds that // the user is to their liking after initiating a like. This notifies // the other user of this. Creates a match resource in the database. CompleteNikkahLike(ctx context.Context, in *CompleteNikkahLikeRequest, opts ...grpc.CallOption) (*CompleteNikkahLikeResponse, error) // Accepts a received match request from a user. // This then notifies the other user that the match is accepted, and initiates a chat // between both users. AcceptNikkahMatchInvite(ctx context.Context, in *AcceptNikkahMatchInviteRequest, opts ...grpc.CallOption) (*NikkahMatch, error) // Rejects a received match request. // This then silently notifies the other user of the rejection. RejectNikkahMatchInvite(ctx context.Context, in *RejectNikkahMatchInviteRequest, opts ...grpc.CallOption) (*NikkahMatch, error) // Ends a currently accepted match. EndNikkahMatch(ctx context.Context, in *EndNikkahMatchRequest, opts ...grpc.CallOption) (*NikkahMatch, error) }
NikkahIoServiceClient is the client API for NikkahIoService 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 NewNikkahIoServiceClient ¶
func NewNikkahIoServiceClient(cc grpc.ClientConnInterface) NikkahIoServiceClient
type NikkahIoServiceServer ¶
type NikkahIoServiceServer interface { // Creates a marriage profile for the authenticated user. CreateNikkahProfile(context.Context, *CreateNikkahProfileRequest) (*NikkahProfile, error) // Retrieves the profile of the authenticated user. GetSelfNikkahProfile(context.Context, *GetSelfNikkahProfileRequest) (*NikkahProfile, error) // Updates the profile of the authenticated user. UpdateSelfNikkahProfile(context.Context, *UpdateSelfNikkahProfileRequest) (*NikkahProfile, error) // Lists profiles based on specified criteria. ListNikkahProfiles(context.Context, *ListNikkahProfilesRequest) (*ListNikkahProfilesResponse, error) // Gets the details of a specific profile. GetNikkahProfile(context.Context, *GetNikkahProfileRequest) (*NikkahProfile, error) // Initiates a like process to another profile. // This does not send a like request to another profile. It is used when a user // is interested in the bio and details of a profile, and wants to see the // pictures associated with the profile, before making a decision to send // a match request. InitiateNikkahLike(context.Context, *InitiateNikkahLikeRequest) (*NikkahLike, error) // Cancels a like process to another profile. // This cancels a like process to another profile, if a user finds that // the user is not to their liking after initiating a like. CancelNikkahLike(context.Context, *CancelNikkahLikeRequest) (*NikkahLike, error) // Completes a like process to another profile. // This completes a like process to another profile, if a user finds that // the user is to their liking after initiating a like. This notifies // the other user of this. Creates a match resource in the database. CompleteNikkahLike(context.Context, *CompleteNikkahLikeRequest) (*CompleteNikkahLikeResponse, error) // Accepts a received match request from a user. // This then notifies the other user that the match is accepted, and initiates a chat // between both users. AcceptNikkahMatchInvite(context.Context, *AcceptNikkahMatchInviteRequest) (*NikkahMatch, error) // Rejects a received match request. // This then silently notifies the other user of the rejection. RejectNikkahMatchInvite(context.Context, *RejectNikkahMatchInviteRequest) (*NikkahMatch, error) // Ends a currently accepted match. EndNikkahMatch(context.Context, *EndNikkahMatchRequest) (*NikkahMatch, error) // contains filtered or unexported methods }
NikkahIoServiceServer is the server API for NikkahIoService service. All implementations must embed UnimplementedNikkahIoServiceServer for forward compatibility.
type NikkahLike ¶
type NikkahLike struct { // The unique identifier for the like process. This field is output only. LikeId string `protobuf:"bytes,1,opt,name=like_id,json=likeId,proto3" json:"like_id,omitempty"` // The ID of the profile who initiated the like. LikerProfileId string `protobuf:"bytes,2,opt,name=liker_profile_id,json=likerProfileId,proto3" json:"liker_profile_id,omitempty"` // The ID of the profile which was liked. LikedProfileId string `protobuf:"bytes,3,opt,name=liked_profile_id,json=likedProfileId,proto3" json:"liked_profile_id,omitempty"` // The current status of the like process. Status NikkahLike_Status `protobuf:"varint,4,opt,name=status,proto3,enum=limestone.NikkahLike_Status" json:"status,omitempty"` // The create time of the event. This field is output only. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The update time of the event. This field is output only. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
NikkahLike represents a like process initiated by a user towards another user's profile.
func (*NikkahLike) Descriptor
deprecated
func (*NikkahLike) Descriptor() ([]byte, []int)
Deprecated: Use NikkahLike.ProtoReflect.Descriptor instead.
func (*NikkahLike) GetCreateTime ¶
func (x *NikkahLike) GetCreateTime() *timestamppb.Timestamp
func (*NikkahLike) GetLikeId ¶
func (x *NikkahLike) GetLikeId() string
func (*NikkahLike) GetLikedProfileId ¶
func (x *NikkahLike) GetLikedProfileId() string
func (*NikkahLike) GetLikerProfileId ¶
func (x *NikkahLike) GetLikerProfileId() string
func (*NikkahLike) GetStatus ¶
func (x *NikkahLike) GetStatus() NikkahLike_Status
func (*NikkahLike) GetUpdateTime ¶
func (x *NikkahLike) GetUpdateTime() *timestamppb.Timestamp
func (*NikkahLike) ProtoMessage ¶
func (*NikkahLike) ProtoMessage()
func (*NikkahLike) ProtoReflect ¶
func (x *NikkahLike) ProtoReflect() protoreflect.Message
func (*NikkahLike) Reset ¶
func (x *NikkahLike) Reset()
func (*NikkahLike) String ¶
func (x *NikkahLike) String() string
type NikkahLike_Status ¶
type NikkahLike_Status int32
Denotes an enum that specifies the current status of the like.
const ( NikkahLike_STATUS_UNSPECIFIED NikkahLike_Status = 0 // The like is initiated, so the user can see the pictures of the other profile. NikkahLike_INITIATED NikkahLike_Status = 1 // The like has been completed, indicating mutual interest. NikkahLike_COMPLETED NikkahLike_Status = 2 // The like has been cancelled. NikkahLike_CANCELLED NikkahLike_Status = 3 )
func (NikkahLike_Status) Descriptor ¶
func (NikkahLike_Status) Descriptor() protoreflect.EnumDescriptor
func (NikkahLike_Status) Enum ¶
func (x NikkahLike_Status) Enum() *NikkahLike_Status
func (NikkahLike_Status) EnumDescriptor
deprecated
func (NikkahLike_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use NikkahLike_Status.Descriptor instead.
func (NikkahLike_Status) Number ¶
func (x NikkahLike_Status) Number() protoreflect.EnumNumber
func (NikkahLike_Status) String ¶
func (x NikkahLike_Status) String() string
func (NikkahLike_Status) Type ¶
func (NikkahLike_Status) Type() protoreflect.EnumType
type NikkahMatch ¶
type NikkahMatch struct { // The unique identifier for the match. This field is output only. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // The ID of the profile who initiated the match. InitiatorProfileId string `protobuf:"bytes,2,opt,name=initiator_profile_id,json=initiatorProfileId,proto3" json:"initiator_profile_id,omitempty"` // The ID of the profile which received the match. ReceiverProfileId string `protobuf:"bytes,3,opt,name=receiver_profile_id,json=receiverProfileId,proto3" json:"receiver_profile_id,omitempty"` // The current status of the match. Status NikkahMatch_Status `protobuf:"varint,4,opt,name=status,proto3,enum=limestone.NikkahMatch_Status" json:"status,omitempty"` // The create time of the event. This field is output only. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The update time of the event. This field is output only. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
NikkahMatch represents a successful match between two users.
func (*NikkahMatch) Descriptor
deprecated
func (*NikkahMatch) Descriptor() ([]byte, []int)
Deprecated: Use NikkahMatch.ProtoReflect.Descriptor instead.
func (*NikkahMatch) GetCreateTime ¶
func (x *NikkahMatch) GetCreateTime() *timestamppb.Timestamp
func (*NikkahMatch) GetInitiatorProfileId ¶
func (x *NikkahMatch) GetInitiatorProfileId() string
func (*NikkahMatch) GetMatchId ¶
func (x *NikkahMatch) GetMatchId() string
func (*NikkahMatch) GetReceiverProfileId ¶
func (x *NikkahMatch) GetReceiverProfileId() string
func (*NikkahMatch) GetStatus ¶
func (x *NikkahMatch) GetStatus() NikkahMatch_Status
func (*NikkahMatch) GetUpdateTime ¶
func (x *NikkahMatch) GetUpdateTime() *timestamppb.Timestamp
func (*NikkahMatch) ProtoMessage ¶
func (*NikkahMatch) ProtoMessage()
func (*NikkahMatch) ProtoReflect ¶
func (x *NikkahMatch) ProtoReflect() protoreflect.Message
func (*NikkahMatch) Reset ¶
func (x *NikkahMatch) Reset()
func (*NikkahMatch) String ¶
func (x *NikkahMatch) String() string
type NikkahMatch_Status ¶
type NikkahMatch_Status int32
Denotes an enum that specifies the current status of the match.
const ( NikkahMatch_STATUS_UNSPECIFIED NikkahMatch_Status = 0 // The match has been initiated, so one side has sent the invite to the other. NikkahMatch_INITIATED NikkahMatch_Status = 1 // The match has been accepted, indicating mutual interest. NikkahMatch_ACCEPTED NikkahMatch_Status = 2 // The match has been rejected. NikkahMatch_REJECTED NikkahMatch_Status = 3 // The match has been ended. // This should occur after the match was in ACCEPTED status. NikkahMatch_ENDED NikkahMatch_Status = 4 )
func (NikkahMatch_Status) Descriptor ¶
func (NikkahMatch_Status) Descriptor() protoreflect.EnumDescriptor
func (NikkahMatch_Status) Enum ¶
func (x NikkahMatch_Status) Enum() *NikkahMatch_Status
func (NikkahMatch_Status) EnumDescriptor
deprecated
func (NikkahMatch_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use NikkahMatch_Status.Descriptor instead.
func (NikkahMatch_Status) Number ¶
func (x NikkahMatch_Status) Number() protoreflect.EnumNumber
func (NikkahMatch_Status) String ¶
func (x NikkahMatch_Status) String() string
func (NikkahMatch_Status) Type ¶
func (NikkahMatch_Status) Type() protoreflect.EnumType
type NikkahProfile ¶
type NikkahProfile struct { // The unique id associated with the profile. Field is output only. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The user id associated with the profile. UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The user id associated with the profile. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // The gender of the user. Gender NikkahProfile_Gender `protobuf:"varint,4,opt,name=gender,proto3,enum=limestone.NikkahProfile_Gender" json:"gender,omitempty"` // The birthdate of the user. BirthDate *NikkahProfile_BirthDate `protobuf:"bytes,5,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` // The create time of the event. This field is output only. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The update time of the event. This field is output only. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
Represents a user's profile in the nikkah.io.
func (*NikkahProfile) Descriptor
deprecated
func (*NikkahProfile) Descriptor() ([]byte, []int)
Deprecated: Use NikkahProfile.ProtoReflect.Descriptor instead.
func (*NikkahProfile) GetBirthDate ¶
func (x *NikkahProfile) GetBirthDate() *NikkahProfile_BirthDate
func (*NikkahProfile) GetCreateTime ¶
func (x *NikkahProfile) GetCreateTime() *timestamppb.Timestamp
func (*NikkahProfile) GetGender ¶
func (x *NikkahProfile) GetGender() NikkahProfile_Gender
func (*NikkahProfile) GetId ¶
func (x *NikkahProfile) GetId() string
func (*NikkahProfile) GetName ¶
func (x *NikkahProfile) GetName() string
func (*NikkahProfile) GetUpdateTime ¶
func (x *NikkahProfile) GetUpdateTime() *timestamppb.Timestamp
func (*NikkahProfile) GetUserId ¶
func (x *NikkahProfile) GetUserId() string
func (*NikkahProfile) ProtoMessage ¶
func (*NikkahProfile) ProtoMessage()
func (*NikkahProfile) ProtoReflect ¶
func (x *NikkahProfile) ProtoReflect() protoreflect.Message
func (*NikkahProfile) Reset ¶
func (x *NikkahProfile) Reset()
func (*NikkahProfile) String ¶
func (x *NikkahProfile) String() string
type NikkahProfile_BirthDate ¶
type NikkahProfile_BirthDate struct { // Year of birth (e.g., 1995) Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Month NikkahProfile_BirthDate_Month `protobuf:"varint,2,opt,name=month,proto3,enum=limestone.NikkahProfile_BirthDate_Month" json:"month,omitempty"` // Day of birth (1-31) Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` // contains filtered or unexported fields }
A message describing the birth date of a user.
func (*NikkahProfile_BirthDate) Descriptor
deprecated
func (*NikkahProfile_BirthDate) Descriptor() ([]byte, []int)
Deprecated: Use NikkahProfile_BirthDate.ProtoReflect.Descriptor instead.
func (*NikkahProfile_BirthDate) GetDay ¶
func (x *NikkahProfile_BirthDate) GetDay() int32
func (*NikkahProfile_BirthDate) GetMonth ¶
func (x *NikkahProfile_BirthDate) GetMonth() NikkahProfile_BirthDate_Month
func (*NikkahProfile_BirthDate) GetYear ¶
func (x *NikkahProfile_BirthDate) GetYear() int32
func (*NikkahProfile_BirthDate) ProtoMessage ¶
func (*NikkahProfile_BirthDate) ProtoMessage()
func (*NikkahProfile_BirthDate) ProtoReflect ¶
func (x *NikkahProfile_BirthDate) ProtoReflect() protoreflect.Message
func (*NikkahProfile_BirthDate) Reset ¶
func (x *NikkahProfile_BirthDate) Reset()
func (*NikkahProfile_BirthDate) String ¶
func (x *NikkahProfile_BirthDate) String() string
type NikkahProfile_BirthDate_Month ¶
type NikkahProfile_BirthDate_Month int32
Month of birth (1-12)
const ( NikkahProfile_BirthDate_MONTH_UNSPECIFIED NikkahProfile_BirthDate_Month = 0 NikkahProfile_BirthDate_JANUARY NikkahProfile_BirthDate_Month = 1 NikkahProfile_BirthDate_FEBRUARY NikkahProfile_BirthDate_Month = 2 NikkahProfile_BirthDate_MARCH NikkahProfile_BirthDate_Month = 3 NikkahProfile_BirthDate_APRIL NikkahProfile_BirthDate_Month = 4 NikkahProfile_BirthDate_MAY NikkahProfile_BirthDate_Month = 5 NikkahProfile_BirthDate_JUNE NikkahProfile_BirthDate_Month = 6 NikkahProfile_BirthDate_JULY NikkahProfile_BirthDate_Month = 7 NikkahProfile_BirthDate_AUGUST NikkahProfile_BirthDate_Month = 8 NikkahProfile_BirthDate_SEPTEMBER NikkahProfile_BirthDate_Month = 9 NikkahProfile_BirthDate_OCTOBER NikkahProfile_BirthDate_Month = 10 NikkahProfile_BirthDate_NOVEMBER NikkahProfile_BirthDate_Month = 11 NikkahProfile_BirthDate_DECEMBER NikkahProfile_BirthDate_Month = 12 )
func (NikkahProfile_BirthDate_Month) Descriptor ¶
func (NikkahProfile_BirthDate_Month) Descriptor() protoreflect.EnumDescriptor
func (NikkahProfile_BirthDate_Month) Enum ¶
func (x NikkahProfile_BirthDate_Month) Enum() *NikkahProfile_BirthDate_Month
func (NikkahProfile_BirthDate_Month) EnumDescriptor
deprecated
func (NikkahProfile_BirthDate_Month) EnumDescriptor() ([]byte, []int)
Deprecated: Use NikkahProfile_BirthDate_Month.Descriptor instead.
func (NikkahProfile_BirthDate_Month) Number ¶
func (x NikkahProfile_BirthDate_Month) Number() protoreflect.EnumNumber
func (NikkahProfile_BirthDate_Month) String ¶
func (x NikkahProfile_BirthDate_Month) String() string
func (NikkahProfile_BirthDate_Month) Type ¶
func (NikkahProfile_BirthDate_Month) Type() protoreflect.EnumType
type NikkahProfile_Gender ¶
type NikkahProfile_Gender int32
Defines an enum representing the gender of the user.
const ( // Default value. NikkahProfile_GENDER_UNSPECIFIED NikkahProfile_Gender = 0 NikkahProfile_MALE NikkahProfile_Gender = 1 NikkahProfile_FEMALE NikkahProfile_Gender = 2 )
func (NikkahProfile_Gender) Descriptor ¶
func (NikkahProfile_Gender) Descriptor() protoreflect.EnumDescriptor
func (NikkahProfile_Gender) Enum ¶
func (x NikkahProfile_Gender) Enum() *NikkahProfile_Gender
func (NikkahProfile_Gender) EnumDescriptor
deprecated
func (NikkahProfile_Gender) EnumDescriptor() ([]byte, []int)
Deprecated: Use NikkahProfile_Gender.Descriptor instead.
func (NikkahProfile_Gender) Number ¶
func (x NikkahProfile_Gender) Number() protoreflect.EnumNumber
func (NikkahProfile_Gender) String ¶
func (x NikkahProfile_Gender) String() string
func (NikkahProfile_Gender) Type ¶
func (NikkahProfile_Gender) Type() protoreflect.EnumType
type PrayerTimesConfiguration ¶
type PrayerTimesConfiguration struct { // The calculation method to use. Method PrayerTimesConfiguration_CalculationMethod `protobuf:"varint,1,opt,name=method,proto3,enum=limestone.PrayerTimesConfiguration_CalculationMethod" json:"method,omitempty"` // The Fajr angle to use. This does not need to be set if the calculation method is set. // If both fields are set, then the calculation method field takes precedence. FajrAngle float64 `protobuf:"fixed64,2,opt,name=fajr_angle,json=fajrAngle,proto3" json:"fajr_angle,omitempty"` // The Isha angle to use. This does not need to be set if the calculation method is set. // If both fields are set, then the calculation method field takes precedence. IshaAngle float64 `protobuf:"fixed64,3,opt,name=isha_angle,json=ishaAngle,proto3" json:"isha_angle,omitempty"` // Minutes after Maghrib (if set, the time for Isha will be Maghrib plus the Isha interval). IshaInterval int32 `protobuf:"varint,4,opt,name=isha_interval,json=ishaInterval,proto3" json:"isha_interval,omitempty"` // The juristic method to use for calculating Asr timings. AsrMethod PrayerTimesConfiguration_AsrJuristicMethod `` /* 147-byte string literal not displayed */ // The high latitude rule to use to calculate Fajr and Isha prayers. HighLatitudeRule PrayerTimesConfiguration_HighLatitudeRule `` /* 169-byte string literal not displayed */ // The prayer adjusments (aka offsets) to apply to the calculated prayer times. Adjustments *PrayerTimesConfiguration_PrayerAdjustments `protobuf:"bytes,7,opt,name=adjustments,proto3" json:"adjustments,omitempty"` // contains filtered or unexported fields }
A message that holds prayer times configuration. This message contains all the fields necessary to calculate prayer times.
func (*PrayerTimesConfiguration) Descriptor
deprecated
func (*PrayerTimesConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use PrayerTimesConfiguration.ProtoReflect.Descriptor instead.
func (*PrayerTimesConfiguration) GetAdjustments ¶
func (x *PrayerTimesConfiguration) GetAdjustments() *PrayerTimesConfiguration_PrayerAdjustments
func (*PrayerTimesConfiguration) GetAsrMethod ¶
func (x *PrayerTimesConfiguration) GetAsrMethod() PrayerTimesConfiguration_AsrJuristicMethod
func (*PrayerTimesConfiguration) GetFajrAngle ¶
func (x *PrayerTimesConfiguration) GetFajrAngle() float64
func (*PrayerTimesConfiguration) GetHighLatitudeRule ¶
func (x *PrayerTimesConfiguration) GetHighLatitudeRule() PrayerTimesConfiguration_HighLatitudeRule
func (*PrayerTimesConfiguration) GetIshaAngle ¶
func (x *PrayerTimesConfiguration) GetIshaAngle() float64
func (*PrayerTimesConfiguration) GetIshaInterval ¶
func (x *PrayerTimesConfiguration) GetIshaInterval() int32
func (*PrayerTimesConfiguration) GetMethod ¶
func (x *PrayerTimesConfiguration) GetMethod() PrayerTimesConfiguration_CalculationMethod
func (*PrayerTimesConfiguration) ProtoMessage ¶
func (*PrayerTimesConfiguration) ProtoMessage()
func (*PrayerTimesConfiguration) ProtoReflect ¶
func (x *PrayerTimesConfiguration) ProtoReflect() protoreflect.Message
func (*PrayerTimesConfiguration) Reset ¶
func (x *PrayerTimesConfiguration) Reset()
func (*PrayerTimesConfiguration) String ¶
func (x *PrayerTimesConfiguration) String() string
type PrayerTimesConfiguration_AsrJuristicMethod ¶
type PrayerTimesConfiguration_AsrJuristicMethod int32
The Juristic method to use for calculating Asr prayer times.
const ( // Use the Shafi/Hanbali/Maliki method to calculate Asr timings. PrayerTimesConfiguration_SHAFI_HANBALI_MALIKI PrayerTimesConfiguration_AsrJuristicMethod = 0 // Use the Hanafi method to calculate Asr timings. PrayerTimesConfiguration_HANAFI PrayerTimesConfiguration_AsrJuristicMethod = 1 )
func (PrayerTimesConfiguration_AsrJuristicMethod) Descriptor ¶
func (PrayerTimesConfiguration_AsrJuristicMethod) Descriptor() protoreflect.EnumDescriptor
func (PrayerTimesConfiguration_AsrJuristicMethod) EnumDescriptor
deprecated
func (PrayerTimesConfiguration_AsrJuristicMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use PrayerTimesConfiguration_AsrJuristicMethod.Descriptor instead.
func (PrayerTimesConfiguration_AsrJuristicMethod) Number ¶
func (x PrayerTimesConfiguration_AsrJuristicMethod) Number() protoreflect.EnumNumber
func (PrayerTimesConfiguration_AsrJuristicMethod) String ¶
func (x PrayerTimesConfiguration_AsrJuristicMethod) String() string
func (PrayerTimesConfiguration_AsrJuristicMethod) Type ¶
func (PrayerTimesConfiguration_AsrJuristicMethod) Type() protoreflect.EnumType
type PrayerTimesConfiguration_CalculationMethod ¶
type PrayerTimesConfiguration_CalculationMethod int32
Defines the calculation method to use. If this field is set (excluding OTHER), then the Fajr and Isha angle fields are automatically set.
const ( // A custom calculation method. PrayerTimesConfiguration_OTHER PrayerTimesConfiguration_CalculationMethod = 0 // Muslim World League // Uses Fajr angle of 18 and an Isha angle of 17 PrayerTimesConfiguration_MUSLIM_WORLD_LEAGUE PrayerTimesConfiguration_CalculationMethod = 1 // Egyptian General Authority of Survey // Uses Fajr angle of 19.5 and an Isha angle of 17.5 PrayerTimesConfiguration_EGYPTIAN PrayerTimesConfiguration_CalculationMethod = 2 // University of Islamic Sciences, Karachi // Uses Fajr angle of 18 and an Isha angle of 18 PrayerTimesConfiguration_KARACHI PrayerTimesConfiguration_CalculationMethod = 3 // Umm al-Qura University, Makkah // Uses a Fajr angle of 18.5 and an Isha angle of 90. Note: You should add a +30 minute custom // adjustment of Isha during Ramadan. PrayerTimesConfiguration_UMM_AL_QURA PrayerTimesConfiguration_CalculationMethod = 4 // The Gulf Region // Uses Fajr and Isha angles of 18.2 degrees. PrayerTimesConfiguration_DUBAI PrayerTimesConfiguration_CalculationMethod = 5 // Moonsighting Committee // Uses a Fajr angle of 18 and an Isha angle of 18. Also uses seasonal adjustment values. PrayerTimesConfiguration_MOON_SIGHTING_COMMITTEE PrayerTimesConfiguration_CalculationMethod = 6 // Referred to as the ISNA method // This method is included for completeness, but is not recommended. // Uses a Fajr angle of 15 and an Isha angle of 15. PrayerTimesConfiguration_NORTH_AMERICA PrayerTimesConfiguration_CalculationMethod = 7 // Kuwait // Uses a Fajr angle of 18 and an Isha angle of 17.5 PrayerTimesConfiguration_KUWAIT PrayerTimesConfiguration_CalculationMethod = 8 // Qatar // Modified version of Umm al-Qura that uses a Fajr angle of 18. PrayerTimesConfiguration_QATAR PrayerTimesConfiguration_CalculationMethod = 9 // Singapore // Uses a Fajr angle of 20 and an Isha angle of 18 PrayerTimesConfiguration_SINGAPORE PrayerTimesConfiguration_CalculationMethod = 10 // UOIF // Uses a Fajr angle of 12 and an Isha angle of 12 PrayerTimesConfiguration_UOIF PrayerTimesConfiguration_CalculationMethod = 11 )
func (PrayerTimesConfiguration_CalculationMethod) Descriptor ¶
func (PrayerTimesConfiguration_CalculationMethod) Descriptor() protoreflect.EnumDescriptor
func (PrayerTimesConfiguration_CalculationMethod) EnumDescriptor
deprecated
func (PrayerTimesConfiguration_CalculationMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use PrayerTimesConfiguration_CalculationMethod.Descriptor instead.
func (PrayerTimesConfiguration_CalculationMethod) Number ¶
func (x PrayerTimesConfiguration_CalculationMethod) Number() protoreflect.EnumNumber
func (PrayerTimesConfiguration_CalculationMethod) String ¶
func (x PrayerTimesConfiguration_CalculationMethod) String() string
func (PrayerTimesConfiguration_CalculationMethod) Type ¶
func (PrayerTimesConfiguration_CalculationMethod) Type() protoreflect.EnumType
type PrayerTimesConfiguration_HighLatitudeRule ¶
type PrayerTimesConfiguration_HighLatitudeRule int32
The high latitude rule for calculating Fajr and Isha prayers.
const ( PrayerTimesConfiguration_NO_HIGH_LATITUDE_RULE PrayerTimesConfiguration_HighLatitudeRule = 0 // Fajr will never be earlier than the middle of the night, and Isha will never be later than // the middle of the night. PrayerTimesConfiguration_MIDDLE_OF_THE_NIGHT PrayerTimesConfiguration_HighLatitudeRule = 1 // Fajr will never be earlier than the beginning of the last seventh of the night, and Isha will // never be later than the end of the first seventh of the night. PrayerTimesConfiguration_SEVENTH_OF_THE_NIGHT PrayerTimesConfiguration_HighLatitudeRule = 2 // Similar to SEVENTH_OF_THE_NIGHT, but instead of 1/7th, the fraction of the night used // is fajr_angle / 60 and isha_angle / 60. PrayerTimesConfiguration_TWILIGHT_ANGLE PrayerTimesConfiguration_HighLatitudeRule = 3 )
func (PrayerTimesConfiguration_HighLatitudeRule) Descriptor ¶
func (PrayerTimesConfiguration_HighLatitudeRule) Descriptor() protoreflect.EnumDescriptor
func (PrayerTimesConfiguration_HighLatitudeRule) EnumDescriptor
deprecated
func (PrayerTimesConfiguration_HighLatitudeRule) EnumDescriptor() ([]byte, []int)
Deprecated: Use PrayerTimesConfiguration_HighLatitudeRule.Descriptor instead.
func (PrayerTimesConfiguration_HighLatitudeRule) Number ¶
func (x PrayerTimesConfiguration_HighLatitudeRule) Number() protoreflect.EnumNumber
func (PrayerTimesConfiguration_HighLatitudeRule) String ¶
func (x PrayerTimesConfiguration_HighLatitudeRule) String() string
func (PrayerTimesConfiguration_HighLatitudeRule) Type ¶
func (PrayerTimesConfiguration_HighLatitudeRule) Type() protoreflect.EnumType
type PrayerTimesConfiguration_PrayerAdjustments ¶
type PrayerTimesConfiguration_PrayerAdjustments struct { // Adjustment offset for Fajr in minutes. Value can be negative. FajrAdjustment int32 `protobuf:"varint,1,opt,name=fajr_adjustment,json=fajrAdjustment,proto3" json:"fajr_adjustment,omitempty"` // Adjustment offset for Dhuhr in minutes. Value can be negative. DhuhrAdjustment int32 `protobuf:"varint,2,opt,name=dhuhr_adjustment,json=dhuhrAdjustment,proto3" json:"dhuhr_adjustment,omitempty"` // Adjustment offset for Asr in minutes. Value can be negative. AsrAdjustment int32 `protobuf:"varint,3,opt,name=asr_adjustment,json=asrAdjustment,proto3" json:"asr_adjustment,omitempty"` // Adjustment offset for Maghrib in minutes. Value can be negative. MaghribAdjustment int32 `protobuf:"varint,4,opt,name=maghrib_adjustment,json=maghribAdjustment,proto3" json:"maghrib_adjustment,omitempty"` // Adjustment offset for Isha in minutes. Value can be negative. IshaAdjustment int32 `protobuf:"varint,5,opt,name=isha_adjustment,json=ishaAdjustment,proto3" json:"isha_adjustment,omitempty"` // contains filtered or unexported fields }
The manual adjustments to apply to the prayer timings. The value that each field is set to is the offset which will be added to the calculated time to obtain the final prayer time.
func (*PrayerTimesConfiguration_PrayerAdjustments) Descriptor
deprecated
func (*PrayerTimesConfiguration_PrayerAdjustments) Descriptor() ([]byte, []int)
Deprecated: Use PrayerTimesConfiguration_PrayerAdjustments.ProtoReflect.Descriptor instead.
func (*PrayerTimesConfiguration_PrayerAdjustments) GetAsrAdjustment ¶
func (x *PrayerTimesConfiguration_PrayerAdjustments) GetAsrAdjustment() int32
func (*PrayerTimesConfiguration_PrayerAdjustments) GetDhuhrAdjustment ¶
func (x *PrayerTimesConfiguration_PrayerAdjustments) GetDhuhrAdjustment() int32
func (*PrayerTimesConfiguration_PrayerAdjustments) GetFajrAdjustment ¶
func (x *PrayerTimesConfiguration_PrayerAdjustments) GetFajrAdjustment() int32
func (*PrayerTimesConfiguration_PrayerAdjustments) GetIshaAdjustment ¶
func (x *PrayerTimesConfiguration_PrayerAdjustments) GetIshaAdjustment() int32
func (*PrayerTimesConfiguration_PrayerAdjustments) GetMaghribAdjustment ¶
func (x *PrayerTimesConfiguration_PrayerAdjustments) GetMaghribAdjustment() int32
func (*PrayerTimesConfiguration_PrayerAdjustments) ProtoMessage ¶
func (*PrayerTimesConfiguration_PrayerAdjustments) ProtoMessage()
func (*PrayerTimesConfiguration_PrayerAdjustments) ProtoReflect ¶
func (x *PrayerTimesConfiguration_PrayerAdjustments) ProtoReflect() protoreflect.Message
func (*PrayerTimesConfiguration_PrayerAdjustments) Reset ¶
func (x *PrayerTimesConfiguration_PrayerAdjustments) Reset()
func (*PrayerTimesConfiguration_PrayerAdjustments) String ¶
func (x *PrayerTimesConfiguration_PrayerAdjustments) String() string
type RefreshTokenRequest ¶
type RefreshTokenRequest struct { // The refresh JWT for the user. RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenRequest) Descriptor
deprecated
func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshTokenRequest) GetRefreshToken ¶
func (x *RefreshTokenRequest) GetRefreshToken() string
func (*RefreshTokenRequest) ProtoMessage ¶
func (*RefreshTokenRequest) ProtoMessage()
func (*RefreshTokenRequest) ProtoReflect ¶
func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
func (*RefreshTokenRequest) Reset ¶
func (x *RefreshTokenRequest) Reset()
func (*RefreshTokenRequest) String ¶
func (x *RefreshTokenRequest) String() string
type RefreshTokenResponse ¶
type RefreshTokenResponse struct { // The access token for subsequent authenticated requests. AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenResponse) Descriptor
deprecated
func (*RefreshTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.
func (*RefreshTokenResponse) GetAccessToken ¶
func (x *RefreshTokenResponse) GetAccessToken() string
func (*RefreshTokenResponse) ProtoMessage ¶
func (*RefreshTokenResponse) ProtoMessage()
func (*RefreshTokenResponse) ProtoReflect ¶
func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
func (*RefreshTokenResponse) Reset ¶
func (x *RefreshTokenResponse) Reset()
func (*RefreshTokenResponse) String ¶
func (x *RefreshTokenResponse) String() string
type RejectNikkahMatchInviteRequest ¶
type RejectNikkahMatchInviteRequest struct { // The ID of the match invite to reject. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // contains filtered or unexported fields }
RejectNikkahMatchInviteRequest represents a request to reject a match.
func (*RejectNikkahMatchInviteRequest) Descriptor
deprecated
func (*RejectNikkahMatchInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use RejectNikkahMatchInviteRequest.ProtoReflect.Descriptor instead.
func (*RejectNikkahMatchInviteRequest) GetMatchId ¶
func (x *RejectNikkahMatchInviteRequest) GetMatchId() string
func (*RejectNikkahMatchInviteRequest) ProtoMessage ¶
func (*RejectNikkahMatchInviteRequest) ProtoMessage()
func (*RejectNikkahMatchInviteRequest) ProtoReflect ¶
func (x *RejectNikkahMatchInviteRequest) ProtoReflect() protoreflect.Message
func (*RejectNikkahMatchInviteRequest) Reset ¶
func (x *RejectNikkahMatchInviteRequest) Reset()
func (*RejectNikkahMatchInviteRequest) String ¶
func (x *RejectNikkahMatchInviteRequest) String() string
type RejectRevertMatchInviteRequest ¶
type RejectRevertMatchInviteRequest struct { // The ID of the match invite to reject. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // contains filtered or unexported fields }
func (*RejectRevertMatchInviteRequest) Descriptor
deprecated
func (*RejectRevertMatchInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use RejectRevertMatchInviteRequest.ProtoReflect.Descriptor instead.
func (*RejectRevertMatchInviteRequest) GetMatchId ¶
func (x *RejectRevertMatchInviteRequest) GetMatchId() string
func (*RejectRevertMatchInviteRequest) ProtoMessage ¶
func (*RejectRevertMatchInviteRequest) ProtoMessage()
func (*RejectRevertMatchInviteRequest) ProtoReflect ¶
func (x *RejectRevertMatchInviteRequest) ProtoReflect() protoreflect.Message
func (*RejectRevertMatchInviteRequest) Reset ¶
func (x *RejectRevertMatchInviteRequest) Reset()
func (*RejectRevertMatchInviteRequest) String ¶
func (x *RejectRevertMatchInviteRequest) String() string
type RevertMatch ¶
type RevertMatch struct { // The unique identifier for the match. This field is output only. MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // The ID of the profile who initiated the match. InitiatorProfileId string `protobuf:"bytes,2,opt,name=initiator_profile_id,json=initiatorProfileId,proto3" json:"initiator_profile_id,omitempty"` // The ID of the profile which received the match. ReceiverProfileId string `protobuf:"bytes,3,opt,name=receiver_profile_id,json=receiverProfileId,proto3" json:"receiver_profile_id,omitempty"` // The current status of the match. Status RevertMatch_Status `protobuf:"varint,4,opt,name=status,proto3,enum=limestone.RevertMatch_Status" json:"status,omitempty"` // The create time of the event. This field is output only. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The update time of the event. This field is output only. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
RevertMatch represents a successful match between two users.
func (*RevertMatch) Descriptor
deprecated
func (*RevertMatch) Descriptor() ([]byte, []int)
Deprecated: Use RevertMatch.ProtoReflect.Descriptor instead.
func (*RevertMatch) GetCreateTime ¶
func (x *RevertMatch) GetCreateTime() *timestamppb.Timestamp
func (*RevertMatch) GetInitiatorProfileId ¶
func (x *RevertMatch) GetInitiatorProfileId() string
func (*RevertMatch) GetMatchId ¶
func (x *RevertMatch) GetMatchId() string
func (*RevertMatch) GetReceiverProfileId ¶
func (x *RevertMatch) GetReceiverProfileId() string
func (*RevertMatch) GetStatus ¶
func (x *RevertMatch) GetStatus() RevertMatch_Status
func (*RevertMatch) GetUpdateTime ¶
func (x *RevertMatch) GetUpdateTime() *timestamppb.Timestamp
func (*RevertMatch) ProtoMessage ¶
func (*RevertMatch) ProtoMessage()
func (*RevertMatch) ProtoReflect ¶
func (x *RevertMatch) ProtoReflect() protoreflect.Message
func (*RevertMatch) Reset ¶
func (x *RevertMatch) Reset()
func (*RevertMatch) String ¶
func (x *RevertMatch) String() string
type RevertMatch_Status ¶
type RevertMatch_Status int32
Denotes an enum that specifies the current status of the match.
const ( RevertMatch_STATUS_UNSPECIFIED RevertMatch_Status = 0 // The match has been initiated, so one side has sent the invite to the other. RevertMatch_INITIATED RevertMatch_Status = 1 // The match has been accepted, indicating mutual interest. RevertMatch_ACCEPTED RevertMatch_Status = 2 // The match has been rejected. RevertMatch_REJECTED RevertMatch_Status = 3 // The match has been ended. // This should occur after the match was in ACCEPTED status. RevertMatch_ENDED RevertMatch_Status = 4 // Changed to 4 to be unique )
func (RevertMatch_Status) Descriptor ¶
func (RevertMatch_Status) Descriptor() protoreflect.EnumDescriptor
func (RevertMatch_Status) Enum ¶
func (x RevertMatch_Status) Enum() *RevertMatch_Status
func (RevertMatch_Status) EnumDescriptor
deprecated
func (RevertMatch_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use RevertMatch_Status.Descriptor instead.
func (RevertMatch_Status) Number ¶
func (x RevertMatch_Status) Number() protoreflect.EnumNumber
func (RevertMatch_Status) String ¶
func (x RevertMatch_Status) String() string
func (RevertMatch_Status) Type ¶
func (RevertMatch_Status) Type() protoreflect.EnumType
type RevertProfile ¶
type RevertProfile struct { // The unique id associated with the profile. Field is output only. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The user id associated with the profile. UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The user id associated with the profile. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // The gender of the user. Gender RevertProfile_Gender `protobuf:"varint,4,opt,name=gender,proto3,enum=limestone.RevertProfile_Gender" json:"gender,omitempty"` // The birthdate of the user. BirthDate *RevertProfile_BirthDate `protobuf:"bytes,5,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` // The create time of the event. This field is output only. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The update time of the event. This field is output only. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
Represents a user's profile in the nikkah.io.
func (*RevertProfile) Descriptor
deprecated
func (*RevertProfile) Descriptor() ([]byte, []int)
Deprecated: Use RevertProfile.ProtoReflect.Descriptor instead.
func (*RevertProfile) GetBirthDate ¶
func (x *RevertProfile) GetBirthDate() *RevertProfile_BirthDate
func (*RevertProfile) GetCreateTime ¶
func (x *RevertProfile) GetCreateTime() *timestamppb.Timestamp
func (*RevertProfile) GetGender ¶
func (x *RevertProfile) GetGender() RevertProfile_Gender
func (*RevertProfile) GetId ¶
func (x *RevertProfile) GetId() string
func (*RevertProfile) GetName ¶
func (x *RevertProfile) GetName() string
func (*RevertProfile) GetUpdateTime ¶
func (x *RevertProfile) GetUpdateTime() *timestamppb.Timestamp
func (*RevertProfile) GetUserId ¶
func (x *RevertProfile) GetUserId() string
func (*RevertProfile) ProtoMessage ¶
func (*RevertProfile) ProtoMessage()
func (*RevertProfile) ProtoReflect ¶
func (x *RevertProfile) ProtoReflect() protoreflect.Message
func (*RevertProfile) Reset ¶
func (x *RevertProfile) Reset()
func (*RevertProfile) String ¶
func (x *RevertProfile) String() string
type RevertProfile_BirthDate ¶
type RevertProfile_BirthDate struct { Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Month RevertProfile_BirthDate_Month `protobuf:"varint,2,opt,name=month,proto3,enum=limestone.RevertProfile_BirthDate_Month" json:"month,omitempty"` Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` // contains filtered or unexported fields }
A message describing the birth date of a user.
func (*RevertProfile_BirthDate) Descriptor
deprecated
func (*RevertProfile_BirthDate) Descriptor() ([]byte, []int)
Deprecated: Use RevertProfile_BirthDate.ProtoReflect.Descriptor instead.
func (*RevertProfile_BirthDate) GetDay ¶
func (x *RevertProfile_BirthDate) GetDay() int32
func (*RevertProfile_BirthDate) GetMonth ¶
func (x *RevertProfile_BirthDate) GetMonth() RevertProfile_BirthDate_Month
func (*RevertProfile_BirthDate) GetYear ¶
func (x *RevertProfile_BirthDate) GetYear() int32
func (*RevertProfile_BirthDate) ProtoMessage ¶
func (*RevertProfile_BirthDate) ProtoMessage()
func (*RevertProfile_BirthDate) ProtoReflect ¶
func (x *RevertProfile_BirthDate) ProtoReflect() protoreflect.Message
func (*RevertProfile_BirthDate) Reset ¶
func (x *RevertProfile_BirthDate) Reset()
func (*RevertProfile_BirthDate) String ¶
func (x *RevertProfile_BirthDate) String() string
type RevertProfile_BirthDate_Month ¶
type RevertProfile_BirthDate_Month int32
const ( RevertProfile_BirthDate_MONTH_UNSPECIFIED RevertProfile_BirthDate_Month = 0 RevertProfile_BirthDate_JANUARY RevertProfile_BirthDate_Month = 1 RevertProfile_BirthDate_FEBRUARY RevertProfile_BirthDate_Month = 2 RevertProfile_BirthDate_MARCH RevertProfile_BirthDate_Month = 3 RevertProfile_BirthDate_APRIL RevertProfile_BirthDate_Month = 4 RevertProfile_BirthDate_MAY RevertProfile_BirthDate_Month = 5 RevertProfile_BirthDate_JUNE RevertProfile_BirthDate_Month = 6 RevertProfile_BirthDate_JULY RevertProfile_BirthDate_Month = 7 RevertProfile_BirthDate_AUGUST RevertProfile_BirthDate_Month = 8 RevertProfile_BirthDate_SEPTEMBER RevertProfile_BirthDate_Month = 9 RevertProfile_BirthDate_OCTOBER RevertProfile_BirthDate_Month = 10 RevertProfile_BirthDate_NOVEMBER RevertProfile_BirthDate_Month = 11 RevertProfile_BirthDate_DECEMBER RevertProfile_BirthDate_Month = 12 )
func (RevertProfile_BirthDate_Month) Descriptor ¶
func (RevertProfile_BirthDate_Month) Descriptor() protoreflect.EnumDescriptor
func (RevertProfile_BirthDate_Month) Enum ¶
func (x RevertProfile_BirthDate_Month) Enum() *RevertProfile_BirthDate_Month
func (RevertProfile_BirthDate_Month) EnumDescriptor
deprecated
func (RevertProfile_BirthDate_Month) EnumDescriptor() ([]byte, []int)
Deprecated: Use RevertProfile_BirthDate_Month.Descriptor instead.
func (RevertProfile_BirthDate_Month) Number ¶
func (x RevertProfile_BirthDate_Month) Number() protoreflect.EnumNumber
func (RevertProfile_BirthDate_Month) String ¶
func (x RevertProfile_BirthDate_Month) String() string
func (RevertProfile_BirthDate_Month) Type ¶
func (RevertProfile_BirthDate_Month) Type() protoreflect.EnumType
type RevertProfile_Gender ¶
type RevertProfile_Gender int32
Defines an enum representing the gender of the user.
const ( // Default value. RevertProfile_GENDER_UNSPECIFIED RevertProfile_Gender = 0 RevertProfile_MALE RevertProfile_Gender = 1 RevertProfile_FEMALE RevertProfile_Gender = 2 )
func (RevertProfile_Gender) Descriptor ¶
func (RevertProfile_Gender) Descriptor() protoreflect.EnumDescriptor
func (RevertProfile_Gender) Enum ¶
func (x RevertProfile_Gender) Enum() *RevertProfile_Gender
func (RevertProfile_Gender) EnumDescriptor
deprecated
func (RevertProfile_Gender) EnumDescriptor() ([]byte, []int)
Deprecated: Use RevertProfile_Gender.Descriptor instead.
func (RevertProfile_Gender) Number ¶
func (x RevertProfile_Gender) Number() protoreflect.EnumNumber
func (RevertProfile_Gender) String ¶
func (x RevertProfile_Gender) String() string
func (RevertProfile_Gender) Type ¶
func (RevertProfile_Gender) Type() protoreflect.EnumType
type RevertsIoServiceClient ¶
type RevertsIoServiceClient interface { // Creates a reverts matching profile for the authenticated user. CreateRevertProfile(ctx context.Context, in *CreateRevertProfileRequest, opts ...grpc.CallOption) (*RevertProfile, error) // Retrieves the profile of the authenticated user. GetSelfRevertProfile(ctx context.Context, in *GetSelfRevertProfileRequest, opts ...grpc.CallOption) (*RevertProfile, error) // Updates the profile of the authenticated user. UpdateSelfRevertProfile(ctx context.Context, in *UpdateSelfRevertProfileRequest, opts ...grpc.CallOption) (*RevertProfile, error) // Lists profiles based on specified criteria. ListRevertProfiles(ctx context.Context, in *ListRevertProfilesRequest, opts ...grpc.CallOption) (*ListRevertProfilesResponse, error) // Gets the details of a specific profile. GetRevertProfile(ctx context.Context, in *GetRevertProfileRequest, opts ...grpc.CallOption) (*RevertProfile, error) // Accepts a received match request from a user. // This then notifies the other user that the match is accepted, and initiates a chat // between both users. CreateRevertMatchInvite(ctx context.Context, in *CreateRevertMatchInviteRequest, opts ...grpc.CallOption) (*RevertMatch, error) // Accepts a received match request from a user. // This then notifies the other user that the match is accepted, and initiates a chat // between both users. AcceptRevertMatchInvite(ctx context.Context, in *AcceptRevertMatchInviteRequest, opts ...grpc.CallOption) (*RevertMatch, error) // Rejects a received match request. // This then silently notifies the other user of the rejection. RejectRevertMatchInvite(ctx context.Context, in *RejectRevertMatchInviteRequest, opts ...grpc.CallOption) (*RevertMatch, error) // Ends a currently accepted match. EndRevertMatch(ctx context.Context, in *EndRevertMatchRequest, opts ...grpc.CallOption) (*RevertMatch, error) }
RevertsIoServiceClient is the client API for RevertsIoService 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 NewRevertsIoServiceClient ¶
func NewRevertsIoServiceClient(cc grpc.ClientConnInterface) RevertsIoServiceClient
type RevertsIoServiceServer ¶
type RevertsIoServiceServer interface { // Creates a reverts matching profile for the authenticated user. CreateRevertProfile(context.Context, *CreateRevertProfileRequest) (*RevertProfile, error) // Retrieves the profile of the authenticated user. GetSelfRevertProfile(context.Context, *GetSelfRevertProfileRequest) (*RevertProfile, error) // Updates the profile of the authenticated user. UpdateSelfRevertProfile(context.Context, *UpdateSelfRevertProfileRequest) (*RevertProfile, error) // Lists profiles based on specified criteria. ListRevertProfiles(context.Context, *ListRevertProfilesRequest) (*ListRevertProfilesResponse, error) // Gets the details of a specific profile. GetRevertProfile(context.Context, *GetRevertProfileRequest) (*RevertProfile, error) // Accepts a received match request from a user. // This then notifies the other user that the match is accepted, and initiates a chat // between both users. CreateRevertMatchInvite(context.Context, *CreateRevertMatchInviteRequest) (*RevertMatch, error) // Accepts a received match request from a user. // This then notifies the other user that the match is accepted, and initiates a chat // between both users. AcceptRevertMatchInvite(context.Context, *AcceptRevertMatchInviteRequest) (*RevertMatch, error) // Rejects a received match request. // This then silently notifies the other user of the rejection. RejectRevertMatchInvite(context.Context, *RejectRevertMatchInviteRequest) (*RevertMatch, error) // Ends a currently accepted match. EndRevertMatch(context.Context, *EndRevertMatchRequest) (*RevertMatch, error) // contains filtered or unexported methods }
RevertsIoServiceServer is the server API for RevertsIoService service. All implementations must embed UnimplementedRevertsIoServiceServer for forward compatibility.
type UnimplementedAdhanServiceServer ¶
type UnimplementedAdhanServiceServer struct{}
UnimplementedAdhanServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAdhanServiceServer) CreateAdhanFile ¶
func (UnimplementedAdhanServiceServer) CreateAdhanFile(context.Context, *CreateAdhanFileRequest) (*AdhanFile, error)
func (UnimplementedAdhanServiceServer) DeleteAdhanFile ¶
func (UnimplementedAdhanServiceServer) DeleteAdhanFile(context.Context, *DeleteAdhanFileRequest) (*DeleteAdhanFileResponse, error)
func (UnimplementedAdhanServiceServer) GetAdhanFile ¶
func (UnimplementedAdhanServiceServer) GetAdhanFile(context.Context, *GetAdhanFileRequest) (*AdhanFile, error)
func (UnimplementedAdhanServiceServer) UpdateAdhanFile ¶
func (UnimplementedAdhanServiceServer) UpdateAdhanFile(context.Context, *UpdateAdhanFileRequest) (*AdhanFile, error)
type UnimplementedEventServiceServer ¶
type UnimplementedEventServiceServer struct{}
UnimplementedEventServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEventServiceServer) CreateEvent ¶
func (UnimplementedEventServiceServer) CreateEvent(context.Context, *CreateEventRequest) (*Event, error)
func (UnimplementedEventServiceServer) DeleteEvent ¶
func (UnimplementedEventServiceServer) DeleteEvent(context.Context, *DeleteEventRequest) (*DeleteEventResponse, error)
func (UnimplementedEventServiceServer) GetEvent ¶
func (UnimplementedEventServiceServer) GetEvent(context.Context, *GetEventRequest) (*Event, error)
func (UnimplementedEventServiceServer) ListEvents ¶
func (UnimplementedEventServiceServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
func (UnimplementedEventServiceServer) UpdateEvent ¶
func (UnimplementedEventServiceServer) UpdateEvent(context.Context, *UpdateEventRequest) (*Event, error)
type UnimplementedMasjidServiceServer ¶
type UnimplementedMasjidServiceServer struct{}
UnimplementedMasjidServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMasjidServiceServer) CreateMasjid ¶
func (UnimplementedMasjidServiceServer) CreateMasjid(context.Context, *CreateMasjidRequest) (*Masjid, error)
func (UnimplementedMasjidServiceServer) DeleteMasjid ¶
func (UnimplementedMasjidServiceServer) DeleteMasjid(context.Context, *DeleteMasjidRequest) (*DeleteMasjidResponse, error)
func (UnimplementedMasjidServiceServer) GetMasjid ¶
func (UnimplementedMasjidServiceServer) GetMasjid(context.Context, *GetMasjidRequest) (*Masjid, error)
func (UnimplementedMasjidServiceServer) ListMasjids ¶
func (UnimplementedMasjidServiceServer) ListMasjids(context.Context, *ListMasjidsRequest) (*ListMasjidsResponse, error)
func (UnimplementedMasjidServiceServer) UpdateMasjid ¶
func (UnimplementedMasjidServiceServer) UpdateMasjid(context.Context, *UpdateMasjidRequest) (*Masjid, error)
type UnimplementedNikkahIoServiceServer ¶
type UnimplementedNikkahIoServiceServer struct{}
UnimplementedNikkahIoServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNikkahIoServiceServer) AcceptNikkahMatchInvite ¶
func (UnimplementedNikkahIoServiceServer) AcceptNikkahMatchInvite(context.Context, *AcceptNikkahMatchInviteRequest) (*NikkahMatch, error)
func (UnimplementedNikkahIoServiceServer) CancelNikkahLike ¶
func (UnimplementedNikkahIoServiceServer) CancelNikkahLike(context.Context, *CancelNikkahLikeRequest) (*NikkahLike, error)
func (UnimplementedNikkahIoServiceServer) CompleteNikkahLike ¶
func (UnimplementedNikkahIoServiceServer) CompleteNikkahLike(context.Context, *CompleteNikkahLikeRequest) (*CompleteNikkahLikeResponse, error)
func (UnimplementedNikkahIoServiceServer) CreateNikkahProfile ¶
func (UnimplementedNikkahIoServiceServer) CreateNikkahProfile(context.Context, *CreateNikkahProfileRequest) (*NikkahProfile, error)
func (UnimplementedNikkahIoServiceServer) EndNikkahMatch ¶
func (UnimplementedNikkahIoServiceServer) EndNikkahMatch(context.Context, *EndNikkahMatchRequest) (*NikkahMatch, error)
func (UnimplementedNikkahIoServiceServer) GetNikkahProfile ¶
func (UnimplementedNikkahIoServiceServer) GetNikkahProfile(context.Context, *GetNikkahProfileRequest) (*NikkahProfile, error)
func (UnimplementedNikkahIoServiceServer) GetSelfNikkahProfile ¶
func (UnimplementedNikkahIoServiceServer) GetSelfNikkahProfile(context.Context, *GetSelfNikkahProfileRequest) (*NikkahProfile, error)
func (UnimplementedNikkahIoServiceServer) InitiateNikkahLike ¶
func (UnimplementedNikkahIoServiceServer) InitiateNikkahLike(context.Context, *InitiateNikkahLikeRequest) (*NikkahLike, error)
func (UnimplementedNikkahIoServiceServer) ListNikkahProfiles ¶
func (UnimplementedNikkahIoServiceServer) ListNikkahProfiles(context.Context, *ListNikkahProfilesRequest) (*ListNikkahProfilesResponse, error)
func (UnimplementedNikkahIoServiceServer) RejectNikkahMatchInvite ¶
func (UnimplementedNikkahIoServiceServer) RejectNikkahMatchInvite(context.Context, *RejectNikkahMatchInviteRequest) (*NikkahMatch, error)
func (UnimplementedNikkahIoServiceServer) UpdateSelfNikkahProfile ¶
func (UnimplementedNikkahIoServiceServer) UpdateSelfNikkahProfile(context.Context, *UpdateSelfNikkahProfileRequest) (*NikkahProfile, error)
type UnimplementedRevertsIoServiceServer ¶
type UnimplementedRevertsIoServiceServer struct{}
UnimplementedRevertsIoServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedRevertsIoServiceServer) AcceptRevertMatchInvite ¶
func (UnimplementedRevertsIoServiceServer) AcceptRevertMatchInvite(context.Context, *AcceptRevertMatchInviteRequest) (*RevertMatch, error)
func (UnimplementedRevertsIoServiceServer) CreateRevertMatchInvite ¶
func (UnimplementedRevertsIoServiceServer) CreateRevertMatchInvite(context.Context, *CreateRevertMatchInviteRequest) (*RevertMatch, error)
func (UnimplementedRevertsIoServiceServer) CreateRevertProfile ¶
func (UnimplementedRevertsIoServiceServer) CreateRevertProfile(context.Context, *CreateRevertProfileRequest) (*RevertProfile, error)
func (UnimplementedRevertsIoServiceServer) EndRevertMatch ¶
func (UnimplementedRevertsIoServiceServer) EndRevertMatch(context.Context, *EndRevertMatchRequest) (*RevertMatch, error)
func (UnimplementedRevertsIoServiceServer) GetRevertProfile ¶
func (UnimplementedRevertsIoServiceServer) GetRevertProfile(context.Context, *GetRevertProfileRequest) (*RevertProfile, error)
func (UnimplementedRevertsIoServiceServer) GetSelfRevertProfile ¶
func (UnimplementedRevertsIoServiceServer) GetSelfRevertProfile(context.Context, *GetSelfRevertProfileRequest) (*RevertProfile, error)
func (UnimplementedRevertsIoServiceServer) ListRevertProfiles ¶
func (UnimplementedRevertsIoServiceServer) ListRevertProfiles(context.Context, *ListRevertProfilesRequest) (*ListRevertProfilesResponse, error)
func (UnimplementedRevertsIoServiceServer) RejectRevertMatchInvite ¶
func (UnimplementedRevertsIoServiceServer) RejectRevertMatchInvite(context.Context, *RejectRevertMatchInviteRequest) (*RevertMatch, error)
func (UnimplementedRevertsIoServiceServer) UpdateSelfRevertProfile ¶
func (UnimplementedRevertsIoServiceServer) UpdateSelfRevertProfile(context.Context, *UpdateSelfRevertProfileRequest) (*RevertProfile, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct{}
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedUserServiceServer) AuthenticateUser ¶
func (UnimplementedUserServiceServer) AuthenticateUser(context.Context, *AuthenticateUserRequest) (*AuthenticateUserResponse, error)
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*User, error)
func (UnimplementedUserServiceServer) DeleteUser ¶
func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserServiceServer) RefreshToken ¶
func (UnimplementedUserServiceServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
func (UnimplementedUserServiceServer) UpdateUser ¶
func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
type UnsafeAdhanServiceServer ¶
type UnsafeAdhanServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdhanServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdhanServiceServer will result in compilation errors.
type UnsafeEventServiceServer ¶
type UnsafeEventServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEventServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventServiceServer will result in compilation errors.
type UnsafeMasjidServiceServer ¶
type UnsafeMasjidServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMasjidServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MasjidServiceServer will result in compilation errors.
type UnsafeNikkahIoServiceServer ¶
type UnsafeNikkahIoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNikkahIoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NikkahIoServiceServer will result in compilation errors.
type UnsafeRevertsIoServiceServer ¶
type UnsafeRevertsIoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRevertsIoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RevertsIoServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateAdhanFileRequest ¶
type UpdateAdhanFileRequest struct { // The adhan file to update to. The file associated with the id // will be updated to this given adhan file. // // The adhan file's `id` field is used to identify the book to update. // Format: adhan_files/{adhan_file} AdhanFile *AdhanFile `protobuf:"bytes,1,opt,name=adhan_file,json=adhanFile,proto3" json:"adhan_file,omitempty"` // contains filtered or unexported fields }
func (*UpdateAdhanFileRequest) Descriptor
deprecated
func (*UpdateAdhanFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAdhanFileRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdhanFileRequest) GetAdhanFile ¶
func (x *UpdateAdhanFileRequest) GetAdhanFile() *AdhanFile
func (*UpdateAdhanFileRequest) ProtoMessage ¶
func (*UpdateAdhanFileRequest) ProtoMessage()
func (*UpdateAdhanFileRequest) ProtoReflect ¶
func (x *UpdateAdhanFileRequest) ProtoReflect() protoreflect.Message
func (*UpdateAdhanFileRequest) Reset ¶
func (x *UpdateAdhanFileRequest) Reset()
func (*UpdateAdhanFileRequest) String ¶
func (x *UpdateAdhanFileRequest) String() string
type UpdateEventRequest ¶
type UpdateEventRequest struct { // The event to update in the database. // // The event's `id` field is used to identify the book to update. // Format: events/{event} Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*UpdateEventRequest) Descriptor
deprecated
func (*UpdateEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventRequest.ProtoReflect.Descriptor instead.
func (*UpdateEventRequest) GetEvent ¶
func (x *UpdateEventRequest) GetEvent() *Event
func (*UpdateEventRequest) ProtoMessage ¶
func (*UpdateEventRequest) ProtoMessage()
func (*UpdateEventRequest) ProtoReflect ¶
func (x *UpdateEventRequest) ProtoReflect() protoreflect.Message
func (*UpdateEventRequest) Reset ¶
func (x *UpdateEventRequest) Reset()
func (*UpdateEventRequest) String ¶
func (x *UpdateEventRequest) String() string
type UpdateMasjidRequest ¶
type UpdateMasjidRequest struct { // The masjid to update in the database. // // The masjid's `id` field is used to identify the book to update. // Format: masjids/{masjid} Masjid *Masjid `protobuf:"bytes,1,opt,name=masjid,proto3" json:"masjid,omitempty"` // contains filtered or unexported fields }
func (*UpdateMasjidRequest) Descriptor
deprecated
func (*UpdateMasjidRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMasjidRequest.ProtoReflect.Descriptor instead.
func (*UpdateMasjidRequest) GetMasjid ¶
func (x *UpdateMasjidRequest) GetMasjid() *Masjid
func (*UpdateMasjidRequest) ProtoMessage ¶
func (*UpdateMasjidRequest) ProtoMessage()
func (*UpdateMasjidRequest) ProtoReflect ¶
func (x *UpdateMasjidRequest) ProtoReflect() protoreflect.Message
func (*UpdateMasjidRequest) Reset ¶
func (x *UpdateMasjidRequest) Reset()
func (*UpdateMasjidRequest) String ¶
func (x *UpdateMasjidRequest) String() string
type UpdateSelfNikkahProfileRequest ¶
type UpdateSelfNikkahProfileRequest struct { // The profile to update in the database. // // The profile's `name` field is used to identify the profile to update. Profile *NikkahProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
UpdateSelfNikkahProfileRequest represents a request to update the authenticated user's profile.
func (*UpdateSelfNikkahProfileRequest) Descriptor
deprecated
func (*UpdateSelfNikkahProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSelfNikkahProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateSelfNikkahProfileRequest) GetProfile ¶
func (x *UpdateSelfNikkahProfileRequest) GetProfile() *NikkahProfile
func (*UpdateSelfNikkahProfileRequest) ProtoMessage ¶
func (*UpdateSelfNikkahProfileRequest) ProtoMessage()
func (*UpdateSelfNikkahProfileRequest) ProtoReflect ¶
func (x *UpdateSelfNikkahProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateSelfNikkahProfileRequest) Reset ¶
func (x *UpdateSelfNikkahProfileRequest) Reset()
func (*UpdateSelfNikkahProfileRequest) String ¶
func (x *UpdateSelfNikkahProfileRequest) String() string
type UpdateSelfRevertProfileRequest ¶
type UpdateSelfRevertProfileRequest struct { // The event to update in the database. // // The event's `id` field is used to identify the book to update. // Format: events/{event} Profile *RevertProfile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*UpdateSelfRevertProfileRequest) Descriptor
deprecated
func (*UpdateSelfRevertProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSelfRevertProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateSelfRevertProfileRequest) GetProfile ¶
func (x *UpdateSelfRevertProfileRequest) GetProfile() *RevertProfile
func (*UpdateSelfRevertProfileRequest) ProtoMessage ¶
func (*UpdateSelfRevertProfileRequest) ProtoMessage()
func (*UpdateSelfRevertProfileRequest) ProtoReflect ¶
func (x *UpdateSelfRevertProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateSelfRevertProfileRequest) Reset ¶
func (x *UpdateSelfRevertProfileRequest) Reset()
func (*UpdateSelfRevertProfileRequest) String ¶
func (x *UpdateSelfRevertProfileRequest) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { // The updated user proto. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetUser ¶
func (x *UpdateUserRequest) GetUser() *User
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 { // The ID of the user. This field is output only. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The email of the user. This field is required and must be unique. Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // The username of the user. This field is required and must be unique. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // Whether or not the email of the user was verified. IsEmailVerified bool `protobuf:"varint,4,opt,name=is_email_verified,json=isEmailVerified,proto3" json:"is_email_verified,omitempty"` // The first name of the user. FirstName string `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` // The last name of the user. LastName string `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` // The phone number associated with the user. PhoneNumber string `protobuf:"bytes,7,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` Gender User_Gender `protobuf:"varint,8,opt,name=gender,proto3,enum=limestone.User_Gender" json:"gender,omitempty"` // The create time of the user. This field is output only. CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The update time of the user. This field is output only. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
Defines a User.
func (*User) Descriptor
deprecated
func (*User) GetCreateTime ¶
func (x *User) GetCreateTime() *timestamppb.Timestamp
func (*User) GetFirstName ¶
func (*User) GetGender ¶
func (x *User) GetGender() User_Gender
func (*User) GetIsEmailVerified ¶
func (*User) GetLastName ¶
func (*User) GetPhoneNumber ¶
func (*User) GetUpdateTime ¶
func (x *User) GetUpdateTime() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserServiceClient ¶
type UserServiceClient interface { // Creates the given User with the given password. CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error) // Gets a User from the database and tokens provided the auth token is valid. GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) // Updates a User to the given User in the request provided the auth token is valid. UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*User, error) // Deletes a User from the database provided the auth token is valid. DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) // Authenticates a user based on their username or email and password AuthenticateUser(ctx context.Context, in *AuthenticateUserRequest, opts ...grpc.CallOption) (*AuthenticateUserResponse, error) // Refreshes an existing authentication token RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error) }
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { // Creates the given User with the given password. CreateUser(context.Context, *CreateUserRequest) (*User, error) // Gets a User from the database and tokens provided the auth token is valid. GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) // Updates a User to the given User in the request provided the auth token is valid. UpdateUser(context.Context, *UpdateUserRequest) (*User, error) // Deletes a User from the database provided the auth token is valid. DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) // Authenticates a user based on their username or email and password AuthenticateUser(context.Context, *AuthenticateUserRequest) (*AuthenticateUserResponse, error) // Refreshes an existing authentication token RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility.
type User_Gender ¶
type User_Gender int32
Defines an enum representing the gender of the user.
const ( // Default value. User_GENDER_UNSPECIFIED User_Gender = 0 User_MALE User_Gender = 1 User_FEMALE User_Gender = 2 )
func (User_Gender) Descriptor ¶
func (User_Gender) Descriptor() protoreflect.EnumDescriptor
func (User_Gender) Enum ¶
func (x User_Gender) Enum() *User_Gender
func (User_Gender) EnumDescriptor
deprecated
func (User_Gender) EnumDescriptor() ([]byte, []int)
Deprecated: Use User_Gender.Descriptor instead.
func (User_Gender) Number ¶
func (x User_Gender) Number() protoreflect.EnumNumber
func (User_Gender) String ¶
func (x User_Gender) String() string
func (User_Gender) Type ¶
func (User_Gender) Type() protoreflect.EnumType
Source Files ¶
- adhan_service.pb.go
- adhan_service.pb.gw.go
- adhan_service_grpc.pb.go
- event_service.pb.go
- event_service.pb.gw.go
- event_service_grpc.pb.go
- masjid_service.pb.go
- masjid_service.pb.gw.go
- masjid_service_grpc.pb.go
- nikkah_service.pb.go
- nikkah_service.pb.gw.go
- nikkah_service_grpc.pb.go
- reverts_service.pb.go
- reverts_service.pb.gw.go
- reverts_service_grpc.pb.go
- user_service.pb.go
- user_service.pb.gw.go
- user_service_grpc.pb.go