common

package
v0.0.0-...-c36c937 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package common includes any common utility functions that are used from multiple other packages in the project.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppID

func GetAppID(ctx context.Context) (string, error)

GetAppID returns the App ID for this service, or an error if we fail to get it. It should only ever fail if the context isn't configured properly.

func SetAppIDForTest

func SetAppIDForTest(c context.Context, appID string) context.Context

SetAppIDForTest installs a test Signer implementation into the context, with the given app ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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