insecure

package
v1.60.0-dev Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 11,141

Documentation

Overview

Package insecure provides an implementation of the credentials.TransportCredentials interface which disables transport security.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBundle added in v1.45.0

func NewBundle() credentials.Bundle

NewBundle returns a bundle with disabled transport security and no per rpc credential.

func NewCredentials

func NewCredentials() credentials.TransportCredentials

NewCredentials returns a credentials which disables transport security.

Note that using this credentials with per-RPC credentials which require transport security is incompatible and will cause grpc.Dial() to fail.

Types

This section is empty.

Jump to

Keyboard shortcuts

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