gcp

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

README

gcp

Package setting up communication with our most used Google Services. Allows for easier integration with Google Services.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Services

type Services struct {
	Logging        *logging.Client
	ErrorReporting *errorreporting.Client
}

Services contains all Google Cloud Services that we use

func DiscoverServices

func DiscoverServices(project, serviceName string) (*Services, error)

DiscoverServices builds clients for all Services that we use.

func (*Services) Close

func (s *Services) Close()

Close closes all Clients that were created. Does **not** handle errors in close since there usually is not much that can be done on Close failure anyway.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳