azcosmosdb

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Endpoint          string `json:"endpoint"`
	PrimaryAccountKey string `json:"primary_account_key"`
	Database          string `json:"database"`
	Container         string `json:"container"`
	PartitionKey      string `json:"partition_key"`
}

type Producer

type Producer struct {
	// contains filtered or unexported fields
}

func (*Producer) Close

func (p *Producer) Close() error

func (*Producer) Initialize

func (p *Producer) Initialize(configFile string)

func (*Producer) Produce

func (p *Producer) Produce(_ []byte, v []byte, _ any)

Jump to

Keyboard shortcuts

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