Documentation
¶
Overview ¶
Package proto contains generated protocol buffer files for internal use.
This package is internal to the Sendlix Go SDK and follows Go's internal package conventions. It is automatically excluded from public documentation and should not be imported by external applications.
All public API functionality is available through the main sendlix package. The files in this package are auto-generated from .proto definitions.
For the public API documentation, see the parent sendlix package.
Index ¶
- Constants
- Variables
- func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
- func RegisterEmailServer(s grpc.ServiceRegistrar, srv EmailServer)
- func RegisterGroupServer(s grpc.ServiceRegistrar, srv GroupServer)
- type AdditionalInfos
- func (*AdditionalInfos) Descriptor() ([]byte, []int)
- func (m *AdditionalInfos) GetAttachments() []*AttachmentData
- func (m *AdditionalInfos) GetCategory() string
- func (m *AdditionalInfos) GetSendAt() *timestamp.Timestamp
- func (*AdditionalInfos) ProtoMessage()
- 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
- func (*ApiKey) Descriptor() ([]byte, []int)
- func (m *ApiKey) GetKeyID() int64
- func (m *ApiKey) GetSecret() string
- func (*ApiKey) ProtoMessage()
- 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
- func (*AttachmentData) Descriptor() ([]byte, []int)
- func (m *AttachmentData) GetContentUrl() string
- func (m *AttachmentData) GetFilename() string
- func (m *AttachmentData) GetType() string
- func (*AttachmentData) ProtoMessage()
- 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
- type AuthRequest
- func (*AuthRequest) Descriptor() ([]byte, []int)
- func (m *AuthRequest) GetApiKey() *ApiKey
- func (m *AuthRequest) GetKey() isAuthRequest_Key
- func (*AuthRequest) ProtoMessage()
- 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 (*AuthRequest) XXX_OneofWrappers() []interface{}
- func (m *AuthRequest) XXX_Size() int
- func (m *AuthRequest) XXX_Unmarshal(b []byte) error
- type AuthRequest_ApiKey
- type AuthResponse
- func (*AuthResponse) Descriptor() ([]byte, []int)
- func (m *AuthResponse) GetExpires() *timestamp.Timestamp
- func (m *AuthResponse) GetToken() string
- func (*AuthResponse) ProtoMessage()
- 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
- type CheckEmailInGroupRequest
- func (*CheckEmailInGroupRequest) Descriptor() ([]byte, []int)
- func (m *CheckEmailInGroupRequest) GetEmail() string
- func (m *CheckEmailInGroupRequest) GetGroupId() string
- func (*CheckEmailInGroupRequest) ProtoMessage()
- 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
- func (*CheckEmailInGroupResponse) Descriptor() ([]byte, []int)
- func (m *CheckEmailInGroupResponse) GetExists() bool
- func (*CheckEmailInGroupResponse) ProtoMessage()
- 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
- type EmailData
- func (*EmailData) Descriptor() ([]byte, []int)
- func (m *EmailData) GetEmail() string
- func (m *EmailData) GetName() string
- func (*EmailData) ProtoMessage()
- 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
- type EmlMailRequest
- func (*EmlMailRequest) Descriptor() ([]byte, []int)
- func (m *EmlMailRequest) GetAdditionalInfos() *AdditionalInfos
- func (m *EmlMailRequest) GetMail() []byte
- func (*EmlMailRequest) ProtoMessage()
- 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
- type GroupMailData
- func (*GroupMailData) Descriptor() ([]byte, []int)
- 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 (*GroupMailData) ProtoMessage()
- 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 (*GroupMailData) XXX_OneofWrappers() []interface{}
- func (m *GroupMailData) XXX_Size() int
- func (m *GroupMailData) XXX_Unmarshal(b []byte) error
- type GroupMailData_TextContent
- type GroupServer
- type InsertEmailToGroupRequest
- func (*InsertEmailToGroupRequest) Descriptor() ([]byte, []int)
- func (m *InsertEmailToGroupRequest) GetEmails() []*EmailData
- func (m *InsertEmailToGroupRequest) GetGroupId() string
- func (m *InsertEmailToGroupRequest) GetSubstitutions() map[string]string
- func (*InsertEmailToGroupRequest) ProtoMessage()
- 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
- func (*MailContent) Descriptor() ([]byte, []int)
- func (m *MailContent) GetHtml() string
- func (m *MailContent) GetText() string
- func (m *MailContent) GetTracking() bool
- func (*MailContent) ProtoMessage()
- 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
- func (*RemoveEmailFromGroupRequest) Descriptor() ([]byte, []int)
- func (m *RemoveEmailFromGroupRequest) GetEmail() string
- func (m *RemoveEmailFromGroupRequest) GetGroupId() string
- func (*RemoveEmailFromGroupRequest) ProtoMessage()
- 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
- func (*SendEmailResponse) Descriptor() ([]byte, []int)
- func (m *SendEmailResponse) GetEmailsLeft() int64
- func (m *SendEmailResponse) GetMessage() []string
- func (*SendEmailResponse) ProtoMessage()
- 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
- func (*SendMailRequest) Descriptor() ([]byte, []int)
- 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 (*SendMailRequest) ProtoMessage()
- 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 (*SendMailRequest) XXX_OneofWrappers() []interface{}
- func (m *SendMailRequest) XXX_Size() int
- func (m *SendMailRequest) XXX_Unmarshal(b []byte) error
- type SendMailRequest_TextContent
- type UnimplementedAuthServer
- type UnimplementedEmailServer
- 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
- 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
- type UnsafeEmailServer
- type UnsafeGroupServer
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)
- func (m *UpdateResponse) GetAffectedRows() int64
- func (m *UpdateResponse) GetMessage() string
- func (m *UpdateResponse) GetSuccess() bool
- func (*UpdateResponse) ProtoMessage()
- 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
Constants ¶
const ( Email_SendEmail_FullMethodName = "/sendlix.api.v1.Email/SendEmail" Email_SendEmlEmail_FullMethodName = "/sendlix.api.v1.Email/SendEmlEmail" Email_SendGroupEmail_FullMethodName = "/sendlix.api.v1.Email/SendGroupEmail" )
const ( Group_InsertEmailToGroup_FullMethodName = "/sendlix.api.v1.Group/InsertEmailToGroup" Group_RemoveEmailFromGroup_FullMethodName = "/sendlix.api.v1.Group/RemoveEmailFromGroup" Group_CheckEmailInGroup_FullMethodName = "/sendlix.api.v1.Group/CheckEmailInGroup" )
const (
Auth_GetJwtToken_FullMethodName = "/sendlix.api.v1.Auth/GetJwtToken"
)
Variables ¶
var Auth_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sendlix.api.v1.Auth", HandlerType: (*AuthServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetJwtToken", Handler: _Auth_GetJwtToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth.proto", }
Auth_ServiceDesc is the grpc.ServiceDesc for Auth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Email_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sendlix.api.v1.Email", HandlerType: (*EmailServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendEmail", Handler: _Email_SendEmail_Handler, }, { MethodName: "SendEmlEmail", Handler: _Email_SendEmlEmail_Handler, }, { MethodName: "SendGroupEmail", Handler: _Email_SendGroupEmail_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "email.proto", }
Email_ServiceDesc is the grpc.ServiceDesc for Email service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Group_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sendlix.api.v1.Group", HandlerType: (*GroupServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "InsertEmailToGroup", Handler: _Group_InsertEmailToGroup_Handler, }, { MethodName: "RemoveEmailFromGroup", Handler: _Group_RemoveEmailFromGroup_Handler, }, { MethodName: "CheckEmailInGroup", Handler: _Group_CheckEmailInGroup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "group.proto", }
Group_ServiceDesc is the grpc.ServiceDesc for Group service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthServer ¶
func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
func RegisterEmailServer ¶
func RegisterEmailServer(s grpc.ServiceRegistrar, srv EmailServer)
func RegisterGroupServer ¶
func RegisterGroupServer(s grpc.ServiceRegistrar, srv GroupServer)
Types ¶
type AdditionalInfos ¶
type AdditionalInfos struct { Attachments []*AttachmentData `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"` Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` SendAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=send_at,json=sendAt,proto3" json:"send_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AdditionalInfos) Descriptor ¶
func (*AdditionalInfos) Descriptor() ([]byte, []int)
func (*AdditionalInfos) GetAttachments ¶
func (m *AdditionalInfos) GetAttachments() []*AttachmentData
func (*AdditionalInfos) GetCategory ¶
func (m *AdditionalInfos) GetCategory() string
func (*AdditionalInfos) GetSendAt ¶
func (m *AdditionalInfos) GetSendAt() *timestamp.Timestamp
func (*AdditionalInfos) ProtoMessage ¶
func (*AdditionalInfos) ProtoMessage()
func (*AdditionalInfos) Reset ¶
func (m *AdditionalInfos) Reset()
func (*AdditionalInfos) String ¶
func (m *AdditionalInfos) String() string
func (*AdditionalInfos) XXX_DiscardUnknown ¶
func (m *AdditionalInfos) XXX_DiscardUnknown()
func (*AdditionalInfos) XXX_Marshal ¶
func (m *AdditionalInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AdditionalInfos) XXX_Merge ¶
func (m *AdditionalInfos) XXX_Merge(src proto.Message)
func (*AdditionalInfos) XXX_Size ¶
func (m *AdditionalInfos) XXX_Size() int
func (*AdditionalInfos) XXX_Unmarshal ¶
func (m *AdditionalInfos) XXX_Unmarshal(b []byte) error
type ApiKey ¶
type ApiKey struct { KeyID int64 `protobuf:"varint,1,opt,name=keyID,proto3" json:"keyID,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ApiKey) Descriptor ¶
func (*ApiKey) ProtoMessage ¶
func (*ApiKey) ProtoMessage()
func (*ApiKey) XXX_DiscardUnknown ¶
func (m *ApiKey) XXX_DiscardUnknown()
func (*ApiKey) XXX_Marshal ¶
func (*ApiKey) XXX_Unmarshal ¶
type AttachmentData ¶
type AttachmentData struct { ContentUrl string `protobuf:"bytes,1,opt,name=contentUrl,proto3" json:"contentUrl,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttachmentData) Descriptor ¶
func (*AttachmentData) Descriptor() ([]byte, []int)
func (*AttachmentData) GetContentUrl ¶
func (m *AttachmentData) GetContentUrl() string
func (*AttachmentData) GetFilename ¶
func (m *AttachmentData) GetFilename() string
func (*AttachmentData) GetType ¶
func (m *AttachmentData) GetType() string
func (*AttachmentData) ProtoMessage ¶
func (*AttachmentData) ProtoMessage()
func (*AttachmentData) Reset ¶
func (m *AttachmentData) Reset()
func (*AttachmentData) String ¶
func (m *AttachmentData) String() string
func (*AttachmentData) XXX_DiscardUnknown ¶
func (m *AttachmentData) XXX_DiscardUnknown()
func (*AttachmentData) XXX_Marshal ¶
func (m *AttachmentData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttachmentData) XXX_Merge ¶
func (m *AttachmentData) XXX_Merge(src proto.Message)
func (*AttachmentData) XXX_Size ¶
func (m *AttachmentData) XXX_Size() int
func (*AttachmentData) XXX_Unmarshal ¶
func (m *AttachmentData) XXX_Unmarshal(b []byte) error
type AuthClient ¶
type AuthClient interface {
GetJwtToken(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error)
}
AuthClient is the client API for Auth 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 NewAuthClient ¶
func NewAuthClient(cc grpc.ClientConnInterface) AuthClient
type AuthRequest ¶
type AuthRequest struct { // Types that are valid to be assigned to Key: // *AuthRequest_ApiKey Key isAuthRequest_Key `protobuf_oneof:"key"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthRequest) Descriptor ¶
func (*AuthRequest) Descriptor() ([]byte, []int)
func (*AuthRequest) GetApiKey ¶
func (m *AuthRequest) GetApiKey() *ApiKey
func (*AuthRequest) GetKey ¶
func (m *AuthRequest) GetKey() isAuthRequest_Key
func (*AuthRequest) ProtoMessage ¶
func (*AuthRequest) ProtoMessage()
func (*AuthRequest) Reset ¶
func (m *AuthRequest) Reset()
func (*AuthRequest) String ¶
func (m *AuthRequest) String() string
func (*AuthRequest) XXX_DiscardUnknown ¶
func (m *AuthRequest) XXX_DiscardUnknown()
func (*AuthRequest) XXX_Marshal ¶
func (m *AuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthRequest) XXX_Merge ¶
func (m *AuthRequest) XXX_Merge(src proto.Message)
func (*AuthRequest) XXX_OneofWrappers ¶
func (*AuthRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*AuthRequest) XXX_Size ¶
func (m *AuthRequest) XXX_Size() int
func (*AuthRequest) XXX_Unmarshal ¶
func (m *AuthRequest) XXX_Unmarshal(b []byte) error
type AuthRequest_ApiKey ¶
type AuthRequest_ApiKey struct {
ApiKey *ApiKey `protobuf:"bytes,1,opt,name=apiKey,proto3,oneof"`
}
type AuthResponse ¶
type AuthResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Expires *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthResponse) Descriptor ¶
func (*AuthResponse) Descriptor() ([]byte, []int)
func (*AuthResponse) GetExpires ¶
func (m *AuthResponse) GetExpires() *timestamp.Timestamp
func (*AuthResponse) GetToken ¶
func (m *AuthResponse) GetToken() string
func (*AuthResponse) ProtoMessage ¶
func (*AuthResponse) ProtoMessage()
func (*AuthResponse) Reset ¶
func (m *AuthResponse) Reset()
func (*AuthResponse) String ¶
func (m *AuthResponse) String() string
func (*AuthResponse) XXX_DiscardUnknown ¶
func (m *AuthResponse) XXX_DiscardUnknown()
func (*AuthResponse) XXX_Marshal ¶
func (m *AuthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthResponse) XXX_Merge ¶
func (m *AuthResponse) XXX_Merge(src proto.Message)
func (*AuthResponse) XXX_Size ¶
func (m *AuthResponse) XXX_Size() int
func (*AuthResponse) XXX_Unmarshal ¶
func (m *AuthResponse) XXX_Unmarshal(b []byte) error
type AuthServer ¶
type AuthServer interface { GetJwtToken(context.Context, *AuthRequest) (*AuthResponse, error) // contains filtered or unexported methods }
AuthServer is the server API for Auth service. All implementations must embed UnimplementedAuthServer for forward compatibility.
type CheckEmailInGroupRequest ¶
type CheckEmailInGroupRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` GroupId string `protobuf:"bytes,2,opt,name=groupId,proto3" json:"groupId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckEmailInGroupRequest) Descriptor ¶
func (*CheckEmailInGroupRequest) Descriptor() ([]byte, []int)
func (*CheckEmailInGroupRequest) GetEmail ¶
func (m *CheckEmailInGroupRequest) GetEmail() string
func (*CheckEmailInGroupRequest) GetGroupId ¶
func (m *CheckEmailInGroupRequest) GetGroupId() string
func (*CheckEmailInGroupRequest) ProtoMessage ¶
func (*CheckEmailInGroupRequest) ProtoMessage()
func (*CheckEmailInGroupRequest) Reset ¶
func (m *CheckEmailInGroupRequest) Reset()
func (*CheckEmailInGroupRequest) String ¶
func (m *CheckEmailInGroupRequest) String() string
func (*CheckEmailInGroupRequest) XXX_DiscardUnknown ¶
func (m *CheckEmailInGroupRequest) XXX_DiscardUnknown()
func (*CheckEmailInGroupRequest) XXX_Marshal ¶
func (m *CheckEmailInGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckEmailInGroupRequest) XXX_Merge ¶
func (m *CheckEmailInGroupRequest) XXX_Merge(src proto.Message)
func (*CheckEmailInGroupRequest) XXX_Size ¶
func (m *CheckEmailInGroupRequest) XXX_Size() int
func (*CheckEmailInGroupRequest) XXX_Unmarshal ¶
func (m *CheckEmailInGroupRequest) XXX_Unmarshal(b []byte) error
type CheckEmailInGroupResponse ¶
type CheckEmailInGroupResponse struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckEmailInGroupResponse) Descriptor ¶
func (*CheckEmailInGroupResponse) Descriptor() ([]byte, []int)
func (*CheckEmailInGroupResponse) GetExists ¶
func (m *CheckEmailInGroupResponse) GetExists() bool
func (*CheckEmailInGroupResponse) ProtoMessage ¶
func (*CheckEmailInGroupResponse) ProtoMessage()
func (*CheckEmailInGroupResponse) Reset ¶
func (m *CheckEmailInGroupResponse) Reset()
func (*CheckEmailInGroupResponse) String ¶
func (m *CheckEmailInGroupResponse) String() string
func (*CheckEmailInGroupResponse) XXX_DiscardUnknown ¶
func (m *CheckEmailInGroupResponse) XXX_DiscardUnknown()
func (*CheckEmailInGroupResponse) XXX_Marshal ¶
func (m *CheckEmailInGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckEmailInGroupResponse) XXX_Merge ¶
func (m *CheckEmailInGroupResponse) XXX_Merge(src proto.Message)
func (*CheckEmailInGroupResponse) XXX_Size ¶
func (m *CheckEmailInGroupResponse) XXX_Size() int
func (*CheckEmailInGroupResponse) XXX_Unmarshal ¶
func (m *CheckEmailInGroupResponse) XXX_Unmarshal(b []byte) error
type EmailClient ¶
type EmailClient interface { SendEmail(ctx context.Context, in *SendMailRequest, opts ...grpc.CallOption) (*SendEmailResponse, error) SendEmlEmail(ctx context.Context, in *EmlMailRequest, opts ...grpc.CallOption) (*SendEmailResponse, error) SendGroupEmail(ctx context.Context, in *GroupMailData, opts ...grpc.CallOption) (*SendEmailResponse, error) }
EmailClient is the client API for Email 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 NewEmailClient ¶
func NewEmailClient(cc grpc.ClientConnInterface) EmailClient
type EmailData ¶
type EmailData struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Email address information
func (*EmailData) Descriptor ¶
func (*EmailData) ProtoMessage ¶
func (*EmailData) ProtoMessage()
func (*EmailData) XXX_DiscardUnknown ¶
func (m *EmailData) XXX_DiscardUnknown()
func (*EmailData) XXX_Marshal ¶
func (*EmailData) XXX_Unmarshal ¶
type EmailServer ¶
type EmailServer interface { SendEmail(context.Context, *SendMailRequest) (*SendEmailResponse, error) SendEmlEmail(context.Context, *EmlMailRequest) (*SendEmailResponse, error) SendGroupEmail(context.Context, *GroupMailData) (*SendEmailResponse, error) // contains filtered or unexported methods }
EmailServer is the server API for Email service. All implementations must embed UnimplementedEmailServer for forward compatibility.
type EmlMailRequest ¶
type EmlMailRequest struct { Mail []byte `protobuf:"bytes,1,opt,name=mail,proto3" json:"mail,omitempty"` AdditionalInfos *AdditionalInfos `protobuf:"bytes,2,opt,name=additionalInfos,proto3" json:"additionalInfos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmlMailRequest) Descriptor ¶
func (*EmlMailRequest) Descriptor() ([]byte, []int)
func (*EmlMailRequest) GetAdditionalInfos ¶
func (m *EmlMailRequest) GetAdditionalInfos() *AdditionalInfos
func (*EmlMailRequest) GetMail ¶
func (m *EmlMailRequest) GetMail() []byte
func (*EmlMailRequest) ProtoMessage ¶
func (*EmlMailRequest) ProtoMessage()
func (*EmlMailRequest) Reset ¶
func (m *EmlMailRequest) Reset()
func (*EmlMailRequest) String ¶
func (m *EmlMailRequest) String() string
func (*EmlMailRequest) XXX_DiscardUnknown ¶
func (m *EmlMailRequest) XXX_DiscardUnknown()
func (*EmlMailRequest) XXX_Marshal ¶
func (m *EmlMailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmlMailRequest) XXX_Merge ¶
func (m *EmlMailRequest) XXX_Merge(src proto.Message)
func (*EmlMailRequest) XXX_Size ¶
func (m *EmlMailRequest) XXX_Size() int
func (*EmlMailRequest) XXX_Unmarshal ¶
func (m *EmlMailRequest) XXX_Unmarshal(b []byte) error
type GroupClient ¶
type GroupClient interface { InsertEmailToGroup(ctx context.Context, in *InsertEmailToGroupRequest, opts ...grpc.CallOption) (*UpdateResponse, error) RemoveEmailFromGroup(ctx context.Context, in *RemoveEmailFromGroupRequest, opts ...grpc.CallOption) (*UpdateResponse, error) CheckEmailInGroup(ctx context.Context, in *CheckEmailInGroupRequest, opts ...grpc.CallOption) (*CheckEmailInGroupResponse, error) }
GroupClient is the client API for Group 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 NewGroupClient ¶
func NewGroupClient(cc grpc.ClientConnInterface) GroupClient
type GroupMailData ¶
type GroupMailData struct { GroupId string `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` From *EmailData `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` Category string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"` // Types that are valid to be assigned to Body: // *GroupMailData_TextContent Body isGroupMailData_Body `protobuf_oneof:"body"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GroupMailData) Descriptor ¶
func (*GroupMailData) Descriptor() ([]byte, []int)
func (*GroupMailData) GetBody ¶
func (m *GroupMailData) GetBody() isGroupMailData_Body
func (*GroupMailData) GetCategory ¶
func (m *GroupMailData) GetCategory() string
func (*GroupMailData) GetFrom ¶
func (m *GroupMailData) GetFrom() *EmailData
func (*GroupMailData) GetGroupId ¶
func (m *GroupMailData) GetGroupId() string
func (*GroupMailData) GetSubject ¶
func (m *GroupMailData) GetSubject() string
func (*GroupMailData) GetTextContent ¶
func (m *GroupMailData) GetTextContent() *MailContent
func (*GroupMailData) ProtoMessage ¶
func (*GroupMailData) ProtoMessage()
func (*GroupMailData) Reset ¶
func (m *GroupMailData) Reset()
func (*GroupMailData) String ¶
func (m *GroupMailData) String() string
func (*GroupMailData) XXX_DiscardUnknown ¶
func (m *GroupMailData) XXX_DiscardUnknown()
func (*GroupMailData) XXX_Marshal ¶
func (m *GroupMailData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupMailData) XXX_Merge ¶
func (m *GroupMailData) XXX_Merge(src proto.Message)
func (*GroupMailData) XXX_OneofWrappers ¶
func (*GroupMailData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GroupMailData) XXX_Size ¶
func (m *GroupMailData) XXX_Size() int
func (*GroupMailData) XXX_Unmarshal ¶
func (m *GroupMailData) XXX_Unmarshal(b []byte) error
type GroupMailData_TextContent ¶
type GroupMailData_TextContent struct {
TextContent *MailContent `protobuf:"bytes,5,opt,name=TextContent,proto3,oneof"`
}
type GroupServer ¶
type GroupServer interface { InsertEmailToGroup(context.Context, *InsertEmailToGroupRequest) (*UpdateResponse, error) RemoveEmailFromGroup(context.Context, *RemoveEmailFromGroupRequest) (*UpdateResponse, error) CheckEmailInGroup(context.Context, *CheckEmailInGroupRequest) (*CheckEmailInGroupResponse, error) // contains filtered or unexported methods }
GroupServer is the server API for Group service. All implementations must embed UnimplementedGroupServer for forward compatibility.
type InsertEmailToGroupRequest ¶
type InsertEmailToGroupRequest struct { Emails []*EmailData `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"` GroupId string `protobuf:"bytes,2,opt,name=groupId,proto3" json:"groupId,omitempty"` Substitutions map[string]string `` /* 167-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InsertEmailToGroupRequest) Descriptor ¶
func (*InsertEmailToGroupRequest) Descriptor() ([]byte, []int)
func (*InsertEmailToGroupRequest) GetEmails ¶
func (m *InsertEmailToGroupRequest) GetEmails() []*EmailData
func (*InsertEmailToGroupRequest) GetGroupId ¶
func (m *InsertEmailToGroupRequest) GetGroupId() string
func (*InsertEmailToGroupRequest) GetSubstitutions ¶
func (m *InsertEmailToGroupRequest) GetSubstitutions() map[string]string
func (*InsertEmailToGroupRequest) ProtoMessage ¶
func (*InsertEmailToGroupRequest) ProtoMessage()
func (*InsertEmailToGroupRequest) Reset ¶
func (m *InsertEmailToGroupRequest) Reset()
func (*InsertEmailToGroupRequest) String ¶
func (m *InsertEmailToGroupRequest) String() string
func (*InsertEmailToGroupRequest) XXX_DiscardUnknown ¶
func (m *InsertEmailToGroupRequest) XXX_DiscardUnknown()
func (*InsertEmailToGroupRequest) XXX_Marshal ¶
func (m *InsertEmailToGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InsertEmailToGroupRequest) XXX_Merge ¶
func (m *InsertEmailToGroupRequest) XXX_Merge(src proto.Message)
func (*InsertEmailToGroupRequest) XXX_Size ¶
func (m *InsertEmailToGroupRequest) XXX_Size() int
func (*InsertEmailToGroupRequest) XXX_Unmarshal ¶
func (m *InsertEmailToGroupRequest) XXX_Unmarshal(b []byte) error
type MailContent ¶
type MailContent struct { Html string `protobuf:"bytes,1,opt,name=html,proto3" json:"html,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` Tracking bool `protobuf:"varint,3,opt,name=tracking,proto3" json:"tracking,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MailContent) Descriptor ¶
func (*MailContent) Descriptor() ([]byte, []int)
func (*MailContent) GetHtml ¶
func (m *MailContent) GetHtml() string
func (*MailContent) GetText ¶
func (m *MailContent) GetText() string
func (*MailContent) GetTracking ¶
func (m *MailContent) GetTracking() bool
func (*MailContent) ProtoMessage ¶
func (*MailContent) ProtoMessage()
func (*MailContent) Reset ¶
func (m *MailContent) Reset()
func (*MailContent) String ¶
func (m *MailContent) String() string
func (*MailContent) XXX_DiscardUnknown ¶
func (m *MailContent) XXX_DiscardUnknown()
func (*MailContent) XXX_Marshal ¶
func (m *MailContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MailContent) XXX_Merge ¶
func (m *MailContent) XXX_Merge(src proto.Message)
func (*MailContent) XXX_Size ¶
func (m *MailContent) XXX_Size() int
func (*MailContent) XXX_Unmarshal ¶
func (m *MailContent) XXX_Unmarshal(b []byte) error
type RemoveEmailFromGroupRequest ¶
type RemoveEmailFromGroupRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` GroupId string `protobuf:"bytes,2,opt,name=groupId,proto3" json:"groupId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveEmailFromGroupRequest) Descriptor ¶
func (*RemoveEmailFromGroupRequest) Descriptor() ([]byte, []int)
func (*RemoveEmailFromGroupRequest) GetEmail ¶
func (m *RemoveEmailFromGroupRequest) GetEmail() string
func (*RemoveEmailFromGroupRequest) GetGroupId ¶
func (m *RemoveEmailFromGroupRequest) GetGroupId() string
func (*RemoveEmailFromGroupRequest) ProtoMessage ¶
func (*RemoveEmailFromGroupRequest) ProtoMessage()
func (*RemoveEmailFromGroupRequest) Reset ¶
func (m *RemoveEmailFromGroupRequest) Reset()
func (*RemoveEmailFromGroupRequest) String ¶
func (m *RemoveEmailFromGroupRequest) String() string
func (*RemoveEmailFromGroupRequest) XXX_DiscardUnknown ¶
func (m *RemoveEmailFromGroupRequest) XXX_DiscardUnknown()
func (*RemoveEmailFromGroupRequest) XXX_Marshal ¶
func (m *RemoveEmailFromGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveEmailFromGroupRequest) XXX_Merge ¶
func (m *RemoveEmailFromGroupRequest) XXX_Merge(src proto.Message)
func (*RemoveEmailFromGroupRequest) XXX_Size ¶
func (m *RemoveEmailFromGroupRequest) XXX_Size() int
func (*RemoveEmailFromGroupRequest) XXX_Unmarshal ¶
func (m *RemoveEmailFromGroupRequest) XXX_Unmarshal(b []byte) error
type SendEmailResponse ¶
type SendEmailResponse struct { Message []string `protobuf:"bytes,1,rep,name=message,proto3" json:"message,omitempty"` EmailsLeft int64 `protobuf:"varint,2,opt,name=emailsLeft,proto3" json:"emailsLeft,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendEmailResponse) Descriptor ¶
func (*SendEmailResponse) Descriptor() ([]byte, []int)
func (*SendEmailResponse) GetEmailsLeft ¶
func (m *SendEmailResponse) GetEmailsLeft() int64
func (*SendEmailResponse) GetMessage ¶
func (m *SendEmailResponse) GetMessage() []string
func (*SendEmailResponse) ProtoMessage ¶
func (*SendEmailResponse) ProtoMessage()
func (*SendEmailResponse) Reset ¶
func (m *SendEmailResponse) Reset()
func (*SendEmailResponse) String ¶
func (m *SendEmailResponse) String() string
func (*SendEmailResponse) XXX_DiscardUnknown ¶
func (m *SendEmailResponse) XXX_DiscardUnknown()
func (*SendEmailResponse) XXX_Marshal ¶
func (m *SendEmailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendEmailResponse) XXX_Merge ¶
func (m *SendEmailResponse) XXX_Merge(src proto.Message)
func (*SendEmailResponse) XXX_Size ¶
func (m *SendEmailResponse) XXX_Size() int
func (*SendEmailResponse) XXX_Unmarshal ¶
func (m *SendEmailResponse) XXX_Unmarshal(b []byte) error
type SendMailRequest ¶
type SendMailRequest struct { // Email recipient fields To []*EmailData `protobuf:"bytes,1,rep,name=to,proto3" json:"to,omitempty"` Cc []*EmailData `protobuf:"bytes,2,rep,name=cc,proto3" json:"cc,omitempty"` Bcc []*EmailData `protobuf:"bytes,3,rep,name=bcc,proto3" json:"bcc,omitempty"` // Sender information From *EmailData `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` ReplyTo *EmailData `protobuf:"bytes,5,opt,name=reply_to,json=replyTo,proto3" json:"reply_to,omitempty"` // Email content fields Subject string `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"` AdditionalInfos *AdditionalInfos `protobuf:"bytes,7,opt,name=additionalInfos,proto3" json:"additionalInfos,omitempty"` // Types that are valid to be assigned to Body: // *SendMailRequest_TextContent Body isSendMailRequest_Body `protobuf_oneof:"body"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendMailRequest) Descriptor ¶
func (*SendMailRequest) Descriptor() ([]byte, []int)
func (*SendMailRequest) GetAdditionalInfos ¶
func (m *SendMailRequest) GetAdditionalInfos() *AdditionalInfos
func (*SendMailRequest) GetBcc ¶
func (m *SendMailRequest) GetBcc() []*EmailData
func (*SendMailRequest) GetBody ¶
func (m *SendMailRequest) GetBody() isSendMailRequest_Body
func (*SendMailRequest) GetCc ¶
func (m *SendMailRequest) GetCc() []*EmailData
func (*SendMailRequest) GetFrom ¶
func (m *SendMailRequest) GetFrom() *EmailData
func (*SendMailRequest) GetReplyTo ¶
func (m *SendMailRequest) GetReplyTo() *EmailData
func (*SendMailRequest) GetSubject ¶
func (m *SendMailRequest) GetSubject() string
func (*SendMailRequest) GetTextContent ¶
func (m *SendMailRequest) GetTextContent() *MailContent
func (*SendMailRequest) GetTo ¶
func (m *SendMailRequest) GetTo() []*EmailData
func (*SendMailRequest) ProtoMessage ¶
func (*SendMailRequest) ProtoMessage()
func (*SendMailRequest) Reset ¶
func (m *SendMailRequest) Reset()
func (*SendMailRequest) String ¶
func (m *SendMailRequest) String() string
func (*SendMailRequest) XXX_DiscardUnknown ¶
func (m *SendMailRequest) XXX_DiscardUnknown()
func (*SendMailRequest) XXX_Marshal ¶
func (m *SendMailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendMailRequest) XXX_Merge ¶
func (m *SendMailRequest) XXX_Merge(src proto.Message)
func (*SendMailRequest) XXX_OneofWrappers ¶
func (*SendMailRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SendMailRequest) XXX_Size ¶
func (m *SendMailRequest) XXX_Size() int
func (*SendMailRequest) XXX_Unmarshal ¶
func (m *SendMailRequest) XXX_Unmarshal(b []byte) error
type SendMailRequest_TextContent ¶
type SendMailRequest_TextContent struct {
TextContent *MailContent `protobuf:"bytes,8,opt,name=TextContent,proto3,oneof"`
}
type UnimplementedAuthServer ¶
type UnimplementedAuthServer struct{}
UnimplementedAuthServer 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 (UnimplementedAuthServer) GetJwtToken ¶
func (UnimplementedAuthServer) GetJwtToken(context.Context, *AuthRequest) (*AuthResponse, error)
type UnimplementedEmailServer ¶
type UnimplementedEmailServer struct{}
UnimplementedEmailServer 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 (UnimplementedEmailServer) SendEmail ¶
func (UnimplementedEmailServer) SendEmail(context.Context, *SendMailRequest) (*SendEmailResponse, error)
func (UnimplementedEmailServer) SendEmlEmail ¶
func (UnimplementedEmailServer) SendEmlEmail(context.Context, *EmlMailRequest) (*SendEmailResponse, error)
func (UnimplementedEmailServer) SendGroupEmail ¶
func (UnimplementedEmailServer) SendGroupEmail(context.Context, *GroupMailData) (*SendEmailResponse, error)
type UnimplementedGroupServer ¶
type UnimplementedGroupServer struct{}
UnimplementedGroupServer 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 (UnimplementedGroupServer) CheckEmailInGroup ¶
func (UnimplementedGroupServer) CheckEmailInGroup(context.Context, *CheckEmailInGroupRequest) (*CheckEmailInGroupResponse, error)
func (UnimplementedGroupServer) InsertEmailToGroup ¶
func (UnimplementedGroupServer) InsertEmailToGroup(context.Context, *InsertEmailToGroupRequest) (*UpdateResponse, error)
func (UnimplementedGroupServer) RemoveEmailFromGroup ¶
func (UnimplementedGroupServer) RemoveEmailFromGroup(context.Context, *RemoveEmailFromGroupRequest) (*UpdateResponse, error)
type UnsafeAuthServer ¶
type UnsafeAuthServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServer will result in compilation errors.
type UnsafeEmailServer ¶
type UnsafeEmailServer interface {
// contains filtered or unexported methods
}
UnsafeEmailServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EmailServer will result in compilation errors.
type UnsafeGroupServer ¶
type UnsafeGroupServer interface {
// contains filtered or unexported methods
}
UnsafeGroupServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GroupServer will result in compilation errors.
type UpdateResponse ¶
type UpdateResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` AffectedRows int64 `protobuf:"varint,3,opt,name=affectedRows,proto3" json:"affectedRows,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateResponse) Descriptor ¶
func (*UpdateResponse) Descriptor() ([]byte, []int)
func (*UpdateResponse) GetAffectedRows ¶
func (m *UpdateResponse) GetAffectedRows() int64
func (*UpdateResponse) GetMessage ¶
func (m *UpdateResponse) GetMessage() string
func (*UpdateResponse) GetSuccess ¶
func (m *UpdateResponse) GetSuccess() bool
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) Reset ¶
func (m *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (m *UpdateResponse) String() string
func (*UpdateResponse) XXX_DiscardUnknown ¶
func (m *UpdateResponse) XXX_DiscardUnknown()
func (*UpdateResponse) XXX_Marshal ¶
func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateResponse) XXX_Merge ¶
func (m *UpdateResponse) XXX_Merge(src proto.Message)
func (*UpdateResponse) XXX_Size ¶
func (m *UpdateResponse) XXX_Size() int
func (*UpdateResponse) XXX_Unmarshal ¶
func (m *UpdateResponse) XXX_Unmarshal(b []byte) error