Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
func NewAPITLSClient ¶
func (APIClient) SendMetrics ¶
func (a APIClient) SendMetrics(ctx context.Context, username, password string, measurements sensor.Measurment) HttpResponseError
type HttpResponseError ¶
type MailSender ¶
type MailSenderClient ¶
type MailSenderClient struct {
// contains filtered or unexported fields
}
func NewMailSenderTLSClient ¶
func NewMailSenderTLSClient(baseUrl, rootCAPemFilePath string) *MailSenderClient
func (*MailSenderClient) Send ¶
func (m *MailSenderClient) Send(ctx context.Context, sender MailSender) error
func (*MailSenderClient) SendWithAttachments ¶
func (m *MailSenderClient) SendWithAttachments(ctx context.Context, sender MailSender, attachments []string) error
SendWithAttachments sends a mail with attachments to a concrete user.
Click to show internal directories.
Click to hide internal directories.