metroclient

package
v0.0.0-...-e2755d2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetroClient

func NewMetroClient(endpoint string, isTLSEnabled bool, projectID string, credentials Credentials) (*pubsub.Client, error)

NewMetroClient - returns an initialized metro's per topic publisher client

Types

type Credentials

type Credentials struct {
	Username string
	Password string
}

Credentials - Holds username and password of metro client

Jump to

Keyboard shortcuts

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