rpcclient

package
v3.11.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Overview

Package rpcclient contains the default options for TTN gRPC clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDialOptions

func DefaultDialOptions(ctx context.Context) []grpc.DialOption

DefaultDialOptions for gRPC clients

func OAuth2 added in v3.10.6

func OAuth2(ctx context.Context, tokenURL, clientID, clientSecret string, scopes []string, insecure bool) credentials.PerRPCCredentials

OAuth2 returns per RPC client credentials using the OAuth Client Credentials flow. The token is being refreshed as-needed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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