google

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GoogleErrorReportingConfig platform.PlatformOpts = platform.PlatformOpts{ID: "platform.google.errorreporting", Type: platform.ProviderTypeErrorReporter, Impl: NewErrorReporter}
	GoogleCloudTaskConfig      platform.PlatformOpts = platform.PlatformOpts{ID: "platform.google.task", Type: platform.ProviderTypeTask, Impl: NewCloudTaskProvider}

	AppEngineContextConfig platform.PlatformOpts = platform.PlatformOpts{ID: "platform.google.context", Type: platform.ProviderTypeHttpContext, Impl: NewAppEngineContextProvider}
)

Functions

func NewAppEngineContextProvider

func NewAppEngineContextProvider(ID string) interface{}

func NewCloudTaskProvider added in v0.9.3

func NewCloudTaskProvider(ID string) interface{}

func NewErrorReporter

func NewErrorReporter(ID string) interface{}

Types

type CloudTasks added in v0.9.3

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

func (*CloudTasks) CreateHttpTask added in v0.9.3

func (t *CloudTasks) CreateHttpTask(ctx context.Context, task tasks.HttpTask) error

type ErrorReporter

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

func (*ErrorReporter) ReportError

func (er *ErrorReporter) ReportError(e error)

type GAE

type GAE struct {
}

func (*GAE) NewHttpContext

func (c *GAE) NewHttpContext(req *http.Request) context.Context

Jump to

Keyboard shortcuts

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