Documentation
¶
Index ¶
- type AccountAPIMock
- func (_m *AccountAPIMock) ActivateAccount(ctx context.Context, in *account.ActivateAccountRequest, ...) (*account.ActivateAccountResponse, error)
- func (_m *AccountAPIMock) ActivateAccountOTP(ctx context.Context, in *account.ActivateAccountOTPRequest, ...) (*account.ActivateAccountResponse, error)
- func (_m *AccountAPIMock) AdminUpdateAccount(ctx context.Context, in *account.AdminUpdateAccountRequest, ...) (*emptypb.Empty, error)
- func (_m *AccountAPIMock) BatchGetAccounts(ctx context.Context, in *account.BatchGetAccountsRequest, ...) (*account.BatchGetAccountsResponse, error)
- func (_m *AccountAPIMock) CreateAccount(ctx context.Context, in *account.CreateAccountRequest, opts ...grpc.CallOption) (*account.CreateAccountResponse, error)
- func (_m *AccountAPIMock) DeleteAccount(ctx context.Context, in *account.DeleteAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *AccountAPIMock) ExistAccount(ctx context.Context, in *account.ExistAccountRequest, opts ...grpc.CallOption) (*account.ExistAccountResponse, error)
- func (_m *AccountAPIMock) GetAccount(ctx context.Context, in *account.GetAccountRequest, opts ...grpc.CallOption) (*account.Account, error)
- func (_m *AccountAPIMock) GetLinkedAccounts(ctx context.Context, in *account.GetLinkedAccountsRequest, ...) (*account.GetLinkedAccountsResponse, error)
- func (_m *AccountAPIMock) ListAccounts(ctx context.Context, in *account.ListAccountsRequest, opts ...grpc.CallOption) (*account.Accounts, error)
- func (_m *AccountAPIMock) RefreshSession(ctx context.Context, in *account.RefreshSessionRequest, ...) (*account.SignInResponse, error)
- func (_m *AccountAPIMock) RequestActivateAccountOTP(ctx context.Context, in *account.RequestActivateAccountOTPRequest, ...) (*emptypb.Empty, error)
- func (_m *AccountAPIMock) RequestChangePrivateAccount(ctx context.Context, in *account.RequestChangePrivateAccountRequest, ...) (*account.RequestChangePrivateAccountResponse, error)
- func (_m *AccountAPIMock) RequestSignInOTP(ctx context.Context, in *account.RequestSignInOTPRequest, ...) (*emptypb.Empty, error)
- func (_m *AccountAPIMock) SearchAccounts(ctx context.Context, in *account.SearchAccountsRequest, ...) (*account.Accounts, error)
- func (_m *AccountAPIMock) SignIn(ctx context.Context, in *account.SignInRequest, opts ...grpc.CallOption) (*account.SignInResponse, error)
- func (_m *AccountAPIMock) SignInExternal(ctx context.Context, in *account.SignInExternalRequest, ...) (*account.SignInResponse, error)
- func (_m *AccountAPIMock) SignInOTP(ctx context.Context, in *account.SignInOTPRequest, opts ...grpc.CallOption) (*account.SignInResponse, error)
- func (_m *AccountAPIMock) UpdateAccount(ctx context.Context, in *account.UpdateAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *AccountAPIMock) UpdatePrivateAccount(ctx context.Context, in *account.UpdatePrivateAccountRequest, ...) (*emptypb.Empty, error)
- func (_m *AccountAPIMock) UpdatePrivateAccountExternal(ctx context.Context, in *account.UpdatePrivateAccountExternalRequest, ...) (*emptypb.Empty, error)
- type AuthAPIMock
- func (_m *AuthAPIMock) AdminGroups() []string
- func (_m *AuthAPIMock) AuthenticateRequest(ctx context.Context) error
- func (_m *AuthAPIMock) AuthenticateRequestV2(ctx context.Context) (*auth.Payload, error)
- func (_m *AuthAPIMock) AuthorizeActor(ctx context.Context, actorID string) (*auth.Payload, error)
- func (_m *AuthAPIMock) AuthorizeActorAndGroup(ctx context.Context, actorID string, allowedGroups ...string) (*auth.Payload, error)
- func (_m *AuthAPIMock) AuthorizeActorOrGroup(ctx context.Context, actorID string, allowedGroups ...string) (*auth.Payload, error)
- func (_m *AuthAPIMock) AuthorizeActors(ctx context.Context, actorID ...string) (*auth.Payload, error)
- func (_m *AuthAPIMock) AuthorizeAdmin(ctx context.Context) (*auth.Payload, error)
- func (_m *AuthAPIMock) AuthorizeAdminStrict(ctx context.Context, adminID string) (*auth.Payload, error)
- func (_m *AuthAPIMock) AuthorizeFunc(ctx context.Context) (context.Context, error)
- func (_m *AuthAPIMock) AuthorizeGroup(ctx context.Context, allowedGroups ...string) (*auth.Payload, error)
- func (_m *AuthAPIMock) GenToken(ctx context.Context, payload *auth.Payload, expires time.Time) (string, error)
- func (_m *AuthAPIMock) GetJwtPayload(ctx context.Context) (*auth.Payload, error)
- func (_m *AuthAPIMock) GetPayloadFromJwt(jwt string) (*auth.Payload, error)
- func (_m *AuthAPIMock) IsAdmin(group string) bool
- type CallAPIClientMock
- type ChannelAPIClientMock
- func (_m *ChannelAPIClientMock) CreateChannel(ctx context.Context, in *channel.CreateChannelRequest, opts ...grpc.CallOption) (*channel.CreateChannelResponse, error)
- func (_m *ChannelAPIClientMock) DecrementSubscribers(ctx context.Context, in *channel.SubscribersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *ChannelAPIClientMock) DeleteChannel(ctx context.Context, in *channel.DeleteChannelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *ChannelAPIClientMock) GetChannel(ctx context.Context, in *channel.GetChannelRequest, opts ...grpc.CallOption) (*channel.Channel, error)
- func (_m *ChannelAPIClientMock) IncrementSubscribers(ctx context.Context, in *channel.SubscribersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *ChannelAPIClientMock) ListChannels(ctx context.Context, in *channel.ListChannelsRequest, opts ...grpc.CallOption) (*channel.ListChannelsResponse, error)
- func (_m *ChannelAPIClientMock) SearchChannels(ctx context.Context, in *channel.SearchChannelsRequest, ...) (*channel.ListChannelsResponse, error)
- func (_m *ChannelAPIClientMock) UpdateChannel(ctx context.Context, in *channel.UpdateChannelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- type Cooky
- type EmailAPIClientMock
- type FcmClient
- type FirebaseAuth
- type LongrunningClientMock
- func (_m *LongrunningClientMock) CreateOperation(ctx context.Context, in *longrunning.CreateOperationRequest, ...) (*longrunning.Operation, error)
- func (_m *LongrunningClientMock) DeleteOperation(ctx context.Context, in *longrunning.DeleteOperationRequest, ...) (*emptypb.Empty, error)
- func (_m *LongrunningClientMock) GetOperation(ctx context.Context, in *longrunning.GetOperationRequest, ...) (*longrunning.Operation, error)
- func (_m *LongrunningClientMock) ListOperations(ctx context.Context, in *longrunning.ListOperationsRequest, ...) (*longrunning.ListOperationsResponse, error)
- func (_m *LongrunningClientMock) UpdateOperation(ctx context.Context, in *longrunning.UpdateOperationRequest, ...) (*longrunning.Operation, error)
- type MessagingAPIClientMock
- func (_m *MessagingAPIClientMock) BroadCastMessage(ctx context.Context, in *messaging.BroadCastMessageRequest, ...) (*emptypb.Empty, error)
- func (_m *MessagingAPIClientMock) GetNewMessagesCount(ctx context.Context, in *messaging.MessageRequest, opts ...grpc.CallOption) (*messaging.NewMessagesCount, error)
- func (_m *MessagingAPIClientMock) ListMessages(ctx context.Context, in *messaging.ListMessagesRequest, ...) (*messaging.Messages, error)
- func (_m *MessagingAPIClientMock) ReadAll(ctx context.Context, in *messaging.MessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *MessagingAPIClientMock) SendMessage(ctx context.Context, in *messaging.SendMessageRequest, opts ...grpc.CallOption) (*messaging.SendMessageResponse, error)
- type PushAPIClientMock
- type SMSAPIClientMock
- type SubscriberAPIClientMock
- func (_m *SubscriberAPIClientMock) GetSubscriber(ctx context.Context, in *subscriber.GetSubscriberRequest, ...) (*subscriber.Subscriber, error)
- func (_m *SubscriberAPIClientMock) ListSubscribers(ctx context.Context, in *subscriber.ListSubscribersRequest, ...) (*subscriber.ListSubscribersResponse, error)
- func (_m *SubscriberAPIClientMock) Subscribe(ctx context.Context, in *subscriber.SubscriberRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *SubscriberAPIClientMock) Unsubscribe(ctx context.Context, in *subscriber.SubscriberRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountAPIMock ¶
AccountAPIMock is an autogenerated mock type for the AccountAPIMock type
func (*AccountAPIMock) ActivateAccount ¶
func (_m *AccountAPIMock) ActivateAccount(ctx context.Context, in *account.ActivateAccountRequest, opts ...grpc.CallOption) (*account.ActivateAccountResponse, error)
ActivateAccount provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) ActivateAccountOTP ¶
func (_m *AccountAPIMock) ActivateAccountOTP(ctx context.Context, in *account.ActivateAccountOTPRequest, opts ...grpc.CallOption) (*account.ActivateAccountResponse, error)
ActivateAccountOTP provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) AdminUpdateAccount ¶
func (_m *AccountAPIMock) AdminUpdateAccount(ctx context.Context, in *account.AdminUpdateAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
AdminUpdateAccount provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) BatchGetAccounts ¶
func (_m *AccountAPIMock) BatchGetAccounts(ctx context.Context, in *account.BatchGetAccountsRequest, opts ...grpc.CallOption) (*account.BatchGetAccountsResponse, error)
BatchGetAccounts provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) CreateAccount ¶
func (_m *AccountAPIMock) CreateAccount(ctx context.Context, in *account.CreateAccountRequest, opts ...grpc.CallOption) (*account.CreateAccountResponse, error)
CreateAccount provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) DeleteAccount ¶
func (_m *AccountAPIMock) DeleteAccount(ctx context.Context, in *account.DeleteAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteAccount provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) ExistAccount ¶
func (_m *AccountAPIMock) ExistAccount(ctx context.Context, in *account.ExistAccountRequest, opts ...grpc.CallOption) (*account.ExistAccountResponse, error)
ExistAccount provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) GetAccount ¶
func (_m *AccountAPIMock) GetAccount(ctx context.Context, in *account.GetAccountRequest, opts ...grpc.CallOption) (*account.Account, error)
GetAccount provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) GetLinkedAccounts ¶
func (_m *AccountAPIMock) GetLinkedAccounts(ctx context.Context, in *account.GetLinkedAccountsRequest, opts ...grpc.CallOption) (*account.GetLinkedAccountsResponse, error)
GetLinkedAccounts provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) ListAccounts ¶
func (_m *AccountAPIMock) ListAccounts(ctx context.Context, in *account.ListAccountsRequest, opts ...grpc.CallOption) (*account.Accounts, error)
ListAccounts provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) RefreshSession ¶
func (_m *AccountAPIMock) RefreshSession(ctx context.Context, in *account.RefreshSessionRequest, opts ...grpc.CallOption) (*account.SignInResponse, error)
RefreshSession provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) RequestActivateAccountOTP ¶
func (_m *AccountAPIMock) RequestActivateAccountOTP(ctx context.Context, in *account.RequestActivateAccountOTPRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
RequestActivateAccountOTP provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) RequestChangePrivateAccount ¶
func (_m *AccountAPIMock) RequestChangePrivateAccount(ctx context.Context, in *account.RequestChangePrivateAccountRequest, opts ...grpc.CallOption) (*account.RequestChangePrivateAccountResponse, error)
RequestChangePrivateAccount provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) RequestSignInOTP ¶
func (_m *AccountAPIMock) RequestSignInOTP(ctx context.Context, in *account.RequestSignInOTPRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
RequestSignInOTP provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) SearchAccounts ¶
func (_m *AccountAPIMock) SearchAccounts(ctx context.Context, in *account.SearchAccountsRequest, opts ...grpc.CallOption) (*account.Accounts, error)
SearchAccounts provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) SignIn ¶
func (_m *AccountAPIMock) SignIn(ctx context.Context, in *account.SignInRequest, opts ...grpc.CallOption) (*account.SignInResponse, error)
SignIn provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) SignInExternal ¶
func (_m *AccountAPIMock) SignInExternal(ctx context.Context, in *account.SignInExternalRequest, opts ...grpc.CallOption) (*account.SignInResponse, error)
SignInExternal provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) SignInOTP ¶
func (_m *AccountAPIMock) SignInOTP(ctx context.Context, in *account.SignInOTPRequest, opts ...grpc.CallOption) (*account.SignInResponse, error)
SignInOTP provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) UpdateAccount ¶
func (_m *AccountAPIMock) UpdateAccount(ctx context.Context, in *account.UpdateAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
UpdateAccount provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) UpdatePrivateAccount ¶
func (_m *AccountAPIMock) UpdatePrivateAccount(ctx context.Context, in *account.UpdatePrivateAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
UpdatePrivateAccount provides a mock function with given fields: ctx, in, opts
func (*AccountAPIMock) UpdatePrivateAccountExternal ¶
func (_m *AccountAPIMock) UpdatePrivateAccountExternal(ctx context.Context, in *account.UpdatePrivateAccountExternalRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
UpdatePrivateAccountExternal provides a mock function with given fields: ctx, in, opts
type AuthAPIMock ¶
AuthAPIMock is an autogenerated mock type for the AuthAPIMock type
func (*AuthAPIMock) AdminGroups ¶
func (_m *AuthAPIMock) AdminGroups() []string
AdminGroups provides a mock function with given fields:
func (*AuthAPIMock) AuthenticateRequest ¶
func (_m *AuthAPIMock) AuthenticateRequest(ctx context.Context) error
AuthenticateRequest provides a mock function with given fields: ctx
func (*AuthAPIMock) AuthenticateRequestV2 ¶
AuthenticateRequestV2 provides a mock function with given fields: ctx
func (*AuthAPIMock) AuthorizeActor ¶
AuthorizeActor provides a mock function with given fields: ctx, actorID
func (*AuthAPIMock) AuthorizeActorAndGroup ¶
func (_m *AuthAPIMock) AuthorizeActorAndGroup(ctx context.Context, actorID string, allowedGroups ...string) (*auth.Payload, error)
AuthorizeActorAndGroup provides a mock function with given fields: ctx, actorID, allowedGroups
func (*AuthAPIMock) AuthorizeActorOrGroup ¶
func (_m *AuthAPIMock) AuthorizeActorOrGroup(ctx context.Context, actorID string, allowedGroups ...string) (*auth.Payload, error)
AuthorizeActorOrGroup provides a mock function with given fields: ctx, actorID, allowedGroups
func (*AuthAPIMock) AuthorizeActors ¶
func (_m *AuthAPIMock) AuthorizeActors(ctx context.Context, actorID ...string) (*auth.Payload, error)
AuthorizeActors provides a mock function with given fields: ctx, actorID
func (*AuthAPIMock) AuthorizeAdmin ¶
AuthorizeAdmin provides a mock function with given fields: ctx
func (*AuthAPIMock) AuthorizeAdminStrict ¶
func (_m *AuthAPIMock) AuthorizeAdminStrict(ctx context.Context, adminID string) (*auth.Payload, error)
AuthorizeAdminStrict provides a mock function with given fields: ctx, adminID
func (*AuthAPIMock) AuthorizeFunc ¶
AuthorizeFunc provides a mock function with given fields: ctx
func (*AuthAPIMock) AuthorizeGroup ¶
func (_m *AuthAPIMock) AuthorizeGroup(ctx context.Context, allowedGroups ...string) (*auth.Payload, error)
AuthorizeGroup provides a mock function with given fields: ctx, allowedGroups
func (*AuthAPIMock) GenToken ¶
func (_m *AuthAPIMock) GenToken(ctx context.Context, payload *auth.Payload, expires time.Time) (string, error)
GenToken provides a mock function with given fields: ctx, payload, expires
func (*AuthAPIMock) GetJwtPayload ¶
GetJwtPayload provides a mock function with given fields: ctx
func (*AuthAPIMock) GetPayloadFromJwt ¶
func (_m *AuthAPIMock) GetPayloadFromJwt(jwt string) (*auth.Payload, error)
GetPayloadFromJwt provides a mock function with given fields: jwt
func (*AuthAPIMock) IsAdmin ¶
func (_m *AuthAPIMock) IsAdmin(group string) bool
IsAdmin provides a mock function with given fields: group
type CallAPIClientMock ¶
CallAPIClientMock is an autogenerated mock type for the CallAPIClientMock type
func (*CallAPIClientMock) Call ¶
func (_m *CallAPIClientMock) Call(ctx context.Context, in *call.CallPayload, opts ...grpc.CallOption) (*emptypb.Empty, error)
Call provides a mock function with given fields: ctx, in, opts
type ChannelAPIClientMock ¶
ChannelAPIClientMock is an autogenerated mock type for the ChannelAPIClientMock type
func (*ChannelAPIClientMock) CreateChannel ¶
func (_m *ChannelAPIClientMock) CreateChannel(ctx context.Context, in *channel.CreateChannelRequest, opts ...grpc.CallOption) (*channel.CreateChannelResponse, error)
CreateChannel provides a mock function with given fields: ctx, in, opts
func (*ChannelAPIClientMock) DecrementSubscribers ¶
func (_m *ChannelAPIClientMock) DecrementSubscribers(ctx context.Context, in *channel.SubscribersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DecrementSubscribers provides a mock function with given fields: ctx, in, opts
func (*ChannelAPIClientMock) DeleteChannel ¶
func (_m *ChannelAPIClientMock) DeleteChannel(ctx context.Context, in *channel.DeleteChannelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteChannel provides a mock function with given fields: ctx, in, opts
func (*ChannelAPIClientMock) GetChannel ¶
func (_m *ChannelAPIClientMock) GetChannel(ctx context.Context, in *channel.GetChannelRequest, opts ...grpc.CallOption) (*channel.Channel, error)
GetChannel provides a mock function with given fields: ctx, in, opts
func (*ChannelAPIClientMock) IncrementSubscribers ¶
func (_m *ChannelAPIClientMock) IncrementSubscribers(ctx context.Context, in *channel.SubscribersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
IncrementSubscribers provides a mock function with given fields: ctx, in, opts
func (*ChannelAPIClientMock) ListChannels ¶
func (_m *ChannelAPIClientMock) ListChannels(ctx context.Context, in *channel.ListChannelsRequest, opts ...grpc.CallOption) (*channel.ListChannelsResponse, error)
ListChannels provides a mock function with given fields: ctx, in, opts
func (*ChannelAPIClientMock) SearchChannels ¶
func (_m *ChannelAPIClientMock) SearchChannels(ctx context.Context, in *channel.SearchChannelsRequest, opts ...grpc.CallOption) (*channel.ListChannelsResponse, error)
SearchChannels provides a mock function with given fields: ctx, in, opts
func (*ChannelAPIClientMock) UpdateChannel ¶
func (_m *ChannelAPIClientMock) UpdateChannel(ctx context.Context, in *channel.UpdateChannelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
UpdateChannel provides a mock function with given fields: ctx, in, opts
type Cooky ¶
Cooky is an autogenerated mock type for the Cooky type
type EmailAPIClientMock ¶
EmailAPIClientMock is an autogenerated mock type for the EmailAPIClientMock type
func (*EmailAPIClientMock) SendEmail ¶
func (_m *EmailAPIClientMock) SendEmail(ctx context.Context, in *emailing.SendEmailRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SendEmail provides a mock function with given fields: ctx, in, opts
type FcmClient ¶
FcmClient is an autogenerated mock type for the FcmClient type
func (*FcmClient) SendWithContext ¶
SendWithContext provides a mock function with given fields: ctx, msg
type FirebaseAuth ¶
FirebaseAuth is an autogenerated mock type for the FirebaseAuth type
func (*FirebaseAuth) VerifyIDToken ¶
VerifyIDToken provides a mock function with given fields: _a0, _a1
type LongrunningClientMock ¶
LongrunningClientMock is an autogenerated mock type for the LongrunningClientMock type
func (*LongrunningClientMock) CreateOperation ¶
func (_m *LongrunningClientMock) CreateOperation(ctx context.Context, in *longrunning.CreateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
CreateOperation provides a mock function with given fields: ctx, in, opts
func (*LongrunningClientMock) DeleteOperation ¶
func (_m *LongrunningClientMock) DeleteOperation(ctx context.Context, in *longrunning.DeleteOperationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteOperation provides a mock function with given fields: ctx, in, opts
func (*LongrunningClientMock) GetOperation ¶
func (_m *LongrunningClientMock) GetOperation(ctx context.Context, in *longrunning.GetOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
GetOperation provides a mock function with given fields: ctx, in, opts
func (*LongrunningClientMock) ListOperations ¶
func (_m *LongrunningClientMock) ListOperations(ctx context.Context, in *longrunning.ListOperationsRequest, opts ...grpc.CallOption) (*longrunning.ListOperationsResponse, error)
ListOperations provides a mock function with given fields: ctx, in, opts
func (*LongrunningClientMock) UpdateOperation ¶
func (_m *LongrunningClientMock) UpdateOperation(ctx context.Context, in *longrunning.UpdateOperationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
UpdateOperation provides a mock function with given fields: ctx, in, opts
type MessagingAPIClientMock ¶
MessagingAPIClientMock is an autogenerated mock type for the MessagingAPIClientMock type
func (*MessagingAPIClientMock) BroadCastMessage ¶
func (_m *MessagingAPIClientMock) BroadCastMessage(ctx context.Context, in *messaging.BroadCastMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
BroadCastMessage provides a mock function with given fields: ctx, in, opts
func (*MessagingAPIClientMock) GetNewMessagesCount ¶
func (_m *MessagingAPIClientMock) GetNewMessagesCount(ctx context.Context, in *messaging.MessageRequest, opts ...grpc.CallOption) (*messaging.NewMessagesCount, error)
GetNewMessagesCount provides a mock function with given fields: ctx, in, opts
func (*MessagingAPIClientMock) ListMessages ¶
func (_m *MessagingAPIClientMock) ListMessages(ctx context.Context, in *messaging.ListMessagesRequest, opts ...grpc.CallOption) (*messaging.Messages, error)
ListMessages provides a mock function with given fields: ctx, in, opts
func (*MessagingAPIClientMock) ReadAll ¶
func (_m *MessagingAPIClientMock) ReadAll(ctx context.Context, in *messaging.MessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
ReadAll provides a mock function with given fields: ctx, in, opts
func (*MessagingAPIClientMock) SendMessage ¶
func (_m *MessagingAPIClientMock) SendMessage(ctx context.Context, in *messaging.SendMessageRequest, opts ...grpc.CallOption) (*messaging.SendMessageResponse, error)
SendMessage provides a mock function with given fields: ctx, in, opts
type PushAPIClientMock ¶
PushAPIClientMock is an autogenerated mock type for the PushAPIClientMock type
func (*PushAPIClientMock) SendPushMessage ¶
func (_m *PushAPIClientMock) SendPushMessage(ctx context.Context, in *pusher.PushMessage, opts ...grpc.CallOption) (*emptypb.Empty, error)
SendPushMessage provides a mock function with given fields: ctx, in, opts
type SMSAPIClientMock ¶
SMSAPIClientMock is an autogenerated mock type for the SMSAPIClientMock type
func (*SMSAPIClientMock) SendSMS ¶
func (_m *SMSAPIClientMock) SendSMS(ctx context.Context, in *sms.SendSMSRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SendSMS provides a mock function with given fields: ctx, in, opts
type SubscriberAPIClientMock ¶
SubscriberAPIClientMock is an autogenerated mock type for the SubscriberAPIClientMock type
func (*SubscriberAPIClientMock) GetSubscriber ¶
func (_m *SubscriberAPIClientMock) GetSubscriber(ctx context.Context, in *subscriber.GetSubscriberRequest, opts ...grpc.CallOption) (*subscriber.Subscriber, error)
GetSubscriber provides a mock function with given fields: ctx, in, opts
func (*SubscriberAPIClientMock) ListSubscribers ¶
func (_m *SubscriberAPIClientMock) ListSubscribers(ctx context.Context, in *subscriber.ListSubscribersRequest, opts ...grpc.CallOption) (*subscriber.ListSubscribersResponse, error)
ListSubscribers provides a mock function with given fields: ctx, in, opts
func (*SubscriberAPIClientMock) Subscribe ¶
func (_m *SubscriberAPIClientMock) Subscribe(ctx context.Context, in *subscriber.SubscriberRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Subscribe provides a mock function with given fields: ctx, in, opts
func (*SubscriberAPIClientMock) Unsubscribe ¶
func (_m *SubscriberAPIClientMock) Unsubscribe(ctx context.Context, in *subscriber.SubscriberRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Unsubscribe provides a mock function with given fields: ctx, in, opts