emaillogep

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailLogSvc

type EmailLogSvc interface {
	ListEmailLogs(ctx context.Context, req *ListEmailLogsRequest) (*apiresource.List[apiresource.EmailLog], *apierror.APIError)
	GetEmailLog(ctx context.Context, req *RetrieveEmailLogRequest) (*apiresource.EmailLog, *apierror.APIError)
}

func NewEmailLogSvc

func NewEmailLogSvc(config *EmailLogSvcConfig) EmailLogSvc

type EmailLogSvcConfig

type EmailLogSvcConfig struct {
	// CoreClient (required) is the core-service gRPC client.
	CoreClient pb.CoreServiceClient
}

type ListEmailLogsEndpoint

type ListEmailLogsEndpoint struct{}

Returns a paginated list of email logs for the current account, most recently created first.

The `q` search term matches the subject line or any recipient address.

type ListEmailLogsRequest

type ListEmailLogsRequest struct {
	apiresource.PaginationRequest
}

Request to list email logs.

type RetrieveEmailLogEndpoint

type RetrieveEmailLogEndpoint struct{}

Returns an email log by ID.

func (*RetrieveEmailLogEndpoint) Materialize

type RetrieveEmailLogRequest

type RetrieveEmailLogRequest struct {
	// Email log ID.
	EmailLogID string `path:"id" validate:"required"`
}

Request to retrieve an email log.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL