examples

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EndPoint                      = "googleads.googleapis.com:443"
	ListAccessibleCustomersMehtod = "GET"
	ListAccessibleCustomersPath   = "https://googleads.googleapis.com/v11/customers:listAccessibleCustomers"
	GoogleAdsSearchMehtod         = "POST"
	GoogleAdsSearchPath           = "https://googleads.googleapis.com/v11/customers/%s/googleAds:search"
)

Variables

This section is empty.

Functions

func GetGRPCConnection added in v1.2.0

func GetGRPCConnection() *grpc.ClientConn

func HttpRequest added in v1.2.0

func HttpRequest(body []byte, method string, url string, opts ...HeaderOption) []byte

func SetContext added in v1.2.0

func SetContext(ctx context.Context, opts ...ContextOption) context.Context

Types

type ContextOption added in v1.2.0

type ContextOption func(*context.Context)

func WithContext added in v1.2.0

func WithContext(k string, v string) ContextOption

type HeaderOption added in v1.2.0

type HeaderOption func(header *http.Header)

func WithHeader added in v1.2.0

func WithHeader(k string, v string) HeaderOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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