client

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientFactory

type ClientFactory interface {
	Create(ctx context.Context, projectID string, opts ...option.ClientOption) (*pubsub.Client, error)
}

type DefaultClientFactory

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

func NewDefaultClientFactory

func NewDefaultClientFactory(config *config.Config, logger *log.Logger) *DefaultClientFactory

func (*DefaultClientFactory) Create

func (f *DefaultClientFactory) Create(ctx context.Context, projectID string, opts ...option.ClientOption) (*pubsub.Client, error)

Jump to

Keyboard shortcuts

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