examples

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMinioClient

func CreateMinioClient() *minio.Client

func GenerateBatchInput

func GenerateBatchInput(numRecords int, emailTemplate EmailTemplate) []jobs.BatchInput_t

GenerateBatchInput generates a slice of InsertIntoBatchRowsParams for batch processing. numRecords specifies the number of records to generate. emailTemplate is the base template for generating the email records.

Types

type EmailInput

type EmailInput struct {
	RecipientEmail string `json:"recipientEmail"`
	Subject        string `json:"subject"`
	Body           string `json:"body"`
}

type EmailTemplate

type EmailTemplate struct {
	RecipientEmail string
	Subject        string
	Body           string
}

EmailTemplate defines the structure for the base email template.

Jump to

Keyboard shortcuts

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