server

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EndpointsHeader is the metadata header used to obtain user information.
	// https://cloud.google.com/endpoints/docs/openapi/authenticating-users-custom#receiving_authenticated_results_in_your_api
	EndpointsHeader = "x-endpoint-api-userinfo"
)

Variables

This section is empty.

Functions

func Main

func Main()

Main is the actual main body function. It registers flags, parses them, and kicks off a gRPC service to host

func New

func New(legacyPinpointBaseURL string, client *http.Client) *pinpointServer

New returns a pinpointServer configured to contact the legacy API with the provided base URL and HTTP client.

Types

This section is empty.

Directories

Path Synopsis
Package convert contains code to convert from the Legacy JSON API to the new Proto API, and vice-versa.
Package convert contains code to convert from the Legacy JSON API to the new Proto API, and vice-versa.

Jump to

Keyboard shortcuts

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