observer

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	ErrorClient *errorreporting.Client
	LogClient   *logging.Client
}

Client holds all clients needed to access basic Google Cloud services

func NewClient

func NewClient(ctx context.Context, projectID, serviceName string) (*Client, error)

NewClient creates a new client

func (*Client) Close

func (c *Client) Close()

Close closes all clients to the Google Cloud services

func (*Client) ReportError added in v1.2.0

func (c *Client) ReportError(err error)

ReportError reports an error, what else?

Jump to

Keyboard shortcuts

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