You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: output_queue_storage.go
    path of file: ./repos/benthos/internal/impl/azure
    
    the code of the file until where you have to start completion: package azure

import (
	"context"
	"fmt"
	"net/http"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore"
	"github.com/Azure/azure-sdk-for-go/sdk/storage/azqueue"

	"github.com/benthosdev/benthos/v4/internal/component/output"
	"github.com/benthosdev/benthos/v4/public/service"
)

const (
	// Queue Storage Output Fields
	qsoFieldQueueName = "queue_name"
	qsoFieldTTL       = "ttl"
	qsoFieldBatching  = "batching"
)

type qsoConfig struct {
	client    *azqueue.ServiceClient
	QueueName *service.InterpolatedString
	TTL       *service.InterpolatedString
}

func qsoCo
    
func init() {
	err := service.RegisterBatchOutput("azure_queue_storage", qsoSpec(),
		func(conf *service.ParsedConfig, mgr *service.Resources) (out service.BatchOutput, batcher service.BatchPolicy, mif int, err error) {
			var pConf qsoConfig
			if pConf, err = qsoConfigFromParsed(conf); err != nil {
				return
			}
			if batcher, err = conf.FieldBatchPolicy(qsoFieldBatching); err != nil {
				return
			}
			if mif, err = conf.FieldMaxInFlight(); err != nil {
				return
			}
			if out, err = newAzureQueueStorageWriter(pConf, mgr.Logger()); err != nil {
				return
			}
			return
		})
	if err != nil {
		panic(err)
	}
}