credentials

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Build(secure bool, certPath string) (credentials.TransportCredentials, error)
}

type CredentialBuilder

type CredentialBuilder struct{}

func (*CredentialBuilder) Build

func (cb *CredentialBuilder) Build(secure bool, certPath string) (credentials.TransportCredentials, error)

Build is a helper to build grpc credentials.TransportCredentials based on source and cert path

Directories

Path Synopsis
Package credendialsmock is a generated GoMock package.
Package credendialsmock is a generated GoMock package.

Jump to

Keyboard shortcuts

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