Movatterモバイル変換


[0]ホーム

URL:


transport

package
v0.257.0Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License:BSD-3-ClauseImports:2Imported by:184

Details

Repository

github.com/googleapis/google-api-go-client

Links

Documentation

Overview

Package transport contains HTTP transports used to makeauthenticated API requests.

This package is DEPRECATED. Users should instead use,

service, err := NewService(..., option.WithAPIKey(...))

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeAPIKeydeprecated

type APIKey struct {// Key is the API Key to set on requests.Keystring// Transport is the underlying HTTP transport.// If nil, http.DefaultTransport is used.Transporthttp.RoundTripper}

APIKey is an HTTP Transport which wraps an underlying transport andappends an API Key "key" parameter to the URL of outgoing requests.

Deprecated: please use NewService(..., option.WithAPIKey(...)) instead.

func (*APIKey)RoundTrip

func (t *APIKey) RoundTrip(req *http.Request) (*http.Response,error)

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp