Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventSink ¶
type EventSink interface { PostLatestVersionCheck(ctx context.Context, userAgent string) PostFileDownload(ctx context.Context, userAgent string, version string, fileName string) }
Why do these methods not return errors? They are intended to be fire-and-forget, best-effort methods that should not cause a user-facing error if they fail.
func NewCloudStorageEventSink ¶
func NewCloudStorageEventSink(bucketName string, client *cloudstorage.Client) EventSink
Click to show internal directories.
Click to hide internal directories.