Versions in this module Expand all Collapse all v0 v0.1.0 May 27, 2025 Changes in this version + const Auth_GetJwtToken_FullMethodName + const Email_SendEmail_FullMethodName + const Email_SendEmlEmail_FullMethodName + const Email_SendGroupEmail_FullMethodName + const Group_CheckEmailInGroup_FullMethodName + const Group_InsertEmailToGroup_FullMethodName + const Group_RemoveEmailFromGroup_FullMethodName + var Auth_ServiceDesc = grpc.ServiceDesc + var Email_ServiceDesc = grpc.ServiceDesc + var Group_ServiceDesc = grpc.ServiceDesc + func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer) + func RegisterEmailServer(s grpc.ServiceRegistrar, srv EmailServer) + func RegisterGroupServer(s grpc.ServiceRegistrar, srv GroupServer) + type AdditionalInfos struct + Attachments []*AttachmentData + Category string + SendAt *timestamp.Timestamp + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AdditionalInfos) Descriptor() ([]byte, []int) + func (*AdditionalInfos) ProtoMessage() + func (m *AdditionalInfos) GetAttachments() []*AttachmentData + func (m *AdditionalInfos) GetCategory() string + func (m *AdditionalInfos) GetSendAt() *timestamp.Timestamp + func (m *AdditionalInfos) Reset() + func (m *AdditionalInfos) String() string + func (m *AdditionalInfos) XXX_DiscardUnknown() + func (m *AdditionalInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AdditionalInfos) XXX_Merge(src proto.Message) + func (m *AdditionalInfos) XXX_Size() int + func (m *AdditionalInfos) XXX_Unmarshal(b []byte) error + type ApiKey struct + KeyID int64 + Secret string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ApiKey) Descriptor() ([]byte, []int) + func (*ApiKey) ProtoMessage() + func (m *ApiKey) GetKeyID() int64 + func (m *ApiKey) GetSecret() string + func (m *ApiKey) Reset() + func (m *ApiKey) String() string + func (m *ApiKey) XXX_DiscardUnknown() + func (m *ApiKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ApiKey) XXX_Merge(src proto.Message) + func (m *ApiKey) XXX_Size() int + func (m *ApiKey) XXX_Unmarshal(b []byte) error + type AttachmentData struct + ContentUrl string + Filename string + Type string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AttachmentData) Descriptor() ([]byte, []int) + func (*AttachmentData) ProtoMessage() + func (m *AttachmentData) GetContentUrl() string + func (m *AttachmentData) GetFilename() string + func (m *AttachmentData) GetType() string + func (m *AttachmentData) Reset() + func (m *AttachmentData) String() string + func (m *AttachmentData) XXX_DiscardUnknown() + func (m *AttachmentData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AttachmentData) XXX_Merge(src proto.Message) + func (m *AttachmentData) XXX_Size() int + func (m *AttachmentData) XXX_Unmarshal(b []byte) error + type AuthClient interface + GetJwtToken func(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error) + func NewAuthClient(cc grpc.ClientConnInterface) AuthClient + type AuthRequest struct + Key isAuthRequest_Key + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AuthRequest) Descriptor() ([]byte, []int) + func (*AuthRequest) ProtoMessage() + func (*AuthRequest) XXX_OneofWrappers() []interface{} + func (m *AuthRequest) GetApiKey() *ApiKey + func (m *AuthRequest) GetKey() isAuthRequest_Key + func (m *AuthRequest) Reset() + func (m *AuthRequest) String() string + func (m *AuthRequest) XXX_DiscardUnknown() + func (m *AuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AuthRequest) XXX_Merge(src proto.Message) + func (m *AuthRequest) XXX_Size() int + func (m *AuthRequest) XXX_Unmarshal(b []byte) error + type AuthRequest_ApiKey struct + ApiKey *ApiKey + type AuthResponse struct + Expires *timestamp.Timestamp + Token string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AuthResponse) Descriptor() ([]byte, []int) + func (*AuthResponse) ProtoMessage() + func (m *AuthResponse) GetExpires() *timestamp.Timestamp + func (m *AuthResponse) GetToken() string + func (m *AuthResponse) Reset() + func (m *AuthResponse) String() string + func (m *AuthResponse) XXX_DiscardUnknown() + func (m *AuthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AuthResponse) XXX_Merge(src proto.Message) + func (m *AuthResponse) XXX_Size() int + func (m *AuthResponse) XXX_Unmarshal(b []byte) error + type AuthServer interface + GetJwtToken func(context.Context, *AuthRequest) (*AuthResponse, error) + type CheckEmailInGroupRequest struct + Email string + GroupId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CheckEmailInGroupRequest) Descriptor() ([]byte, []int) + func (*CheckEmailInGroupRequest) ProtoMessage() + func (m *CheckEmailInGroupRequest) GetEmail() string + func (m *CheckEmailInGroupRequest) GetGroupId() string + func (m *CheckEmailInGroupRequest) Reset() + func (m *CheckEmailInGroupRequest) String() string + func (m *CheckEmailInGroupRequest) XXX_DiscardUnknown() + func (m *CheckEmailInGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CheckEmailInGroupRequest) XXX_Merge(src proto.Message) + func (m *CheckEmailInGroupRequest) XXX_Size() int + func (m *CheckEmailInGroupRequest) XXX_Unmarshal(b []byte) error + type CheckEmailInGroupResponse struct + Exists bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CheckEmailInGroupResponse) Descriptor() ([]byte, []int) + func (*CheckEmailInGroupResponse) ProtoMessage() + func (m *CheckEmailInGroupResponse) GetExists() bool + func (m *CheckEmailInGroupResponse) Reset() + func (m *CheckEmailInGroupResponse) String() string + func (m *CheckEmailInGroupResponse) XXX_DiscardUnknown() + func (m *CheckEmailInGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CheckEmailInGroupResponse) XXX_Merge(src proto.Message) + func (m *CheckEmailInGroupResponse) XXX_Size() int + func (m *CheckEmailInGroupResponse) XXX_Unmarshal(b []byte) error + type EmailClient interface + SendEmail func(ctx context.Context, in *SendMailRequest, opts ...grpc.CallOption) (*SendEmailResponse, error) + SendEmlEmail func(ctx context.Context, in *EmlMailRequest, opts ...grpc.CallOption) (*SendEmailResponse, error) + SendGroupEmail func(ctx context.Context, in *GroupMailData, opts ...grpc.CallOption) (*SendEmailResponse, error) + func NewEmailClient(cc grpc.ClientConnInterface) EmailClient + type EmailData struct + Email string + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*EmailData) Descriptor() ([]byte, []int) + func (*EmailData) ProtoMessage() + func (m *EmailData) GetEmail() string + func (m *EmailData) GetName() string + func (m *EmailData) Reset() + func (m *EmailData) String() string + func (m *EmailData) XXX_DiscardUnknown() + func (m *EmailData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EmailData) XXX_Merge(src proto.Message) + func (m *EmailData) XXX_Size() int + func (m *EmailData) XXX_Unmarshal(b []byte) error + type EmailServer interface + SendEmail func(context.Context, *SendMailRequest) (*SendEmailResponse, error) + SendEmlEmail func(context.Context, *EmlMailRequest) (*SendEmailResponse, error) + SendGroupEmail func(context.Context, *GroupMailData) (*SendEmailResponse, error) + type EmlMailRequest struct + AdditionalInfos *AdditionalInfos + Mail []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*EmlMailRequest) Descriptor() ([]byte, []int) + func (*EmlMailRequest) ProtoMessage() + func (m *EmlMailRequest) GetAdditionalInfos() *AdditionalInfos + func (m *EmlMailRequest) GetMail() []byte + func (m *EmlMailRequest) Reset() + func (m *EmlMailRequest) String() string + func (m *EmlMailRequest) XXX_DiscardUnknown() + func (m *EmlMailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EmlMailRequest) XXX_Merge(src proto.Message) + func (m *EmlMailRequest) XXX_Size() int + func (m *EmlMailRequest) XXX_Unmarshal(b []byte) error + type GroupClient interface + CheckEmailInGroup func(ctx context.Context, in *CheckEmailInGroupRequest, opts ...grpc.CallOption) (*CheckEmailInGroupResponse, error) + InsertEmailToGroup func(ctx context.Context, in *InsertEmailToGroupRequest, opts ...grpc.CallOption) (*UpdateResponse, error) + RemoveEmailFromGroup func(ctx context.Context, in *RemoveEmailFromGroupRequest, opts ...grpc.CallOption) (*UpdateResponse, error) + func NewGroupClient(cc grpc.ClientConnInterface) GroupClient + type GroupMailData struct + Body isGroupMailData_Body + Category string + From *EmailData + GroupId string + Subject string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GroupMailData) Descriptor() ([]byte, []int) + func (*GroupMailData) ProtoMessage() + func (*GroupMailData) XXX_OneofWrappers() []interface{} + func (m *GroupMailData) GetBody() isGroupMailData_Body + func (m *GroupMailData) GetCategory() string + func (m *GroupMailData) GetFrom() *EmailData + func (m *GroupMailData) GetGroupId() string + func (m *GroupMailData) GetSubject() string + func (m *GroupMailData) GetTextContent() *MailContent + func (m *GroupMailData) Reset() + func (m *GroupMailData) String() string + func (m *GroupMailData) XXX_DiscardUnknown() + func (m *GroupMailData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GroupMailData) XXX_Merge(src proto.Message) + func (m *GroupMailData) XXX_Size() int + func (m *GroupMailData) XXX_Unmarshal(b []byte) error + type GroupMailData_TextContent struct + TextContent *MailContent + type GroupServer interface + CheckEmailInGroup func(context.Context, *CheckEmailInGroupRequest) (*CheckEmailInGroupResponse, error) + InsertEmailToGroup func(context.Context, *InsertEmailToGroupRequest) (*UpdateResponse, error) + RemoveEmailFromGroup func(context.Context, *RemoveEmailFromGroupRequest) (*UpdateResponse, error) + type InsertEmailToGroupRequest struct + Emails []*EmailData + GroupId string + Substitutions map[string]string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*InsertEmailToGroupRequest) Descriptor() ([]byte, []int) + func (*InsertEmailToGroupRequest) ProtoMessage() + func (m *InsertEmailToGroupRequest) GetEmails() []*EmailData + func (m *InsertEmailToGroupRequest) GetGroupId() string + func (m *InsertEmailToGroupRequest) GetSubstitutions() map[string]string + func (m *InsertEmailToGroupRequest) Reset() + func (m *InsertEmailToGroupRequest) String() string + func (m *InsertEmailToGroupRequest) XXX_DiscardUnknown() + func (m *InsertEmailToGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *InsertEmailToGroupRequest) XXX_Merge(src proto.Message) + func (m *InsertEmailToGroupRequest) XXX_Size() int + func (m *InsertEmailToGroupRequest) XXX_Unmarshal(b []byte) error + type MailContent struct + Html string + Text string + Tracking bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*MailContent) Descriptor() ([]byte, []int) + func (*MailContent) ProtoMessage() + func (m *MailContent) GetHtml() string + func (m *MailContent) GetText() string + func (m *MailContent) GetTracking() bool + func (m *MailContent) Reset() + func (m *MailContent) String() string + func (m *MailContent) XXX_DiscardUnknown() + func (m *MailContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MailContent) XXX_Merge(src proto.Message) + func (m *MailContent) XXX_Size() int + func (m *MailContent) XXX_Unmarshal(b []byte) error + type RemoveEmailFromGroupRequest struct + Email string + GroupId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RemoveEmailFromGroupRequest) Descriptor() ([]byte, []int) + func (*RemoveEmailFromGroupRequest) ProtoMessage() + func (m *RemoveEmailFromGroupRequest) GetEmail() string + func (m *RemoveEmailFromGroupRequest) GetGroupId() string + func (m *RemoveEmailFromGroupRequest) Reset() + func (m *RemoveEmailFromGroupRequest) String() string + func (m *RemoveEmailFromGroupRequest) XXX_DiscardUnknown() + func (m *RemoveEmailFromGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RemoveEmailFromGroupRequest) XXX_Merge(src proto.Message) + func (m *RemoveEmailFromGroupRequest) XXX_Size() int + func (m *RemoveEmailFromGroupRequest) XXX_Unmarshal(b []byte) error + type SendEmailResponse struct + EmailsLeft int64 + Message []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SendEmailResponse) Descriptor() ([]byte, []int) + func (*SendEmailResponse) ProtoMessage() + func (m *SendEmailResponse) GetEmailsLeft() int64 + func (m *SendEmailResponse) GetMessage() []string + func (m *SendEmailResponse) Reset() + func (m *SendEmailResponse) String() string + func (m *SendEmailResponse) XXX_DiscardUnknown() + func (m *SendEmailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SendEmailResponse) XXX_Merge(src proto.Message) + func (m *SendEmailResponse) XXX_Size() int + func (m *SendEmailResponse) XXX_Unmarshal(b []byte) error + type SendMailRequest struct + AdditionalInfos *AdditionalInfos + Bcc []*EmailData + Body isSendMailRequest_Body + Cc []*EmailData + From *EmailData + ReplyTo *EmailData + Subject string + To []*EmailData + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SendMailRequest) Descriptor() ([]byte, []int) + func (*SendMailRequest) ProtoMessage() + func (*SendMailRequest) XXX_OneofWrappers() []interface{} + func (m *SendMailRequest) GetAdditionalInfos() *AdditionalInfos + func (m *SendMailRequest) GetBcc() []*EmailData + func (m *SendMailRequest) GetBody() isSendMailRequest_Body + func (m *SendMailRequest) GetCc() []*EmailData + func (m *SendMailRequest) GetFrom() *EmailData + func (m *SendMailRequest) GetReplyTo() *EmailData + func (m *SendMailRequest) GetSubject() string + func (m *SendMailRequest) GetTextContent() *MailContent + func (m *SendMailRequest) GetTo() []*EmailData + func (m *SendMailRequest) Reset() + func (m *SendMailRequest) String() string + func (m *SendMailRequest) XXX_DiscardUnknown() + func (m *SendMailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SendMailRequest) XXX_Merge(src proto.Message) + func (m *SendMailRequest) XXX_Size() int + func (m *SendMailRequest) XXX_Unmarshal(b []byte) error + type SendMailRequest_TextContent struct + TextContent *MailContent + type UnimplementedAuthServer struct + func (UnimplementedAuthServer) GetJwtToken(context.Context, *AuthRequest) (*AuthResponse, error) + type UnimplementedEmailServer struct + func (UnimplementedEmailServer) SendEmail(context.Context, *SendMailRequest) (*SendEmailResponse, error) + func (UnimplementedEmailServer) SendEmlEmail(context.Context, *EmlMailRequest) (*SendEmailResponse, error) + func (UnimplementedEmailServer) SendGroupEmail(context.Context, *GroupMailData) (*SendEmailResponse, error) + type UnimplementedGroupServer struct + func (UnimplementedGroupServer) CheckEmailInGroup(context.Context, *CheckEmailInGroupRequest) (*CheckEmailInGroupResponse, error) + func (UnimplementedGroupServer) InsertEmailToGroup(context.Context, *InsertEmailToGroupRequest) (*UpdateResponse, error) + func (UnimplementedGroupServer) RemoveEmailFromGroup(context.Context, *RemoveEmailFromGroupRequest) (*UpdateResponse, error) + type UnsafeAuthServer interface + type UnsafeEmailServer interface + type UnsafeGroupServer interface + type UpdateResponse struct + AffectedRows int64 + Message string + Success bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UpdateResponse) Descriptor() ([]byte, []int) + func (*UpdateResponse) ProtoMessage() + func (m *UpdateResponse) GetAffectedRows() int64 + func (m *UpdateResponse) GetMessage() string + func (m *UpdateResponse) GetSuccess() bool + func (m *UpdateResponse) Reset() + func (m *UpdateResponse) String() string + func (m *UpdateResponse) XXX_DiscardUnknown() + func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpdateResponse) XXX_Merge(src proto.Message) + func (m *UpdateResponse) XXX_Size() int + func (m *UpdateResponse) XXX_Unmarshal(b []byte) error