insecure

package
v1.99.7 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

Experimental

Notice: This package is EXPERIMENTAL and may be changed or removed in a later release.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCredentials

func NewCredentials() credentials.TransportCredentials

NewCredentials returns a credentials which disables transport security.

Types

type Info

type Info struct {
	credentials.CommonAuthInfo
}

Info contains the auth information for an insecure connection. It implements the AuthInfo interface.

func (Info) AuthType

func (Info) AuthType() string

AuthType returns the type of Info as a string.

Jump to

Keyboard shortcuts

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