Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterMailServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMailServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MailServiceClient) error
- func RegisterMailServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMailServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MailServiceServer) error
- func RegisterMailServiceServer(s grpc.ServiceRegistrar, srv MailServiceServer)
- type Client
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetApiKey() string
- func (x *Client) GetCreatedAt() *timestamppb.Timestamp
- func (x *Client) GetId() int64
- func (x *Client) GetIsDefault() bool
- func (x *Client) GetName() string
- func (x *Client) GetServerId() int64
- func (x *Client) GetTemplateId() int64
- func (x *Client) GetUpdatedAt() *timestamppb.Timestamp
- func (*Client) ProtoMessage()
- func (x *Client) ProtoReflect() protoreflect.Message
- func (x *Client) Reset()
- func (x *Client) String() string
- type CreateClientRequest
- func (*CreateClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClientRequest) GetClient() *Client
- func (*CreateClientRequest) ProtoMessage()
- func (x *CreateClientRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClientRequest) Reset()
- func (x *CreateClientRequest) String() string
- type CreateClientResponse
- func (*CreateClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClientResponse) GetClient() *Client
- func (*CreateClientResponse) ProtoMessage()
- func (x *CreateClientResponse) ProtoReflect() protoreflect.Message
- func (x *CreateClientResponse) Reset()
- func (x *CreateClientResponse) String() string
- type CreateServerRequest
- func (*CreateServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServerRequest) GetServer() *Server
- func (*CreateServerRequest) ProtoMessage()
- func (x *CreateServerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateServerRequest) Reset()
- func (x *CreateServerRequest) String() string
- type CreateServerResponse
- func (*CreateServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServerResponse) GetServer() *Server
- func (*CreateServerResponse) ProtoMessage()
- func (x *CreateServerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateServerResponse) Reset()
- func (x *CreateServerResponse) String() string
- type CreateTemplateRequest
- func (*CreateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateRequest) GetTemplate() *Template
- func (*CreateTemplateRequest) ProtoMessage()
- func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateRequest) Reset()
- func (x *CreateTemplateRequest) String() string
- type CreateTemplateResponse
- func (*CreateTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateResponse) GetTemplate() *Template
- func (*CreateTemplateResponse) ProtoMessage()
- func (x *CreateTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateResponse) Reset()
- func (x *CreateTemplateResponse) String() string
- type DeleteClientRequest
- func (*DeleteClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClientRequest) GetId() int64
- func (*DeleteClientRequest) ProtoMessage()
- func (x *DeleteClientRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClientRequest) Reset()
- func (x *DeleteClientRequest) String() string
- type DeleteClientResponse
- type DeleteServerRequest
- func (*DeleteServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServerRequest) GetId() int64
- func (*DeleteServerRequest) ProtoMessage()
- func (x *DeleteServerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServerRequest) Reset()
- func (x *DeleteServerRequest) String() string
- type DeleteServerResponse
- type DeleteTemplateRequest
- func (*DeleteTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTemplateRequest) GetId() int64
- func (*DeleteTemplateRequest) ProtoMessage()
- func (x *DeleteTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTemplateRequest) Reset()
- func (x *DeleteTemplateRequest) String() string
- type DeleteTemplateResponse
- type DuplicateClientRequest
- func (*DuplicateClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateClientRequest) GetClient() *Client
- func (*DuplicateClientRequest) ProtoMessage()
- func (x *DuplicateClientRequest) ProtoReflect() protoreflect.Message
- func (x *DuplicateClientRequest) Reset()
- func (x *DuplicateClientRequest) String() string
- type DuplicateClientResponse
- func (*DuplicateClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateClientResponse) GetClient() *Client
- func (*DuplicateClientResponse) ProtoMessage()
- func (x *DuplicateClientResponse) ProtoReflect() protoreflect.Message
- func (x *DuplicateClientResponse) Reset()
- func (x *DuplicateClientResponse) String() string
- type DuplicateServerRequest
- func (*DuplicateServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateServerRequest) GetServer() *Server
- func (*DuplicateServerRequest) ProtoMessage()
- func (x *DuplicateServerRequest) ProtoReflect() protoreflect.Message
- func (x *DuplicateServerRequest) Reset()
- func (x *DuplicateServerRequest) String() string
- type DuplicateServerResponse
- func (*DuplicateServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateServerResponse) GetServer() *Server
- func (*DuplicateServerResponse) ProtoMessage()
- func (x *DuplicateServerResponse) ProtoReflect() protoreflect.Message
- func (x *DuplicateServerResponse) Reset()
- func (x *DuplicateServerResponse) String() string
- type DuplicateTemplateRequest
- func (*DuplicateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateTemplateRequest) GetTemplate() *Template
- func (*DuplicateTemplateRequest) ProtoMessage()
- func (x *DuplicateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DuplicateTemplateRequest) Reset()
- func (x *DuplicateTemplateRequest) String() string
- type DuplicateTemplateResponse
- func (*DuplicateTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateTemplateResponse) GetTemplate() *Template
- func (*DuplicateTemplateResponse) ProtoMessage()
- func (x *DuplicateTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *DuplicateTemplateResponse) Reset()
- func (x *DuplicateTemplateResponse) String() string
- type GetClientRequest
- type GetClientResponse
- type GetClientsRequest
- func (*GetClientsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClientsRequest) GetLimit() int32
- func (x *GetClientsRequest) GetOffset() int32
- func (*GetClientsRequest) ProtoMessage()
- func (x *GetClientsRequest) ProtoReflect() protoreflect.Message
- func (x *GetClientsRequest) Reset()
- func (x *GetClientsRequest) String() string
- type GetClientsResponse
- func (*GetClientsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetClientsResponse) GetClients() []*Client
- func (*GetClientsResponse) ProtoMessage()
- func (x *GetClientsResponse) ProtoReflect() protoreflect.Message
- func (x *GetClientsResponse) Reset()
- func (x *GetClientsResponse) String() string
- type GetHistoriesRequest
- func (*GetHistoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHistoriesRequest) GetLimit() int32
- func (x *GetHistoriesRequest) GetOffset() int32
- func (*GetHistoriesRequest) ProtoMessage()
- func (x *GetHistoriesRequest) ProtoReflect() protoreflect.Message
- func (x *GetHistoriesRequest) Reset()
- func (x *GetHistoriesRequest) String() string
- type GetHistoriesResponse
- func (*GetHistoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHistoriesResponse) GetHistories() []*History
- func (*GetHistoriesResponse) ProtoMessage()
- func (x *GetHistoriesResponse) ProtoReflect() protoreflect.Message
- func (x *GetHistoriesResponse) Reset()
- func (x *GetHistoriesResponse) String() string
- type GetServerRequest
- type GetServerResponse
- type GetServersRequest
- func (*GetServersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServersRequest) GetLimit() int32
- func (x *GetServersRequest) GetOffset() int32
- func (*GetServersRequest) ProtoMessage()
- func (x *GetServersRequest) ProtoReflect() protoreflect.Message
- func (x *GetServersRequest) Reset()
- func (x *GetServersRequest) String() string
- type GetServersResponse
- func (*GetServersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServersResponse) GetServers() []*Server
- func (*GetServersResponse) ProtoMessage()
- func (x *GetServersResponse) ProtoReflect() protoreflect.Message
- func (x *GetServersResponse) Reset()
- func (x *GetServersResponse) String() string
- type GetTemplateRequest
- type GetTemplateResponse
- func (*GetTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateResponse) GetTemplate() *Template
- func (*GetTemplateResponse) ProtoMessage()
- func (x *GetTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *GetTemplateResponse) Reset()
- func (x *GetTemplateResponse) String() string
- type GetTemplatesActiveRequest
- type GetTemplatesActiveResponse
- func (*GetTemplatesActiveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplatesActiveResponse) GetTemplates() []*Template
- func (*GetTemplatesActiveResponse) ProtoMessage()
- func (x *GetTemplatesActiveResponse) ProtoReflect() protoreflect.Message
- func (x *GetTemplatesActiveResponse) Reset()
- func (x *GetTemplatesActiveResponse) String() string
- type GetTemplatesRequest
- func (*GetTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplatesRequest) GetLimit() int32
- func (x *GetTemplatesRequest) GetOffset() int32
- func (*GetTemplatesRequest) ProtoMessage()
- func (x *GetTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *GetTemplatesRequest) Reset()
- func (x *GetTemplatesRequest) String() string
- type GetTemplatesResponse
- func (*GetTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplatesResponse) GetTemplates() []*Template
- func (*GetTemplatesResponse) ProtoMessage()
- func (x *GetTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *GetTemplatesResponse) Reset()
- func (x *GetTemplatesResponse) String() string
- type History
- func (*History) Descriptor() ([]byte, []int)deprecated
- func (x *History) GetApiKey() string
- func (x *History) GetBcc() string
- func (x *History) GetCc() string
- func (x *History) GetContent() *structpb.Struct
- func (x *History) GetCreatedAt() *timestamppb.Timestamp
- func (x *History) GetId() int64
- func (x *History) GetStatus() string
- func (x *History) GetSubject() string
- func (x *History) GetTo() string
- func (x *History) GetUpdatedAt() *timestamppb.Timestamp
- func (*History) ProtoMessage()
- func (x *History) ProtoReflect() protoreflect.Message
- func (x *History) Reset()
- func (x *History) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUsername() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- type LogoutRequest
- type LogoutResponse
- type MailServiceClient
- type MailServiceServer
- type SendMailRequest
- func (*SendMailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMailRequest) GetBcc() string
- func (x *SendMailRequest) GetCc() string
- func (x *SendMailRequest) GetContent() *structpb.Struct
- func (x *SendMailRequest) GetSubject() string
- func (x *SendMailRequest) GetTo() string
- func (*SendMailRequest) ProtoMessage()
- func (x *SendMailRequest) ProtoReflect() protoreflect.Message
- func (x *SendMailRequest) Reset()
- func (x *SendMailRequest) String() string
- type SendMailResponse
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetAuthProtocol() string
- func (x *Server) GetCreatedAt() *timestamppb.Timestamp
- func (x *Server) GetFromAddress() string
- func (x *Server) GetFromName() string
- func (x *Server) GetHost() string
- func (x *Server) GetId() int64
- func (x *Server) GetIdleTimeout() int64
- func (x *Server) GetIsDefault() bool
- func (x *Server) GetMaxConnections() int64
- func (x *Server) GetName() string
- func (x *Server) GetPassword() string
- func (x *Server) GetPort() int64
- func (x *Server) GetRetries() int64
- func (x *Server) GetTlsType() string
- func (x *Server) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Server) GetUsername() string
- func (x *Server) GetWaitTimeout() int64
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type Template
- func (*Template) Descriptor() ([]byte, []int)deprecated
- func (x *Template) GetCreatedAt() *timestamppb.Timestamp
- func (x *Template) GetHtml() string
- func (x *Template) GetId() int64
- func (x *Template) GetIsDefault() bool
- func (x *Template) GetName() string
- func (x *Template) GetStatus() string
- func (x *Template) GetUpdatedAt() *timestamppb.Timestamp
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- func (x *Template) String() string
- type TestSendMailRequest
- func (*TestSendMailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestSendMailRequest) GetAuthProtocol() string
- func (x *TestSendMailRequest) GetFromAddress() string
- func (x *TestSendMailRequest) GetFromName() string
- func (x *TestSendMailRequest) GetHost() string
- func (x *TestSendMailRequest) GetIdleTimeout() int64
- func (x *TestSendMailRequest) GetMaxConnections() int64
- func (x *TestSendMailRequest) GetPassword() string
- func (x *TestSendMailRequest) GetPort() int64
- func (x *TestSendMailRequest) GetRetries() int64
- func (x *TestSendMailRequest) GetTlsType() string
- func (x *TestSendMailRequest) GetTo() string
- func (x *TestSendMailRequest) GetUsername() string
- func (x *TestSendMailRequest) GetWaitTimeout() int64
- func (*TestSendMailRequest) ProtoMessage()
- func (x *TestSendMailRequest) ProtoReflect() protoreflect.Message
- func (x *TestSendMailRequest) Reset()
- func (x *TestSendMailRequest) String() string
- type TestSendMailResponse
- type UnimplementedMailServiceServer
- func (UnimplementedMailServiceServer) CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error)
- func (UnimplementedMailServiceServer) CreateServer(context.Context, *CreateServerRequest) (*CreateServerResponse, error)
- func (UnimplementedMailServiceServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)
- func (UnimplementedMailServiceServer) DeleteClient(context.Context, *DeleteClientRequest) (*DeleteClientResponse, error)
- func (UnimplementedMailServiceServer) DeleteServer(context.Context, *DeleteServerRequest) (*DeleteServerResponse, error)
- func (UnimplementedMailServiceServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
- func (UnimplementedMailServiceServer) DuplicateClient(context.Context, *DuplicateClientRequest) (*DuplicateClientResponse, error)
- func (UnimplementedMailServiceServer) DuplicateServer(context.Context, *DuplicateServerRequest) (*DuplicateServerResponse, error)
- func (UnimplementedMailServiceServer) DuplicateTemplate(context.Context, *DuplicateTemplateRequest) (*DuplicateTemplateResponse, error)
- func (UnimplementedMailServiceServer) GetClient(context.Context, *GetClientRequest) (*GetClientResponse, error)
- func (UnimplementedMailServiceServer) GetClients(context.Context, *GetClientsRequest) (*GetClientsResponse, error)
- func (UnimplementedMailServiceServer) GetHistories(context.Context, *GetHistoriesRequest) (*GetHistoriesResponse, error)
- func (UnimplementedMailServiceServer) GetServer(context.Context, *GetServerRequest) (*GetServerResponse, error)
- func (UnimplementedMailServiceServer) GetServers(context.Context, *GetServersRequest) (*GetServersResponse, error)
- func (UnimplementedMailServiceServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error)
- func (UnimplementedMailServiceServer) GetTemplates(context.Context, *GetTemplatesRequest) (*GetTemplatesResponse, error)
- func (UnimplementedMailServiceServer) GetTemplatesActive(context.Context, *GetTemplatesActiveRequest) (*GetTemplatesActiveResponse, error)
- func (UnimplementedMailServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
- func (UnimplementedMailServiceServer) SendMail(context.Context, *SendMailRequest) (*SendMailResponse, error)
- func (UnimplementedMailServiceServer) SignIn(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedMailServiceServer) TestSendMail(context.Context, *TestSendMailRequest) (*TestSendMailResponse, error)
- func (UnimplementedMailServiceServer) UpdateClient(context.Context, *UpdateClientRequest) (*UpdateClientResponse, error)
- func (UnimplementedMailServiceServer) UpdateServer(context.Context, *UpdateServerRequest) (*UpdateServerResponse, error)
- func (UnimplementedMailServiceServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
- type UnsafeMailServiceServer
- type UpdateClientRequest
- func (*UpdateClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClientRequest) GetClient() *Client
- func (*UpdateClientRequest) ProtoMessage()
- func (x *UpdateClientRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClientRequest) Reset()
- func (x *UpdateClientRequest) String() string
- type UpdateClientResponse
- func (*UpdateClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClientResponse) GetClient() *Client
- func (*UpdateClientResponse) ProtoMessage()
- func (x *UpdateClientResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateClientResponse) Reset()
- func (x *UpdateClientResponse) String() string
- type UpdateServerRequest
- func (*UpdateServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServerRequest) GetServer() *Server
- func (*UpdateServerRequest) ProtoMessage()
- func (x *UpdateServerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateServerRequest) Reset()
- func (x *UpdateServerRequest) String() string
- type UpdateServerResponse
- func (*UpdateServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServerResponse) GetServer() *Server
- func (*UpdateServerResponse) ProtoMessage()
- func (x *UpdateServerResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateServerResponse) Reset()
- func (x *UpdateServerResponse) String() string
- type UpdateTemplateRequest
- func (*UpdateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplateRequest) GetTemplate() *Template
- func (*UpdateTemplateRequest) ProtoMessage()
- func (x *UpdateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateRequest) Reset()
- func (x *UpdateTemplateRequest) String() string
- type UpdateTemplateResponse
- func (*UpdateTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplateResponse) GetTemplate() *Template
- func (*UpdateTemplateResponse) ProtoMessage()
- func (x *UpdateTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateResponse) Reset()
- func (x *UpdateTemplateResponse) String() string
Constants ¶
const ( MailService_SignIn_FullMethodName = "/mail.v1.MailService/SignIn" MailService_Logout_FullMethodName = "/mail.v1.MailService/Logout" MailService_CreateServer_FullMethodName = "/mail.v1.MailService/CreateServer" MailService_DuplicateServer_FullMethodName = "/mail.v1.MailService/DuplicateServer" MailService_UpdateServer_FullMethodName = "/mail.v1.MailService/UpdateServer" MailService_GetServer_FullMethodName = "/mail.v1.MailService/GetServer" MailService_GetServers_FullMethodName = "/mail.v1.MailService/GetServers" MailService_DeleteServer_FullMethodName = "/mail.v1.MailService/DeleteServer" MailService_CreateTemplate_FullMethodName = "/mail.v1.MailService/CreateTemplate" MailService_DuplicateTemplate_FullMethodName = "/mail.v1.MailService/DuplicateTemplate" MailService_UpdateTemplate_FullMethodName = "/mail.v1.MailService/UpdateTemplate" MailService_GetTemplate_FullMethodName = "/mail.v1.MailService/GetTemplate" MailService_GetTemplates_FullMethodName = "/mail.v1.MailService/GetTemplates" MailService_GetTemplatesActive_FullMethodName = "/mail.v1.MailService/GetTemplatesActive" MailService_DeleteTemplate_FullMethodName = "/mail.v1.MailService/DeleteTemplate" MailService_CreateClient_FullMethodName = "/mail.v1.MailService/CreateClient" MailService_DuplicateClient_FullMethodName = "/mail.v1.MailService/DuplicateClient" MailService_UpdateClient_FullMethodName = "/mail.v1.MailService/UpdateClient" MailService_GetClient_FullMethodName = "/mail.v1.MailService/GetClient" MailService_GetClients_FullMethodName = "/mail.v1.MailService/GetClients" MailService_DeleteClient_FullMethodName = "/mail.v1.MailService/DeleteClient" MailService_GetHistories_FullMethodName = "/mail.v1.MailService/GetHistories" MailService_SendMail_FullMethodName = "/mail.v1.MailService/SendMail" MailService_TestSendMail_FullMethodName = "/mail.v1.MailService/TestSendMail" )
Variables ¶
var File_mail_v1_mail_proto protoreflect.FileDescriptor
var MailService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mail.v1.MailService", HandlerType: (*MailServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SignIn", Handler: _MailService_SignIn_Handler, }, { MethodName: "Logout", Handler: _MailService_Logout_Handler, }, { MethodName: "CreateServer", Handler: _MailService_CreateServer_Handler, }, { MethodName: "DuplicateServer", Handler: _MailService_DuplicateServer_Handler, }, { MethodName: "UpdateServer", Handler: _MailService_UpdateServer_Handler, }, { MethodName: "GetServer", Handler: _MailService_GetServer_Handler, }, { MethodName: "GetServers", Handler: _MailService_GetServers_Handler, }, { MethodName: "DeleteServer", Handler: _MailService_DeleteServer_Handler, }, { MethodName: "CreateTemplate", Handler: _MailService_CreateTemplate_Handler, }, { MethodName: "DuplicateTemplate", Handler: _MailService_DuplicateTemplate_Handler, }, { MethodName: "UpdateTemplate", Handler: _MailService_UpdateTemplate_Handler, }, { MethodName: "GetTemplate", Handler: _MailService_GetTemplate_Handler, }, { MethodName: "GetTemplates", Handler: _MailService_GetTemplates_Handler, }, { MethodName: "GetTemplatesActive", Handler: _MailService_GetTemplatesActive_Handler, }, { MethodName: "DeleteTemplate", Handler: _MailService_DeleteTemplate_Handler, }, { MethodName: "CreateClient", Handler: _MailService_CreateClient_Handler, }, { MethodName: "DuplicateClient", Handler: _MailService_DuplicateClient_Handler, }, { MethodName: "UpdateClient", Handler: _MailService_UpdateClient_Handler, }, { MethodName: "GetClient", Handler: _MailService_GetClient_Handler, }, { MethodName: "GetClients", Handler: _MailService_GetClients_Handler, }, { MethodName: "DeleteClient", Handler: _MailService_DeleteClient_Handler, }, { MethodName: "GetHistories", Handler: _MailService_GetHistories_Handler, }, { MethodName: "SendMail", Handler: _MailService_SendMail_Handler, }, { MethodName: "TestSendMail", Handler: _MailService_TestSendMail_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mail/v1/mail.proto", }
MailService_ServiceDesc is the grpc.ServiceDesc for MailService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMailServiceHandler ¶
func RegisterMailServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMailServiceHandler registers the http handlers for service MailService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMailServiceHandlerClient ¶
func RegisterMailServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MailServiceClient) error
RegisterMailServiceHandlerClient registers the http handlers for service MailService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MailServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MailServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MailServiceClient" to call the correct interceptors.
func RegisterMailServiceHandlerFromEndpoint ¶
func RegisterMailServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMailServiceHandlerFromEndpoint is same as RegisterMailServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMailServiceHandlerServer ¶
func RegisterMailServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MailServiceServer) error
RegisterMailServiceHandlerServer registers the http handlers for service MailService to "mux". UnaryRPC :call MailServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMailServiceHandlerFromEndpoint instead.
func RegisterMailServiceServer ¶
func RegisterMailServiceServer(s grpc.ServiceRegistrar, srv MailServiceServer)
Types ¶
type Client ¶
type Client struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ServerId int64 `protobuf:"varint,3,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` TemplateId int64 `protobuf:"varint,4,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` ApiKey string `protobuf:"bytes,5,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` IsDefault bool `protobuf:"varint,6,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Client) Descriptor
deprecated
func (*Client) GetCreatedAt ¶
func (x *Client) GetCreatedAt() *timestamppb.Timestamp
func (*Client) GetIsDefault ¶
func (*Client) GetServerId ¶
func (*Client) GetTemplateId ¶
func (*Client) GetUpdatedAt ¶
func (x *Client) GetUpdatedAt() *timestamppb.Timestamp
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶
func (x *Client) ProtoReflect() protoreflect.Message
type CreateClientRequest ¶
type CreateClientRequest struct { Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*CreateClientRequest) Descriptor
deprecated
func (*CreateClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClientRequest.ProtoReflect.Descriptor instead.
func (*CreateClientRequest) GetClient ¶
func (x *CreateClientRequest) GetClient() *Client
func (*CreateClientRequest) ProtoMessage ¶
func (*CreateClientRequest) ProtoMessage()
func (*CreateClientRequest) ProtoReflect ¶
func (x *CreateClientRequest) ProtoReflect() protoreflect.Message
func (*CreateClientRequest) Reset ¶
func (x *CreateClientRequest) Reset()
func (*CreateClientRequest) String ¶
func (x *CreateClientRequest) String() string
type CreateClientResponse ¶
type CreateClientResponse struct { Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*CreateClientResponse) Descriptor
deprecated
func (*CreateClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateClientResponse.ProtoReflect.Descriptor instead.
func (*CreateClientResponse) GetClient ¶
func (x *CreateClientResponse) GetClient() *Client
func (*CreateClientResponse) ProtoMessage ¶
func (*CreateClientResponse) ProtoMessage()
func (*CreateClientResponse) ProtoReflect ¶
func (x *CreateClientResponse) ProtoReflect() protoreflect.Message
func (*CreateClientResponse) Reset ¶
func (x *CreateClientResponse) Reset()
func (*CreateClientResponse) String ¶
func (x *CreateClientResponse) String() string
type CreateServerRequest ¶
type CreateServerRequest struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
func (*CreateServerRequest) Descriptor
deprecated
func (*CreateServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateServerRequest.ProtoReflect.Descriptor instead.
func (*CreateServerRequest) GetServer ¶
func (x *CreateServerRequest) GetServer() *Server
func (*CreateServerRequest) ProtoMessage ¶
func (*CreateServerRequest) ProtoMessage()
func (*CreateServerRequest) ProtoReflect ¶
func (x *CreateServerRequest) ProtoReflect() protoreflect.Message
func (*CreateServerRequest) Reset ¶
func (x *CreateServerRequest) Reset()
func (*CreateServerRequest) String ¶
func (x *CreateServerRequest) String() string
type CreateServerResponse ¶
type CreateServerResponse struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
func (*CreateServerResponse) Descriptor
deprecated
func (*CreateServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateServerResponse.ProtoReflect.Descriptor instead.
func (*CreateServerResponse) GetServer ¶
func (x *CreateServerResponse) GetServer() *Server
func (*CreateServerResponse) ProtoMessage ¶
func (*CreateServerResponse) ProtoMessage()
func (*CreateServerResponse) ProtoReflect ¶
func (x *CreateServerResponse) ProtoReflect() protoreflect.Message
func (*CreateServerResponse) Reset ¶
func (x *CreateServerResponse) Reset()
func (*CreateServerResponse) String ¶
func (x *CreateServerResponse) String() string
type CreateTemplateRequest ¶
type CreateTemplateRequest struct { Template *Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*CreateTemplateRequest) Descriptor
deprecated
func (*CreateTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateTemplateRequest) GetTemplate ¶
func (x *CreateTemplateRequest) GetTemplate() *Template
func (*CreateTemplateRequest) ProtoMessage ¶
func (*CreateTemplateRequest) ProtoMessage()
func (*CreateTemplateRequest) ProtoReflect ¶
func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateTemplateRequest) Reset ¶
func (x *CreateTemplateRequest) Reset()
func (*CreateTemplateRequest) String ¶
func (x *CreateTemplateRequest) String() string
type CreateTemplateResponse ¶
type CreateTemplateResponse struct { Template *Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*CreateTemplateResponse) Descriptor
deprecated
func (*CreateTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTemplateResponse.ProtoReflect.Descriptor instead.
func (*CreateTemplateResponse) GetTemplate ¶
func (x *CreateTemplateResponse) GetTemplate() *Template
func (*CreateTemplateResponse) ProtoMessage ¶
func (*CreateTemplateResponse) ProtoMessage()
func (*CreateTemplateResponse) ProtoReflect ¶
func (x *CreateTemplateResponse) ProtoReflect() protoreflect.Message
func (*CreateTemplateResponse) Reset ¶
func (x *CreateTemplateResponse) Reset()
func (*CreateTemplateResponse) String ¶
func (x *CreateTemplateResponse) String() string
type DeleteClientRequest ¶
type DeleteClientRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteClientRequest) Descriptor
deprecated
func (*DeleteClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClientRequest.ProtoReflect.Descriptor instead.
func (*DeleteClientRequest) GetId ¶
func (x *DeleteClientRequest) GetId() int64
func (*DeleteClientRequest) ProtoMessage ¶
func (*DeleteClientRequest) ProtoMessage()
func (*DeleteClientRequest) ProtoReflect ¶
func (x *DeleteClientRequest) ProtoReflect() protoreflect.Message
func (*DeleteClientRequest) Reset ¶
func (x *DeleteClientRequest) Reset()
func (*DeleteClientRequest) String ¶
func (x *DeleteClientRequest) String() string
type DeleteClientResponse ¶
type DeleteClientResponse struct {
// contains filtered or unexported fields
}
func (*DeleteClientResponse) Descriptor
deprecated
func (*DeleteClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClientResponse.ProtoReflect.Descriptor instead.
func (*DeleteClientResponse) ProtoMessage ¶
func (*DeleteClientResponse) ProtoMessage()
func (*DeleteClientResponse) ProtoReflect ¶
func (x *DeleteClientResponse) ProtoReflect() protoreflect.Message
func (*DeleteClientResponse) Reset ¶
func (x *DeleteClientResponse) Reset()
func (*DeleteClientResponse) String ¶
func (x *DeleteClientResponse) String() string
type DeleteServerRequest ¶
type DeleteServerRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteServerRequest) Descriptor
deprecated
func (*DeleteServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServerRequest.ProtoReflect.Descriptor instead.
func (*DeleteServerRequest) GetId ¶
func (x *DeleteServerRequest) GetId() int64
func (*DeleteServerRequest) ProtoMessage ¶
func (*DeleteServerRequest) ProtoMessage()
func (*DeleteServerRequest) ProtoReflect ¶
func (x *DeleteServerRequest) ProtoReflect() protoreflect.Message
func (*DeleteServerRequest) Reset ¶
func (x *DeleteServerRequest) Reset()
func (*DeleteServerRequest) String ¶
func (x *DeleteServerRequest) String() string
type DeleteServerResponse ¶
type DeleteServerResponse struct {
// contains filtered or unexported fields
}
func (*DeleteServerResponse) Descriptor
deprecated
func (*DeleteServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServerResponse.ProtoReflect.Descriptor instead.
func (*DeleteServerResponse) ProtoMessage ¶
func (*DeleteServerResponse) ProtoMessage()
func (*DeleteServerResponse) ProtoReflect ¶
func (x *DeleteServerResponse) ProtoReflect() protoreflect.Message
func (*DeleteServerResponse) Reset ¶
func (x *DeleteServerResponse) Reset()
func (*DeleteServerResponse) String ¶
func (x *DeleteServerResponse) String() string
type DeleteTemplateRequest ¶
type DeleteTemplateRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTemplateRequest) Descriptor
deprecated
func (*DeleteTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteTemplateRequest) GetId ¶
func (x *DeleteTemplateRequest) GetId() int64
func (*DeleteTemplateRequest) ProtoMessage ¶
func (*DeleteTemplateRequest) ProtoMessage()
func (*DeleteTemplateRequest) ProtoReflect ¶
func (x *DeleteTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteTemplateRequest) Reset ¶
func (x *DeleteTemplateRequest) Reset()
func (*DeleteTemplateRequest) String ¶
func (x *DeleteTemplateRequest) String() string
type DeleteTemplateResponse ¶
type DeleteTemplateResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTemplateResponse) Descriptor
deprecated
func (*DeleteTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTemplateResponse.ProtoReflect.Descriptor instead.
func (*DeleteTemplateResponse) ProtoMessage ¶
func (*DeleteTemplateResponse) ProtoMessage()
func (*DeleteTemplateResponse) ProtoReflect ¶
func (x *DeleteTemplateResponse) ProtoReflect() protoreflect.Message
func (*DeleteTemplateResponse) Reset ¶
func (x *DeleteTemplateResponse) Reset()
func (*DeleteTemplateResponse) String ¶
func (x *DeleteTemplateResponse) String() string
type DuplicateClientRequest ¶
type DuplicateClientRequest struct { Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*DuplicateClientRequest) Descriptor
deprecated
func (*DuplicateClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateClientRequest.ProtoReflect.Descriptor instead.
func (*DuplicateClientRequest) GetClient ¶
func (x *DuplicateClientRequest) GetClient() *Client
func (*DuplicateClientRequest) ProtoMessage ¶
func (*DuplicateClientRequest) ProtoMessage()
func (*DuplicateClientRequest) ProtoReflect ¶
func (x *DuplicateClientRequest) ProtoReflect() protoreflect.Message
func (*DuplicateClientRequest) Reset ¶
func (x *DuplicateClientRequest) Reset()
func (*DuplicateClientRequest) String ¶
func (x *DuplicateClientRequest) String() string
type DuplicateClientResponse ¶
type DuplicateClientResponse struct { Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*DuplicateClientResponse) Descriptor
deprecated
func (*DuplicateClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateClientResponse.ProtoReflect.Descriptor instead.
func (*DuplicateClientResponse) GetClient ¶
func (x *DuplicateClientResponse) GetClient() *Client
func (*DuplicateClientResponse) ProtoMessage ¶
func (*DuplicateClientResponse) ProtoMessage()
func (*DuplicateClientResponse) ProtoReflect ¶
func (x *DuplicateClientResponse) ProtoReflect() protoreflect.Message
func (*DuplicateClientResponse) Reset ¶
func (x *DuplicateClientResponse) Reset()
func (*DuplicateClientResponse) String ¶
func (x *DuplicateClientResponse) String() string
type DuplicateServerRequest ¶
type DuplicateServerRequest struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
func (*DuplicateServerRequest) Descriptor
deprecated
func (*DuplicateServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateServerRequest.ProtoReflect.Descriptor instead.
func (*DuplicateServerRequest) GetServer ¶
func (x *DuplicateServerRequest) GetServer() *Server
func (*DuplicateServerRequest) ProtoMessage ¶
func (*DuplicateServerRequest) ProtoMessage()
func (*DuplicateServerRequest) ProtoReflect ¶
func (x *DuplicateServerRequest) ProtoReflect() protoreflect.Message
func (*DuplicateServerRequest) Reset ¶
func (x *DuplicateServerRequest) Reset()
func (*DuplicateServerRequest) String ¶
func (x *DuplicateServerRequest) String() string
type DuplicateServerResponse ¶
type DuplicateServerResponse struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
func (*DuplicateServerResponse) Descriptor
deprecated
func (*DuplicateServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateServerResponse.ProtoReflect.Descriptor instead.
func (*DuplicateServerResponse) GetServer ¶
func (x *DuplicateServerResponse) GetServer() *Server
func (*DuplicateServerResponse) ProtoMessage ¶
func (*DuplicateServerResponse) ProtoMessage()
func (*DuplicateServerResponse) ProtoReflect ¶
func (x *DuplicateServerResponse) ProtoReflect() protoreflect.Message
func (*DuplicateServerResponse) Reset ¶
func (x *DuplicateServerResponse) Reset()
func (*DuplicateServerResponse) String ¶
func (x *DuplicateServerResponse) String() string
type DuplicateTemplateRequest ¶
type DuplicateTemplateRequest struct { Template *Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*DuplicateTemplateRequest) Descriptor
deprecated
func (*DuplicateTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateTemplateRequest.ProtoReflect.Descriptor instead.
func (*DuplicateTemplateRequest) GetTemplate ¶
func (x *DuplicateTemplateRequest) GetTemplate() *Template
func (*DuplicateTemplateRequest) ProtoMessage ¶
func (*DuplicateTemplateRequest) ProtoMessage()
func (*DuplicateTemplateRequest) ProtoReflect ¶
func (x *DuplicateTemplateRequest) ProtoReflect() protoreflect.Message
func (*DuplicateTemplateRequest) Reset ¶
func (x *DuplicateTemplateRequest) Reset()
func (*DuplicateTemplateRequest) String ¶
func (x *DuplicateTemplateRequest) String() string
type DuplicateTemplateResponse ¶
type DuplicateTemplateResponse struct { Template *Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*DuplicateTemplateResponse) Descriptor
deprecated
func (*DuplicateTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateTemplateResponse.ProtoReflect.Descriptor instead.
func (*DuplicateTemplateResponse) GetTemplate ¶
func (x *DuplicateTemplateResponse) GetTemplate() *Template
func (*DuplicateTemplateResponse) ProtoMessage ¶
func (*DuplicateTemplateResponse) ProtoMessage()
func (*DuplicateTemplateResponse) ProtoReflect ¶
func (x *DuplicateTemplateResponse) ProtoReflect() protoreflect.Message
func (*DuplicateTemplateResponse) Reset ¶
func (x *DuplicateTemplateResponse) Reset()
func (*DuplicateTemplateResponse) String ¶
func (x *DuplicateTemplateResponse) String() string
type GetClientRequest ¶
type GetClientRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetClientRequest) Descriptor
deprecated
func (*GetClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClientRequest.ProtoReflect.Descriptor instead.
func (*GetClientRequest) GetId ¶
func (x *GetClientRequest) GetId() int64
func (*GetClientRequest) ProtoMessage ¶
func (*GetClientRequest) ProtoMessage()
func (*GetClientRequest) ProtoReflect ¶
func (x *GetClientRequest) ProtoReflect() protoreflect.Message
func (*GetClientRequest) Reset ¶
func (x *GetClientRequest) Reset()
func (*GetClientRequest) String ¶
func (x *GetClientRequest) String() string
type GetClientResponse ¶
type GetClientResponse struct { Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*GetClientResponse) Descriptor
deprecated
func (*GetClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClientResponse.ProtoReflect.Descriptor instead.
func (*GetClientResponse) GetClient ¶
func (x *GetClientResponse) GetClient() *Client
func (*GetClientResponse) ProtoMessage ¶
func (*GetClientResponse) ProtoMessage()
func (*GetClientResponse) ProtoReflect ¶
func (x *GetClientResponse) ProtoReflect() protoreflect.Message
func (*GetClientResponse) Reset ¶
func (x *GetClientResponse) Reset()
func (*GetClientResponse) String ¶
func (x *GetClientResponse) String() string
type GetClientsRequest ¶
type GetClientsRequest struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetClientsRequest) Descriptor
deprecated
func (*GetClientsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClientsRequest.ProtoReflect.Descriptor instead.
func (*GetClientsRequest) GetLimit ¶
func (x *GetClientsRequest) GetLimit() int32
func (*GetClientsRequest) GetOffset ¶
func (x *GetClientsRequest) GetOffset() int32
func (*GetClientsRequest) ProtoMessage ¶
func (*GetClientsRequest) ProtoMessage()
func (*GetClientsRequest) ProtoReflect ¶
func (x *GetClientsRequest) ProtoReflect() protoreflect.Message
func (*GetClientsRequest) Reset ¶
func (x *GetClientsRequest) Reset()
func (*GetClientsRequest) String ¶
func (x *GetClientsRequest) String() string
type GetClientsResponse ¶
type GetClientsResponse struct { Clients []*Client `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"` // contains filtered or unexported fields }
func (*GetClientsResponse) Descriptor
deprecated
func (*GetClientsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetClientsResponse.ProtoReflect.Descriptor instead.
func (*GetClientsResponse) GetClients ¶
func (x *GetClientsResponse) GetClients() []*Client
func (*GetClientsResponse) ProtoMessage ¶
func (*GetClientsResponse) ProtoMessage()
func (*GetClientsResponse) ProtoReflect ¶
func (x *GetClientsResponse) ProtoReflect() protoreflect.Message
func (*GetClientsResponse) Reset ¶
func (x *GetClientsResponse) Reset()
func (*GetClientsResponse) String ¶
func (x *GetClientsResponse) String() string
type GetHistoriesRequest ¶
type GetHistoriesRequest struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetHistoriesRequest) Descriptor
deprecated
func (*GetHistoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHistoriesRequest.ProtoReflect.Descriptor instead.
func (*GetHistoriesRequest) GetLimit ¶
func (x *GetHistoriesRequest) GetLimit() int32
func (*GetHistoriesRequest) GetOffset ¶
func (x *GetHistoriesRequest) GetOffset() int32
func (*GetHistoriesRequest) ProtoMessage ¶
func (*GetHistoriesRequest) ProtoMessage()
func (*GetHistoriesRequest) ProtoReflect ¶
func (x *GetHistoriesRequest) ProtoReflect() protoreflect.Message
func (*GetHistoriesRequest) Reset ¶
func (x *GetHistoriesRequest) Reset()
func (*GetHistoriesRequest) String ¶
func (x *GetHistoriesRequest) String() string
type GetHistoriesResponse ¶
type GetHistoriesResponse struct { Histories []*History `protobuf:"bytes,1,rep,name=histories,proto3" json:"histories,omitempty"` // contains filtered or unexported fields }
func (*GetHistoriesResponse) Descriptor
deprecated
func (*GetHistoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHistoriesResponse.ProtoReflect.Descriptor instead.
func (*GetHistoriesResponse) GetHistories ¶
func (x *GetHistoriesResponse) GetHistories() []*History
func (*GetHistoriesResponse) ProtoMessage ¶
func (*GetHistoriesResponse) ProtoMessage()
func (*GetHistoriesResponse) ProtoReflect ¶
func (x *GetHistoriesResponse) ProtoReflect() protoreflect.Message
func (*GetHistoriesResponse) Reset ¶
func (x *GetHistoriesResponse) Reset()
func (*GetHistoriesResponse) String ¶
func (x *GetHistoriesResponse) String() string
type GetServerRequest ¶
type GetServerRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetServerRequest) Descriptor
deprecated
func (*GetServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerRequest.ProtoReflect.Descriptor instead.
func (*GetServerRequest) GetId ¶
func (x *GetServerRequest) GetId() int64
func (*GetServerRequest) ProtoMessage ¶
func (*GetServerRequest) ProtoMessage()
func (*GetServerRequest) ProtoReflect ¶
func (x *GetServerRequest) ProtoReflect() protoreflect.Message
func (*GetServerRequest) Reset ¶
func (x *GetServerRequest) Reset()
func (*GetServerRequest) String ¶
func (x *GetServerRequest) String() string
type GetServerResponse ¶
type GetServerResponse struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
func (*GetServerResponse) Descriptor
deprecated
func (*GetServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServerResponse.ProtoReflect.Descriptor instead.
func (*GetServerResponse) GetServer ¶
func (x *GetServerResponse) GetServer() *Server
func (*GetServerResponse) ProtoMessage ¶
func (*GetServerResponse) ProtoMessage()
func (*GetServerResponse) ProtoReflect ¶
func (x *GetServerResponse) ProtoReflect() protoreflect.Message
func (*GetServerResponse) Reset ¶
func (x *GetServerResponse) Reset()
func (*GetServerResponse) String ¶
func (x *GetServerResponse) String() string
type GetServersRequest ¶
type GetServersRequest struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetServersRequest) Descriptor
deprecated
func (*GetServersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServersRequest.ProtoReflect.Descriptor instead.
func (*GetServersRequest) GetLimit ¶
func (x *GetServersRequest) GetLimit() int32
func (*GetServersRequest) GetOffset ¶
func (x *GetServersRequest) GetOffset() int32
func (*GetServersRequest) ProtoMessage ¶
func (*GetServersRequest) ProtoMessage()
func (*GetServersRequest) ProtoReflect ¶
func (x *GetServersRequest) ProtoReflect() protoreflect.Message
func (*GetServersRequest) Reset ¶
func (x *GetServersRequest) Reset()
func (*GetServersRequest) String ¶
func (x *GetServersRequest) String() string
type GetServersResponse ¶
type GetServersResponse struct { Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` // contains filtered or unexported fields }
func (*GetServersResponse) Descriptor
deprecated
func (*GetServersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServersResponse.ProtoReflect.Descriptor instead.
func (*GetServersResponse) GetServers ¶
func (x *GetServersResponse) GetServers() []*Server
func (*GetServersResponse) ProtoMessage ¶
func (*GetServersResponse) ProtoMessage()
func (*GetServersResponse) ProtoReflect ¶
func (x *GetServersResponse) ProtoReflect() protoreflect.Message
func (*GetServersResponse) Reset ¶
func (x *GetServersResponse) Reset()
func (*GetServersResponse) String ¶
func (x *GetServersResponse) String() string
type GetTemplateRequest ¶
type GetTemplateRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTemplateRequest) Descriptor
deprecated
func (*GetTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetTemplateRequest) GetId ¶
func (x *GetTemplateRequest) GetId() int64
func (*GetTemplateRequest) ProtoMessage ¶
func (*GetTemplateRequest) ProtoMessage()
func (*GetTemplateRequest) ProtoReflect ¶
func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetTemplateRequest) Reset ¶
func (x *GetTemplateRequest) Reset()
func (*GetTemplateRequest) String ¶
func (x *GetTemplateRequest) String() string
type GetTemplateResponse ¶
type GetTemplateResponse struct { Template *Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*GetTemplateResponse) Descriptor
deprecated
func (*GetTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateResponse.ProtoReflect.Descriptor instead.
func (*GetTemplateResponse) GetTemplate ¶
func (x *GetTemplateResponse) GetTemplate() *Template
func (*GetTemplateResponse) ProtoMessage ¶
func (*GetTemplateResponse) ProtoMessage()
func (*GetTemplateResponse) ProtoReflect ¶
func (x *GetTemplateResponse) ProtoReflect() protoreflect.Message
func (*GetTemplateResponse) Reset ¶
func (x *GetTemplateResponse) Reset()
func (*GetTemplateResponse) String ¶
func (x *GetTemplateResponse) String() string
type GetTemplatesActiveRequest ¶
type GetTemplatesActiveRequest struct {
// contains filtered or unexported fields
}
func (*GetTemplatesActiveRequest) Descriptor
deprecated
func (*GetTemplatesActiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplatesActiveRequest.ProtoReflect.Descriptor instead.
func (*GetTemplatesActiveRequest) ProtoMessage ¶
func (*GetTemplatesActiveRequest) ProtoMessage()
func (*GetTemplatesActiveRequest) ProtoReflect ¶
func (x *GetTemplatesActiveRequest) ProtoReflect() protoreflect.Message
func (*GetTemplatesActiveRequest) Reset ¶
func (x *GetTemplatesActiveRequest) Reset()
func (*GetTemplatesActiveRequest) String ¶
func (x *GetTemplatesActiveRequest) String() string
type GetTemplatesActiveResponse ¶
type GetTemplatesActiveResponse struct { Templates []*Template `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"` // contains filtered or unexported fields }
func (*GetTemplatesActiveResponse) Descriptor
deprecated
func (*GetTemplatesActiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplatesActiveResponse.ProtoReflect.Descriptor instead.
func (*GetTemplatesActiveResponse) GetTemplates ¶
func (x *GetTemplatesActiveResponse) GetTemplates() []*Template
func (*GetTemplatesActiveResponse) ProtoMessage ¶
func (*GetTemplatesActiveResponse) ProtoMessage()
func (*GetTemplatesActiveResponse) ProtoReflect ¶
func (x *GetTemplatesActiveResponse) ProtoReflect() protoreflect.Message
func (*GetTemplatesActiveResponse) Reset ¶
func (x *GetTemplatesActiveResponse) Reset()
func (*GetTemplatesActiveResponse) String ¶
func (x *GetTemplatesActiveResponse) String() string
type GetTemplatesRequest ¶
type GetTemplatesRequest struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetTemplatesRequest) Descriptor
deprecated
func (*GetTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplatesRequest.ProtoReflect.Descriptor instead.
func (*GetTemplatesRequest) GetLimit ¶
func (x *GetTemplatesRequest) GetLimit() int32
func (*GetTemplatesRequest) GetOffset ¶
func (x *GetTemplatesRequest) GetOffset() int32
func (*GetTemplatesRequest) ProtoMessage ¶
func (*GetTemplatesRequest) ProtoMessage()
func (*GetTemplatesRequest) ProtoReflect ¶
func (x *GetTemplatesRequest) ProtoReflect() protoreflect.Message
func (*GetTemplatesRequest) Reset ¶
func (x *GetTemplatesRequest) Reset()
func (*GetTemplatesRequest) String ¶
func (x *GetTemplatesRequest) String() string
type GetTemplatesResponse ¶
type GetTemplatesResponse struct { Templates []*Template `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"` // contains filtered or unexported fields }
func (*GetTemplatesResponse) Descriptor
deprecated
func (*GetTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplatesResponse.ProtoReflect.Descriptor instead.
func (*GetTemplatesResponse) GetTemplates ¶
func (x *GetTemplatesResponse) GetTemplates() []*Template
func (*GetTemplatesResponse) ProtoMessage ¶
func (*GetTemplatesResponse) ProtoMessage()
func (*GetTemplatesResponse) ProtoReflect ¶
func (x *GetTemplatesResponse) ProtoReflect() protoreflect.Message
func (*GetTemplatesResponse) Reset ¶
func (x *GetTemplatesResponse) Reset()
func (*GetTemplatesResponse) String ¶
func (x *GetTemplatesResponse) String() string
type History ¶
type History struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` Cc string `protobuf:"bytes,5,opt,name=cc,proto3" json:"cc,omitempty"` Bcc string `protobuf:"bytes,6,opt,name=bcc,proto3" json:"bcc,omitempty"` Content *structpb.Struct `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*History) Descriptor
deprecated
func (*History) GetContent ¶
func (*History) GetCreatedAt ¶
func (x *History) GetCreatedAt() *timestamppb.Timestamp
func (*History) GetSubject ¶
func (*History) GetUpdatedAt ¶
func (x *History) GetUpdatedAt() *timestamppb.Timestamp
func (*History) ProtoMessage ¶
func (*History) ProtoMessage()
func (*History) ProtoReflect ¶
func (x *History) ProtoReflect() protoreflect.Message
type LoginRequest ¶
type LoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) GetUsername ¶
func (x *LoginRequest) GetUsername() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetAccessToken ¶
func (x *LoginResponse) GetAccessToken() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type LogoutRequest ¶
type LogoutRequest struct {
// contains filtered or unexported fields
}
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) ProtoMessage ¶
func (*LogoutRequest) ProtoMessage()
func (*LogoutRequest) ProtoReflect ¶
func (x *LogoutRequest) ProtoReflect() protoreflect.Message
func (*LogoutRequest) Reset ¶
func (x *LogoutRequest) Reset()
func (*LogoutRequest) String ¶
func (x *LogoutRequest) String() string
type LogoutResponse ¶
type LogoutResponse struct {
// contains filtered or unexported fields
}
func (*LogoutResponse) Descriptor
deprecated
func (*LogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
func (*LogoutResponse) ProtoMessage ¶
func (*LogoutResponse) ProtoMessage()
func (*LogoutResponse) ProtoReflect ¶
func (x *LogoutResponse) ProtoReflect() protoreflect.Message
func (*LogoutResponse) Reset ¶
func (x *LogoutResponse) Reset()
func (*LogoutResponse) String ¶
func (x *LogoutResponse) String() string
type MailServiceClient ¶
type MailServiceClient interface { SignIn(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error) CreateServer(ctx context.Context, in *CreateServerRequest, opts ...grpc.CallOption) (*CreateServerResponse, error) DuplicateServer(ctx context.Context, in *DuplicateServerRequest, opts ...grpc.CallOption) (*DuplicateServerResponse, error) UpdateServer(ctx context.Context, in *UpdateServerRequest, opts ...grpc.CallOption) (*UpdateServerResponse, error) GetServer(ctx context.Context, in *GetServerRequest, opts ...grpc.CallOption) (*GetServerResponse, error) GetServers(ctx context.Context, in *GetServersRequest, opts ...grpc.CallOption) (*GetServersResponse, error) DeleteServer(ctx context.Context, in *DeleteServerRequest, opts ...grpc.CallOption) (*DeleteServerResponse, error) CreateTemplate(ctx context.Context, in *CreateTemplateRequest, opts ...grpc.CallOption) (*CreateTemplateResponse, error) DuplicateTemplate(ctx context.Context, in *DuplicateTemplateRequest, opts ...grpc.CallOption) (*DuplicateTemplateResponse, error) UpdateTemplate(ctx context.Context, in *UpdateTemplateRequest, opts ...grpc.CallOption) (*UpdateTemplateResponse, error) GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...grpc.CallOption) (*GetTemplateResponse, error) GetTemplates(ctx context.Context, in *GetTemplatesRequest, opts ...grpc.CallOption) (*GetTemplatesResponse, error) GetTemplatesActive(ctx context.Context, in *GetTemplatesActiveRequest, opts ...grpc.CallOption) (*GetTemplatesActiveResponse, error) DeleteTemplate(ctx context.Context, in *DeleteTemplateRequest, opts ...grpc.CallOption) (*DeleteTemplateResponse, error) CreateClient(ctx context.Context, in *CreateClientRequest, opts ...grpc.CallOption) (*CreateClientResponse, error) DuplicateClient(ctx context.Context, in *DuplicateClientRequest, opts ...grpc.CallOption) (*DuplicateClientResponse, error) UpdateClient(ctx context.Context, in *UpdateClientRequest, opts ...grpc.CallOption) (*UpdateClientResponse, error) GetClient(ctx context.Context, in *GetClientRequest, opts ...grpc.CallOption) (*GetClientResponse, error) GetClients(ctx context.Context, in *GetClientsRequest, opts ...grpc.CallOption) (*GetClientsResponse, error) DeleteClient(ctx context.Context, in *DeleteClientRequest, opts ...grpc.CallOption) (*DeleteClientResponse, error) GetHistories(ctx context.Context, in *GetHistoriesRequest, opts ...grpc.CallOption) (*GetHistoriesResponse, error) SendMail(ctx context.Context, in *SendMailRequest, opts ...grpc.CallOption) (*SendMailResponse, error) TestSendMail(ctx context.Context, in *TestSendMailRequest, opts ...grpc.CallOption) (*TestSendMailResponse, error) }
MailServiceClient is the client API for MailService 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 NewMailServiceClient ¶
func NewMailServiceClient(cc grpc.ClientConnInterface) MailServiceClient
type MailServiceServer ¶
type MailServiceServer interface { SignIn(context.Context, *LoginRequest) (*LoginResponse, error) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error) CreateServer(context.Context, *CreateServerRequest) (*CreateServerResponse, error) DuplicateServer(context.Context, *DuplicateServerRequest) (*DuplicateServerResponse, error) UpdateServer(context.Context, *UpdateServerRequest) (*UpdateServerResponse, error) GetServer(context.Context, *GetServerRequest) (*GetServerResponse, error) GetServers(context.Context, *GetServersRequest) (*GetServersResponse, error) DeleteServer(context.Context, *DeleteServerRequest) (*DeleteServerResponse, error) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error) DuplicateTemplate(context.Context, *DuplicateTemplateRequest) (*DuplicateTemplateResponse, error) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error) GetTemplates(context.Context, *GetTemplatesRequest) (*GetTemplatesResponse, error) GetTemplatesActive(context.Context, *GetTemplatesActiveRequest) (*GetTemplatesActiveResponse, error) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error) CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error) DuplicateClient(context.Context, *DuplicateClientRequest) (*DuplicateClientResponse, error) UpdateClient(context.Context, *UpdateClientRequest) (*UpdateClientResponse, error) GetClient(context.Context, *GetClientRequest) (*GetClientResponse, error) GetClients(context.Context, *GetClientsRequest) (*GetClientsResponse, error) DeleteClient(context.Context, *DeleteClientRequest) (*DeleteClientResponse, error) GetHistories(context.Context, *GetHistoriesRequest) (*GetHistoriesResponse, error) SendMail(context.Context, *SendMailRequest) (*SendMailResponse, error) TestSendMail(context.Context, *TestSendMailRequest) (*TestSendMailResponse, error) // contains filtered or unexported methods }
MailServiceServer is the server API for MailService service. All implementations must embed UnimplementedMailServiceServer for forward compatibility
type SendMailRequest ¶
type SendMailRequest struct { To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` Cc string `protobuf:"bytes,3,opt,name=cc,proto3" json:"cc,omitempty"` Bcc string `protobuf:"bytes,4,opt,name=bcc,proto3" json:"bcc,omitempty"` Content *structpb.Struct `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*SendMailRequest) Descriptor
deprecated
func (*SendMailRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMailRequest.ProtoReflect.Descriptor instead.
func (*SendMailRequest) GetBcc ¶
func (x *SendMailRequest) GetBcc() string
func (*SendMailRequest) GetCc ¶
func (x *SendMailRequest) GetCc() string
func (*SendMailRequest) GetContent ¶
func (x *SendMailRequest) GetContent() *structpb.Struct
func (*SendMailRequest) GetSubject ¶
func (x *SendMailRequest) GetSubject() string
func (*SendMailRequest) GetTo ¶
func (x *SendMailRequest) GetTo() string
func (*SendMailRequest) ProtoMessage ¶
func (*SendMailRequest) ProtoMessage()
func (*SendMailRequest) ProtoReflect ¶
func (x *SendMailRequest) ProtoReflect() protoreflect.Message
func (*SendMailRequest) Reset ¶
func (x *SendMailRequest) Reset()
func (*SendMailRequest) String ¶
func (x *SendMailRequest) String() string
type SendMailResponse ¶
type SendMailResponse struct {
// contains filtered or unexported fields
}
func (*SendMailResponse) Descriptor
deprecated
func (*SendMailResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMailResponse.ProtoReflect.Descriptor instead.
func (*SendMailResponse) ProtoMessage ¶
func (*SendMailResponse) ProtoMessage()
func (*SendMailResponse) ProtoReflect ¶
func (x *SendMailResponse) ProtoReflect() protoreflect.Message
func (*SendMailResponse) Reset ¶
func (x *SendMailResponse) Reset()
func (*SendMailResponse) String ¶
func (x *SendMailResponse) String() string
type Server ¶
type Server struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` Port int64 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` AuthProtocol string `protobuf:"bytes,5,opt,name=auth_protocol,json=authProtocol,proto3" json:"auth_protocol,omitempty"` Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"` FromName string `protobuf:"bytes,8,opt,name=from_name,json=fromName,proto3" json:"from_name,omitempty"` FromAddress string `protobuf:"bytes,9,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` TlsType string `protobuf:"bytes,10,opt,name=tls_type,json=tlsType,proto3" json:"tls_type,omitempty"` MaxConnections int64 `protobuf:"varint,11,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"` IdleTimeout int64 `protobuf:"varint,12,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"` Retries int64 `protobuf:"varint,13,opt,name=retries,proto3" json:"retries,omitempty"` WaitTimeout int64 `protobuf:"varint,14,opt,name=wait_timeout,json=waitTimeout,proto3" json:"wait_timeout,omitempty"` IsDefault bool `protobuf:"varint,15,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetAuthProtocol ¶
func (*Server) GetCreatedAt ¶
func (x *Server) GetCreatedAt() *timestamppb.Timestamp
func (*Server) GetFromAddress ¶
func (*Server) GetFromName ¶
func (*Server) GetIdleTimeout ¶
func (*Server) GetIsDefault ¶
func (*Server) GetMaxConnections ¶
func (*Server) GetPassword ¶
func (*Server) GetRetries ¶
func (*Server) GetTlsType ¶
func (*Server) GetUpdatedAt ¶
func (x *Server) GetUpdatedAt() *timestamppb.Timestamp
func (*Server) GetUsername ¶
func (*Server) GetWaitTimeout ¶
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type Template ¶
type Template struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Html string `protobuf:"bytes,4,opt,name=html,proto3" json:"html,omitempty"` IsDefault bool `protobuf:"varint,5,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Template) Descriptor
deprecated
func (*Template) GetCreatedAt ¶
func (x *Template) GetCreatedAt() *timestamppb.Timestamp
func (*Template) GetIsDefault ¶
func (*Template) GetUpdatedAt ¶
func (x *Template) GetUpdatedAt() *timestamppb.Timestamp
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
type TestSendMailRequest ¶
type TestSendMailRequest struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Port int64 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` AuthProtocol string `protobuf:"bytes,3,opt,name=auth_protocol,json=authProtocol,proto3" json:"auth_protocol,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` TlsType string `protobuf:"bytes,6,opt,name=tls_type,json=tlsType,proto3" json:"tls_type,omitempty"` FromName string `protobuf:"bytes,7,opt,name=from_name,json=fromName,proto3" json:"from_name,omitempty"` FromAddress string `protobuf:"bytes,8,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` MaxConnections int64 `protobuf:"varint,9,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"` IdleTimeout int64 `protobuf:"varint,10,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"` Retries int64 `protobuf:"varint,11,opt,name=retries,proto3" json:"retries,omitempty"` WaitTimeout int64 `protobuf:"varint,12,opt,name=wait_timeout,json=waitTimeout,proto3" json:"wait_timeout,omitempty"` To string `protobuf:"bytes,13,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*TestSendMailRequest) Descriptor
deprecated
func (*TestSendMailRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestSendMailRequest.ProtoReflect.Descriptor instead.
func (*TestSendMailRequest) GetAuthProtocol ¶
func (x *TestSendMailRequest) GetAuthProtocol() string
func (*TestSendMailRequest) GetFromAddress ¶
func (x *TestSendMailRequest) GetFromAddress() string
func (*TestSendMailRequest) GetFromName ¶
func (x *TestSendMailRequest) GetFromName() string
func (*TestSendMailRequest) GetHost ¶
func (x *TestSendMailRequest) GetHost() string
func (*TestSendMailRequest) GetIdleTimeout ¶
func (x *TestSendMailRequest) GetIdleTimeout() int64
func (*TestSendMailRequest) GetMaxConnections ¶
func (x *TestSendMailRequest) GetMaxConnections() int64
func (*TestSendMailRequest) GetPassword ¶
func (x *TestSendMailRequest) GetPassword() string
func (*TestSendMailRequest) GetPort ¶
func (x *TestSendMailRequest) GetPort() int64
func (*TestSendMailRequest) GetRetries ¶
func (x *TestSendMailRequest) GetRetries() int64
func (*TestSendMailRequest) GetTlsType ¶
func (x *TestSendMailRequest) GetTlsType() string
func (*TestSendMailRequest) GetTo ¶
func (x *TestSendMailRequest) GetTo() string
func (*TestSendMailRequest) GetUsername ¶
func (x *TestSendMailRequest) GetUsername() string
func (*TestSendMailRequest) GetWaitTimeout ¶
func (x *TestSendMailRequest) GetWaitTimeout() int64
func (*TestSendMailRequest) ProtoMessage ¶
func (*TestSendMailRequest) ProtoMessage()
func (*TestSendMailRequest) ProtoReflect ¶
func (x *TestSendMailRequest) ProtoReflect() protoreflect.Message
func (*TestSendMailRequest) Reset ¶
func (x *TestSendMailRequest) Reset()
func (*TestSendMailRequest) String ¶
func (x *TestSendMailRequest) String() string
type TestSendMailResponse ¶
type TestSendMailResponse struct {
// contains filtered or unexported fields
}
func (*TestSendMailResponse) Descriptor
deprecated
func (*TestSendMailResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestSendMailResponse.ProtoReflect.Descriptor instead.
func (*TestSendMailResponse) ProtoMessage ¶
func (*TestSendMailResponse) ProtoMessage()
func (*TestSendMailResponse) ProtoReflect ¶
func (x *TestSendMailResponse) ProtoReflect() protoreflect.Message
func (*TestSendMailResponse) Reset ¶
func (x *TestSendMailResponse) Reset()
func (*TestSendMailResponse) String ¶
func (x *TestSendMailResponse) String() string
type UnimplementedMailServiceServer ¶
type UnimplementedMailServiceServer struct { }
UnimplementedMailServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMailServiceServer) CreateClient ¶
func (UnimplementedMailServiceServer) CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error)
func (UnimplementedMailServiceServer) CreateServer ¶
func (UnimplementedMailServiceServer) CreateServer(context.Context, *CreateServerRequest) (*CreateServerResponse, error)
func (UnimplementedMailServiceServer) CreateTemplate ¶
func (UnimplementedMailServiceServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)
func (UnimplementedMailServiceServer) DeleteClient ¶
func (UnimplementedMailServiceServer) DeleteClient(context.Context, *DeleteClientRequest) (*DeleteClientResponse, error)
func (UnimplementedMailServiceServer) DeleteServer ¶
func (UnimplementedMailServiceServer) DeleteServer(context.Context, *DeleteServerRequest) (*DeleteServerResponse, error)
func (UnimplementedMailServiceServer) DeleteTemplate ¶
func (UnimplementedMailServiceServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
func (UnimplementedMailServiceServer) DuplicateClient ¶
func (UnimplementedMailServiceServer) DuplicateClient(context.Context, *DuplicateClientRequest) (*DuplicateClientResponse, error)
func (UnimplementedMailServiceServer) DuplicateServer ¶
func (UnimplementedMailServiceServer) DuplicateServer(context.Context, *DuplicateServerRequest) (*DuplicateServerResponse, error)
func (UnimplementedMailServiceServer) DuplicateTemplate ¶
func (UnimplementedMailServiceServer) DuplicateTemplate(context.Context, *DuplicateTemplateRequest) (*DuplicateTemplateResponse, error)
func (UnimplementedMailServiceServer) GetClient ¶
func (UnimplementedMailServiceServer) GetClient(context.Context, *GetClientRequest) (*GetClientResponse, error)
func (UnimplementedMailServiceServer) GetClients ¶
func (UnimplementedMailServiceServer) GetClients(context.Context, *GetClientsRequest) (*GetClientsResponse, error)
func (UnimplementedMailServiceServer) GetHistories ¶
func (UnimplementedMailServiceServer) GetHistories(context.Context, *GetHistoriesRequest) (*GetHistoriesResponse, error)
func (UnimplementedMailServiceServer) GetServer ¶
func (UnimplementedMailServiceServer) GetServer(context.Context, *GetServerRequest) (*GetServerResponse, error)
func (UnimplementedMailServiceServer) GetServers ¶
func (UnimplementedMailServiceServer) GetServers(context.Context, *GetServersRequest) (*GetServersResponse, error)
func (UnimplementedMailServiceServer) GetTemplate ¶
func (UnimplementedMailServiceServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error)
func (UnimplementedMailServiceServer) GetTemplates ¶
func (UnimplementedMailServiceServer) GetTemplates(context.Context, *GetTemplatesRequest) (*GetTemplatesResponse, error)
func (UnimplementedMailServiceServer) GetTemplatesActive ¶
func (UnimplementedMailServiceServer) GetTemplatesActive(context.Context, *GetTemplatesActiveRequest) (*GetTemplatesActiveResponse, error)
func (UnimplementedMailServiceServer) Logout ¶
func (UnimplementedMailServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
func (UnimplementedMailServiceServer) SendMail ¶
func (UnimplementedMailServiceServer) SendMail(context.Context, *SendMailRequest) (*SendMailResponse, error)
func (UnimplementedMailServiceServer) SignIn ¶
func (UnimplementedMailServiceServer) SignIn(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedMailServiceServer) TestSendMail ¶
func (UnimplementedMailServiceServer) TestSendMail(context.Context, *TestSendMailRequest) (*TestSendMailResponse, error)
func (UnimplementedMailServiceServer) UpdateClient ¶
func (UnimplementedMailServiceServer) UpdateClient(context.Context, *UpdateClientRequest) (*UpdateClientResponse, error)
func (UnimplementedMailServiceServer) UpdateServer ¶
func (UnimplementedMailServiceServer) UpdateServer(context.Context, *UpdateServerRequest) (*UpdateServerResponse, error)
func (UnimplementedMailServiceServer) UpdateTemplate ¶
func (UnimplementedMailServiceServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
type UnsafeMailServiceServer ¶
type UnsafeMailServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMailServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MailServiceServer will result in compilation errors.
type UpdateClientRequest ¶
type UpdateClientRequest struct { Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*UpdateClientRequest) Descriptor
deprecated
func (*UpdateClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClientRequest.ProtoReflect.Descriptor instead.
func (*UpdateClientRequest) GetClient ¶
func (x *UpdateClientRequest) GetClient() *Client
func (*UpdateClientRequest) ProtoMessage ¶
func (*UpdateClientRequest) ProtoMessage()
func (*UpdateClientRequest) ProtoReflect ¶
func (x *UpdateClientRequest) ProtoReflect() protoreflect.Message
func (*UpdateClientRequest) Reset ¶
func (x *UpdateClientRequest) Reset()
func (*UpdateClientRequest) String ¶
func (x *UpdateClientRequest) String() string
type UpdateClientResponse ¶
type UpdateClientResponse struct { Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*UpdateClientResponse) Descriptor
deprecated
func (*UpdateClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClientResponse.ProtoReflect.Descriptor instead.
func (*UpdateClientResponse) GetClient ¶
func (x *UpdateClientResponse) GetClient() *Client
func (*UpdateClientResponse) ProtoMessage ¶
func (*UpdateClientResponse) ProtoMessage()
func (*UpdateClientResponse) ProtoReflect ¶
func (x *UpdateClientResponse) ProtoReflect() protoreflect.Message
func (*UpdateClientResponse) Reset ¶
func (x *UpdateClientResponse) Reset()
func (*UpdateClientResponse) String ¶
func (x *UpdateClientResponse) String() string
type UpdateServerRequest ¶
type UpdateServerRequest struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
func (*UpdateServerRequest) Descriptor
deprecated
func (*UpdateServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServerRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerRequest) GetServer ¶
func (x *UpdateServerRequest) GetServer() *Server
func (*UpdateServerRequest) ProtoMessage ¶
func (*UpdateServerRequest) ProtoMessage()
func (*UpdateServerRequest) ProtoReflect ¶
func (x *UpdateServerRequest) ProtoReflect() protoreflect.Message
func (*UpdateServerRequest) Reset ¶
func (x *UpdateServerRequest) Reset()
func (*UpdateServerRequest) String ¶
func (x *UpdateServerRequest) String() string
type UpdateServerResponse ¶
type UpdateServerResponse struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
func (*UpdateServerResponse) Descriptor
deprecated
func (*UpdateServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServerResponse.ProtoReflect.Descriptor instead.
func (*UpdateServerResponse) GetServer ¶
func (x *UpdateServerResponse) GetServer() *Server
func (*UpdateServerResponse) ProtoMessage ¶
func (*UpdateServerResponse) ProtoMessage()
func (*UpdateServerResponse) ProtoReflect ¶
func (x *UpdateServerResponse) ProtoReflect() protoreflect.Message
func (*UpdateServerResponse) Reset ¶
func (x *UpdateServerResponse) Reset()
func (*UpdateServerResponse) String ¶
func (x *UpdateServerResponse) String() string
type UpdateTemplateRequest ¶
type UpdateTemplateRequest struct { Template *Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*UpdateTemplateRequest) Descriptor
deprecated
func (*UpdateTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateTemplateRequest) GetTemplate ¶
func (x *UpdateTemplateRequest) GetTemplate() *Template
func (*UpdateTemplateRequest) ProtoMessage ¶
func (*UpdateTemplateRequest) ProtoMessage()
func (*UpdateTemplateRequest) ProtoReflect ¶
func (x *UpdateTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateTemplateRequest) Reset ¶
func (x *UpdateTemplateRequest) Reset()
func (*UpdateTemplateRequest) String ¶
func (x *UpdateTemplateRequest) String() string
type UpdateTemplateResponse ¶
type UpdateTemplateResponse struct { Template *Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*UpdateTemplateResponse) Descriptor
deprecated
func (*UpdateTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTemplateResponse.ProtoReflect.Descriptor instead.
func (*UpdateTemplateResponse) GetTemplate ¶
func (x *UpdateTemplateResponse) GetTemplate() *Template
func (*UpdateTemplateResponse) ProtoMessage ¶
func (*UpdateTemplateResponse) ProtoMessage()
func (*UpdateTemplateResponse) ProtoReflect ¶
func (x *UpdateTemplateResponse) ProtoReflect() protoreflect.Message
func (*UpdateTemplateResponse) Reset ¶
func (x *UpdateTemplateResponse) Reset()
func (*UpdateTemplateResponse) String ¶
func (x *UpdateTemplateResponse) String() string