local

package
v0.0.0-...-7b1f18c Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package local implements local transport credentials. Local credentials reports the security level based on the type of connetion. If the connection is local TCP, NoSecurity will be reported, and if the connection is UDS, PrivacyAndIntegrity will be reported. If local credentials is not used in local connections (local TCP or UDS), it will fail.

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 local credential implementing credentials.TransportCredentials.

Types

This section is empty.

Jump to

Keyboard shortcuts

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