Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

insecure

v1.85.0
google.golang.org/grpc/credentials/insecure

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

3 matches

Top ↑

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

Functions

NewBundle

func NewBundle() credentials.Bundle

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

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 RPCs to fail.

Dependency graph