Documentation ¶
Index ¶
- func GetUserWithNewContext(ctx context.Context, userId string, userEmail string, requestId string, ...) (*partyproto.User, error)
- func StartPartyServer(log *zap.Logger, isTest bool, pwd string, dbOpt *config.DBOptions, ...)
- func StartUserServer(log *zap.Logger, isTest bool, pwd string, dbOpt *config.DBOptions, ...)
- type DocumentPartyService
- func (dps *DocumentPartyService) CreateDocumentPartiesByBookingID(ctx context.Context, inReq *partyproto.CreateDocumentPartiesByBookingIDRequest) (*partyproto.CreateDocumentPartiesByBookingIDResponse, error)
- func (dps *DocumentPartyService) CreateDocumentPartiesByShippingInstructionID(ctx context.Context, ...) (*partyproto.CreateDocumentPartiesByShippingInstructionIDResponse, error)
- func (dps *DocumentPartyService) CreateDocumentParty(ctx context.Context, in *partyproto.CreateDocumentPartyRequest) (*partyproto.CreateDocumentPartyResponse, error)
- func (dps *DocumentPartyService) FetchDocumentPartiesByBookingID(ctx context.Context, in *partyproto.FetchDocumentPartiesByBookingIDRequest) (*partyproto.FetchDocumentPartiesByBookingIDResponse, error)
- func (dps *DocumentPartyService) FetchDocumentPartiesByByShippingInstructionID(ctx context.Context, ...) (*partyproto.FetchDocumentPartiesByByShippingInstructionIDResponse, error)
- func (dps *DocumentPartyService) ProcessDocumentPartyRequest(ctx context.Context, in *partyproto.CreateDocumentPartyRequest) (*partyproto.DocumentParty, error)
- func (dps *DocumentPartyService) ResolveDocumentPartiesForShippingInstructionID(ctx context.Context, ...) (*partyproto.ResolveDocumentPartiesForShippingInstructionIDResponse, error)
- type LocationService
- func (ls *LocationService) CreateLocation(ctx context.Context, in *partyproto.CreateLocationRequest) (*partyproto.CreateLocationResponse, error)
- func (ls *LocationService) FetchLocationByID(ctx context.Context, inReq *partyproto.FetchLocationByIDRequest) (*partyproto.FetchLocationByIDResponse, error)
- func (ls *LocationService) LoadLocations(ctx context.Context, in *partyproto.LoadLocationsRequest) (*partyproto.LoadLocationsResponse, error)
- func (ls *LocationService) ProcessLocationRequest(ctx context.Context, in *partyproto.CreateLocationRequest) (*partyproto.Location, error)
- type PartyService
- func (ps *PartyService) CreateDisplayedAddress(ctx context.Context, in *partyproto.CreateDisplayedAddressRequest) (*partyproto.CreateDisplayedAddressResponse, error)
- func (ps *PartyService) CreateFacility(ctx context.Context, in *partyproto.CreateFacilityRequest) (*partyproto.CreateFacilityResponse, error)
- func (ps *PartyService) CreateParty(ctx context.Context, in *partyproto.CreatePartyRequest) (*partyproto.CreatePartyResponse, error)
- func (ps *PartyService) CreatePartyContactDetail(ctx context.Context, in *partyproto.CreatePartyContactDetailRequest) (*partyproto.CreatePartyContactDetailResponse, error)
- func (ps *PartyService) CreatePartyFunction(ctx context.Context, in *partyproto.CreatePartyFunctionRequest) (*partyproto.CreatePartyFunctionResponse, error)
- func (ps *PartyService) CreatePartyIdentifyingCode(ctx context.Context, in *partyproto.CreatePartyIdentifyingCodeRequest) (*partyproto.CreatePartyIdentifyingCodeResponse, error)
- func (ps *PartyService) DeleteParty(ctx context.Context, inReq *partyproto.DeletePartyRequest) (*partyproto.DeletePartyResponse, error)
- func (ps *PartyService) DeletePartyContactDetail(ctx context.Context, inReq *partyproto.DeletePartyContactDetailRequest) (*partyproto.DeletePartyContactDetailResponse, error)
- func (ps *PartyService) GetParties(ctx context.Context, in *partyproto.GetPartiesRequest) (*partyproto.GetPartiesResponse, error)
- func (ps *PartyService) GetParty(ctx context.Context, inReq *partyproto.GetPartyRequest) (*partyproto.GetPartyResponse, error)
- func (ps *PartyService) GetPartyByPk(ctx context.Context, inReq *partyproto.GetPartyByPkRequest) (*partyproto.GetPartyByPkResponse, error)
- func (ps *PartyService) GetPartyContactDetail(ctx context.Context, inReq *partyproto.GetPartyContactDetailRequest) (*partyproto.GetPartyContactDetailResponse, error)
- func (ps *PartyService) GetPartyContactDetailStruct(ctx context.Context, in *commonproto.GetRequest, ...) (*partyproto.PartyContactDetail, error)
- func (ps *PartyService) GetPartyStruct(ctx context.Context, in *commonproto.GetRequest, partyTmp partystruct.Party) (*partyproto.Party, error)
- func (ps *PartyService) ProcessDisplayedAddressRequest(ctx context.Context, in *partyproto.CreateDisplayedAddressRequest) (*partyproto.DisplayedAddress, error)
- func (ps *PartyService) ProcessFacilityRequest(ctx context.Context, in *partyproto.CreateFacilityRequest) (*partyproto.Facility, error)
- func (ps *PartyService) ProcessPartyFunctionRequest(ctx context.Context, in *partyproto.CreatePartyFunctionRequest) (*partyproto.PartyFunction, error)
- func (ps *PartyService) ProcessPartyIdentifyingCodeRequest(ctx context.Context, in *partyproto.CreatePartyIdentifyingCodeRequest) (*partyproto.PartyIdentifyingCode, error)
- func (ps *PartyService) UpdateParty(ctx context.Context, in *partyproto.UpdatePartyRequest) (*partyproto.UpdatePartyResponse, error)
- func (ps *PartyService) UpdatePartyContactDetail(ctx context.Context, in *partyproto.UpdatePartyContactDetailRequest) (*partyproto.UpdatePartyContactDetailResponse, error)
- type UserService
- func (u *UserService) AddAPIPermission(ctx context.Context, in *partyproto.AddAPIPermissionRequest) (*partyproto.AddAPIPermissionResponse, error)
- func (u *UserService) AddPermisionsToRoles(ctx context.Context, in *partyproto.AddPermisionsToRolesRequest) (*partyproto.AddPermisionsToRolesResponse, error)
- func (u *UserService) AssignRolesToUsers(ctx context.Context, in *partyproto.AssignRolesToUsersRequest) (*partyproto.AssignRolesToUsersResponse, error)
- func (u *UserService) ChangePassword(ctx context.Context, in *partyproto.ChangePasswordRequest) (*partyproto.ChangePasswordResponse, error)
- func (u *UserService) CreateRole(ctx context.Context, in *partyproto.CreateRoleRequest) (*partyproto.CreateRoleResponse, error)
- func (u *UserService) DeleteRole(ctx context.Context, in *partyproto.DeleteRoleRequest) (*partyproto.DeleteRoleResponse, error)
- func (u *UserService) DeleteUser(ctx context.Context, in *partyproto.DeleteUserRequest) (*partyproto.DeleteUserResponse, error)
- func (u *UserService) GetAuthUserDetails(ctx context.Context, in *partyproto.GetAuthUserDetailsRequest) (*partyproto.GetAuthUserDetailsResponse, error)
- func (u *UserService) GetRole(ctx context.Context, in *partyproto.GetRoleRequest) (*partyproto.GetRoleResponse, error)
- func (u *UserService) GetRolePermissions(ctx context.Context, in *partyproto.GetRolePermissionsRequest) (*partyproto.GetRolePermissionsResponse, error)
- func (u *UserService) GetRoleUsers(ctx context.Context, in *partyproto.GetRoleUsersRequest) (*partyproto.GetRoleUsersResponse, error)
- func (u *UserService) GetRoles(ctx context.Context, in *partyproto.GetRolesRequest) (*partyproto.GetRolesResponse, error)
- func (u *UserService) GetUser(ctx context.Context, inReq *partyproto.GetUserRequest) (*partyproto.GetUserResponse, error)
- func (u *UserService) GetUserByEmail(ctx context.Context, in *partyproto.GetUserByEmailRequest) (*partyproto.GetUserByEmailResponse, error)
- func (u *UserService) GetUsers(ctx context.Context, in *partyproto.GetUsersRequest) (*partyproto.GetUsersResponse, error)
- func (u *UserService) RefreshToken(ctx context.Context, form *partyproto.RefreshTokenRequest) (*partyproto.RefreshTokenResponse, error)
- func (u *UserService) RemoveRolePermission(ctx context.Context, in *partyproto.RemoveRolePermissionRequest) (*partyproto.RemoveRolePermissionResponse, error)
- func (u *UserService) UpdateRole(ctx context.Context, in *partyproto.UpdateRoleRequest) (*partyproto.UpdateRoleResponse, error)
- func (u *UserService) UpdateUser(ctx context.Context, form *partyproto.UpdateUserRequest) (*partyproto.UpdateUserResponse, error)
- func (u *UserService) UserTracer(ctx context.Context)
- func (u *UserService) ViewUserRoles(ctx context.Context, in *partyproto.ViewUserRolesRequest) (*partyproto.ViewUserRolesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUserWithNewContext ¶
func GetUserWithNewContext(ctx context.Context, userId string, userEmail string, requestId string, userServiceClient partyproto.UserServiceClient) (*partyproto.User, error)
GetUserWithNewContext - GetUserWithNewContext
func StartPartyServer ¶
func StartPartyServer(log *zap.Logger, isTest bool, pwd string, dbOpt *config.DBOptions, redisOpt *config.RedisOptions, mailerOpt *config.MailerOptions, grpcServerOpt *config.GrpcServerOptions, jwtOpt *config.JWTOptions, oauthOpt *config.OauthOptions, userOpt *config.UserOptions, uptraceOpt *config.UptraceOptions, dbService *common.DBService, redisService *common.RedisService, mailerService common.MailerIntf)
StartPartyServer - Start Party server
func StartUserServer ¶
func StartUserServer(log *zap.Logger, isTest bool, pwd string, dbOpt *config.DBOptions, redisOpt *config.RedisOptions, mailerOpt *config.MailerOptions, serverOpt *config.ServerOptions, grpcServerOpt *config.GrpcServerOptions, jwtOpt *config.JWTOptions, oauthOpt *config.OauthOptions, userOpt *config.UserOptions, uptraceOpt *config.UptraceOptions, dbService *common.DBService, redisService *common.RedisService, mailerService common.MailerIntf)
StartUserServer - Start User Server
Types ¶
type DocumentPartyService ¶
type DocumentPartyService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient partyproto.UnimplementedDocumentPartyServiceServer // contains filtered or unexported fields }
DocumentPartyService - For accessing Document Party services
func NewDocumentPartyService ¶
func NewDocumentPartyService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *DocumentPartyService
NewDocumentPartyService - Create Document Party service
func (*DocumentPartyService) CreateDocumentPartiesByBookingID ¶
func (dps *DocumentPartyService) CreateDocumentPartiesByBookingID(ctx context.Context, inReq *partyproto.CreateDocumentPartiesByBookingIDRequest) (*partyproto.CreateDocumentPartiesByBookingIDResponse, error)
CreateDocumentPartiesByBookingID - CreateDocumentPartiesByBookingID
func (*DocumentPartyService) CreateDocumentPartiesByShippingInstructionID ¶
func (dps *DocumentPartyService) CreateDocumentPartiesByShippingInstructionID(ctx context.Context, inReq *partyproto.CreateDocumentPartiesByShippingInstructionIDRequest) (*partyproto.CreateDocumentPartiesByShippingInstructionIDResponse, error)
CreateDocumentPartiesByShippingInstructionID - CreateDocumentPartiesByShippingInstructionID
func (*DocumentPartyService) CreateDocumentParty ¶
func (dps *DocumentPartyService) CreateDocumentParty(ctx context.Context, in *partyproto.CreateDocumentPartyRequest) (*partyproto.CreateDocumentPartyResponse, error)
CreateDocumentParty - CreateDocumentParty
func (*DocumentPartyService) FetchDocumentPartiesByBookingID ¶
func (dps *DocumentPartyService) FetchDocumentPartiesByBookingID(ctx context.Context, in *partyproto.FetchDocumentPartiesByBookingIDRequest) (*partyproto.FetchDocumentPartiesByBookingIDResponse, error)
FetchDocumentPartiesByBookingID - Get DocumentParties
func (*DocumentPartyService) FetchDocumentPartiesByByShippingInstructionID ¶
func (dps *DocumentPartyService) FetchDocumentPartiesByByShippingInstructionID(ctx context.Context, in *partyproto.FetchDocumentPartiesByByShippingInstructionIDRequest) (*partyproto.FetchDocumentPartiesByByShippingInstructionIDResponse, error)
FetchDocumentPartiesByByShippingInstructionID - Get DocumentParties
func (*DocumentPartyService) ProcessDocumentPartyRequest ¶
func (dps *DocumentPartyService) ProcessDocumentPartyRequest(ctx context.Context, in *partyproto.CreateDocumentPartyRequest) (*partyproto.DocumentParty, error)
ProcessDocumentPartyRequest - Process DocumentPartyRequest
func (*DocumentPartyService) ResolveDocumentPartiesForShippingInstructionID ¶
func (dps *DocumentPartyService) ResolveDocumentPartiesForShippingInstructionID(ctx context.Context, in *partyproto.ResolveDocumentPartiesForShippingInstructionIDRequest) (*partyproto.ResolveDocumentPartiesForShippingInstructionIDResponse, error)
ResolveDocumentPartiesForShippingInstructionID - ResolveDocumentPartiesForShippingInstructionID
type LocationService ¶
type LocationService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient partyproto.UnimplementedLocationServiceServer // contains filtered or unexported fields }
LocationService - For accessing Location services
func NewLocationService ¶
func NewLocationService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *LocationService
NewLocationService - Create Location service
func (*LocationService) CreateLocation ¶
func (ls *LocationService) CreateLocation(ctx context.Context, in *partyproto.CreateLocationRequest) (*partyproto.CreateLocationResponse, error)
CreateLocation - CreateLocation
func (*LocationService) FetchLocationByID ¶
func (ls *LocationService) FetchLocationByID(ctx context.Context, inReq *partyproto.FetchLocationByIDRequest) (*partyproto.FetchLocationByIDResponse, error)
FetchLocationByID - FetchLocationByID
func (*LocationService) LoadLocations ¶
func (ls *LocationService) LoadLocations(ctx context.Context, in *partyproto.LoadLocationsRequest) (*partyproto.LoadLocationsResponse, error)
LoadLocations - Get Locations
func (*LocationService) ProcessLocationRequest ¶
func (ls *LocationService) ProcessLocationRequest(ctx context.Context, in *partyproto.CreateLocationRequest) (*partyproto.Location, error)
ProcessLocationRequest - Process LocationRequest
type PartyService ¶
type PartyService struct { DBService *common.DBService RedisService *common.RedisService UserServiceClient partyproto.UserServiceClient partyproto.UnimplementedPartyServiceServer // contains filtered or unexported fields }
PartyService - For accessing Party services
func NewPartyService ¶
func NewPartyService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, userServiceClient partyproto.UserServiceClient) *PartyService
NewPartyService - Create Party service
func (*PartyService) CreateDisplayedAddress ¶
func (ps *PartyService) CreateDisplayedAddress(ctx context.Context, in *partyproto.CreateDisplayedAddressRequest) (*partyproto.CreateDisplayedAddressResponse, error)
CreateDisplayedAddress - CreateDisplayedAddress
func (*PartyService) CreateFacility ¶
func (ps *PartyService) CreateFacility(ctx context.Context, in *partyproto.CreateFacilityRequest) (*partyproto.CreateFacilityResponse, error)
CreateFacility - CreateFacility
func (*PartyService) CreateParty ¶
func (ps *PartyService) CreateParty(ctx context.Context, in *partyproto.CreatePartyRequest) (*partyproto.CreatePartyResponse, error)
CreateParty - Create Party
func (*PartyService) CreatePartyContactDetail ¶
func (ps *PartyService) CreatePartyContactDetail(ctx context.Context, in *partyproto.CreatePartyContactDetailRequest) (*partyproto.CreatePartyContactDetailResponse, error)
CreatePartyContactDetail - Create PartyContactDetail
func (*PartyService) CreatePartyFunction ¶
func (ps *PartyService) CreatePartyFunction(ctx context.Context, in *partyproto.CreatePartyFunctionRequest) (*partyproto.CreatePartyFunctionResponse, error)
CreatePartyFunction - CreatePartyFunction
func (*PartyService) CreatePartyIdentifyingCode ¶
func (ps *PartyService) CreatePartyIdentifyingCode(ctx context.Context, in *partyproto.CreatePartyIdentifyingCodeRequest) (*partyproto.CreatePartyIdentifyingCodeResponse, error)
CreatePartyIdentifyingCode - CreatePartyIdentifyingCode
func (*PartyService) DeleteParty ¶
func (ps *PartyService) DeleteParty(ctx context.Context, inReq *partyproto.DeletePartyRequest) (*partyproto.DeletePartyResponse, error)
DeleteParty - Delete party
func (*PartyService) DeletePartyContactDetail ¶
func (ps *PartyService) DeletePartyContactDetail(ctx context.Context, inReq *partyproto.DeletePartyContactDetailRequest) (*partyproto.DeletePartyContactDetailResponse, error)
DeletePartyContactDetail - Delete party contact
func (*PartyService) GetParties ¶
func (ps *PartyService) GetParties(ctx context.Context, in *partyproto.GetPartiesRequest) (*partyproto.GetPartiesResponse, error)
GetParties - Get Parties
func (*PartyService) GetParty ¶
func (ps *PartyService) GetParty(ctx context.Context, inReq *partyproto.GetPartyRequest) (*partyproto.GetPartyResponse, error)
GetParty - Get Party
func (*PartyService) GetPartyByPk ¶
func (ps *PartyService) GetPartyByPk(ctx context.Context, inReq *partyproto.GetPartyByPkRequest) (*partyproto.GetPartyByPkResponse, error)
GetPartyByPk - Get Party By Primary key(Id)
func (*PartyService) GetPartyContactDetail ¶
func (ps *PartyService) GetPartyContactDetail(ctx context.Context, inReq *partyproto.GetPartyContactDetailRequest) (*partyproto.GetPartyContactDetailResponse, error)
GetPartyContactDetail - Get Party Contact
func (*PartyService) GetPartyContactDetailStruct ¶
func (ps *PartyService) GetPartyContactDetailStruct(ctx context.Context, in *commonproto.GetRequest, partyContactDetailTmp partystruct.PartyContactDetail) (*partyproto.PartyContactDetail, error)
GetPartyContactDetailStruct - Get partyContactDetail
func (*PartyService) GetPartyStruct ¶
func (ps *PartyService) GetPartyStruct(ctx context.Context, in *commonproto.GetRequest, partyTmp partystruct.Party) (*partyproto.Party, error)
GetPartyStruct - Get party
func (*PartyService) ProcessDisplayedAddressRequest ¶
func (ps *PartyService) ProcessDisplayedAddressRequest(ctx context.Context, in *partyproto.CreateDisplayedAddressRequest) (*partyproto.DisplayedAddress, error)
ProcessDisplayedAddressRequest - Process DisplayedAddressRequest
func (*PartyService) ProcessFacilityRequest ¶
func (ps *PartyService) ProcessFacilityRequest(ctx context.Context, in *partyproto.CreateFacilityRequest) (*partyproto.Facility, error)
ProcessFacilityRequest - ProcessFacilityRequest
func (*PartyService) ProcessPartyFunctionRequest ¶
func (ps *PartyService) ProcessPartyFunctionRequest(ctx context.Context, in *partyproto.CreatePartyFunctionRequest) (*partyproto.PartyFunction, error)
ProcessPartyFunctionRequest - Process PartyFunctionRequest
func (*PartyService) ProcessPartyIdentifyingCodeRequest ¶
func (ps *PartyService) ProcessPartyIdentifyingCodeRequest(ctx context.Context, in *partyproto.CreatePartyIdentifyingCodeRequest) (*partyproto.PartyIdentifyingCode, error)
ProcessPartyIdentifyingCodeRequest - Process PartyIdentifyingCodeRequest
func (*PartyService) UpdateParty ¶
func (ps *PartyService) UpdateParty(ctx context.Context, in *partyproto.UpdatePartyRequest) (*partyproto.UpdatePartyResponse, error)
UpdateParty - Update party
func (*PartyService) UpdatePartyContactDetail ¶
func (ps *PartyService) UpdatePartyContactDetail(ctx context.Context, in *partyproto.UpdatePartyContactDetailRequest) (*partyproto.UpdatePartyContactDetailResponse, error)
UpdatePartyContactDetail - Update User In Parties
type UserService ¶
type UserService struct { DBService *common.DBService RedisService *common.RedisService MailerService common.MailerIntf JWTOptions *config.JWTOptions UserOptions *config.UserOptions ServerOptions *config.ServerOptions partyproto.UnimplementedUserServiceServer // contains filtered or unexported fields }
UserService - For accessing user services
func NewUserService ¶
func NewUserService(log *zap.Logger, dbOpt *common.DBService, redisOpt *common.RedisService, mailerOpt common.MailerIntf, jwtOptions *config.JWTOptions, userOpt *config.UserOptions, serverOpt *config.ServerOptions) *UserService
NewUserService - Create User Service
func (*UserService) AddAPIPermission ¶
func (u *UserService) AddAPIPermission(ctx context.Context, in *partyproto.AddAPIPermissionRequest) (*partyproto.AddAPIPermissionResponse, error)
AddAPIPermission - used to create permission
func (*UserService) AddPermisionsToRoles ¶
func (u *UserService) AddPermisionsToRoles(ctx context.Context, in *partyproto.AddPermisionsToRolesRequest) (*partyproto.AddPermisionsToRolesResponse, error)
func (*UserService) AssignRolesToUsers ¶
func (u *UserService) AssignRolesToUsers(ctx context.Context, in *partyproto.AssignRolesToUsersRequest) (*partyproto.AssignRolesToUsersResponse, error)
AssignRolesToUsers - used to assign roles to users
func (*UserService) ChangePassword ¶
func (u *UserService) ChangePassword(ctx context.Context, in *partyproto.ChangePasswordRequest) (*partyproto.ChangePasswordResponse, error)
ChangePassword - used to update password
func (*UserService) CreateRole ¶
func (u *UserService) CreateRole(ctx context.Context, in *partyproto.CreateRoleRequest) (*partyproto.CreateRoleResponse, error)
CreateRole - used to create Role
func (*UserService) DeleteRole ¶
func (u *UserService) DeleteRole(ctx context.Context, in *partyproto.DeleteRoleRequest) (*partyproto.DeleteRoleResponse, error)
DeleteRole - used to delete Role
func (*UserService) DeleteUser ¶
func (u *UserService) DeleteUser(ctx context.Context, in *partyproto.DeleteUserRequest) (*partyproto.DeleteUserResponse, error)
DeleteUser - used to get user by Id
func (*UserService) GetAuthUserDetails ¶
func (u *UserService) GetAuthUserDetails(ctx context.Context, in *partyproto.GetAuthUserDetailsRequest) (*partyproto.GetAuthUserDetailsResponse, error)
GetAuthUserDetails - used to get auth user details
func (*UserService) GetRole ¶
func (u *UserService) GetRole(ctx context.Context, in *partyproto.GetRoleRequest) (*partyproto.GetRoleResponse, error)
GetRole - used to get Role
func (*UserService) GetRolePermissions ¶
func (u *UserService) GetRolePermissions(ctx context.Context, in *partyproto.GetRolePermissionsRequest) (*partyproto.GetRolePermissionsResponse, error)
func (*UserService) GetRoleUsers ¶
func (u *UserService) GetRoleUsers(ctx context.Context, in *partyproto.GetRoleUsersRequest) (*partyproto.GetRoleUsersResponse, error)
func (*UserService) GetRoles ¶
func (u *UserService) GetRoles(ctx context.Context, in *partyproto.GetRolesRequest) (*partyproto.GetRolesResponse, error)
GetRoles - used to get Roles
func (*UserService) GetUser ¶
func (u *UserService) GetUser(ctx context.Context, inReq *partyproto.GetUserRequest) (*partyproto.GetUserResponse, error)
GetUser - used to get user by Id
func (*UserService) GetUserByEmail ¶
func (u *UserService) GetUserByEmail(ctx context.Context, in *partyproto.GetUserByEmailRequest) (*partyproto.GetUserByEmailResponse, error)
GetUserByEmail - Get user details by email
func (*UserService) GetUsers ¶
func (u *UserService) GetUsers(ctx context.Context, in *partyproto.GetUsersRequest) (*partyproto.GetUsersResponse, error)
GetUsers - Get users
func (*UserService) RefreshToken ¶
func (u *UserService) RefreshToken(ctx context.Context, form *partyproto.RefreshTokenRequest) (*partyproto.RefreshTokenResponse, error)
RefreshToken - used for Refresh Token this needs to convert to auth0 code
func (*UserService) RemoveRolePermission ¶
func (u *UserService) RemoveRolePermission(ctx context.Context, in *partyproto.RemoveRolePermissionRequest) (*partyproto.RemoveRolePermissionResponse, error)
func (*UserService) UpdateRole ¶
func (u *UserService) UpdateRole(ctx context.Context, in *partyproto.UpdateRoleRequest) (*partyproto.UpdateRoleResponse, error)
UpdateRole - used to update Role
func (*UserService) UpdateUser ¶
func (u *UserService) UpdateUser(ctx context.Context, form *partyproto.UpdateUserRequest) (*partyproto.UpdateUserResponse, error)
func (*UserService) UserTracer ¶
func (u *UserService) UserTracer(ctx context.Context)
func (*UserService) ViewUserRoles ¶
func (u *UserService) ViewUserRoles(ctx context.Context, in *partyproto.ViewUserRolesRequest) (*partyproto.ViewUserRolesResponse, error)
ViewUserRoles - used to View User Roles