package insecure

import "google.golang.org/grpc/credentials/insecure"

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

Index

Functions

func NewBundle

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.

Source Files

insecure.go

Version
v1.70.0 (latest)
Published
Jan 23, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
17 hours ago

Tools for package owners.