package
1.72.0-dev
Repository: https://github.com/grpc/grpc-go.git
Documentation: pkg.go.dev

# Packages

Package pemfile provides a file watching certificate provider plugin implementation which works for files with PEM contents.

# Functions

GetProvider is a convenience function to create a provider given the name, config and build options.
NewBuildableConfig creates a new BuildableConfig with the given arguments.
NewDistributor returns a new Distributor.
ParseConfig is a convenience function to create a BuildableConfig given a provider name and configuration.
Register registers the Provider builder, whose name as returned by its Name() method will be used as the name registered with this builder.

# Structs

BuildableConfig wraps parsed provider configuration and functionality to instantiate provider instances.
BuildOptions contains parameters passed to a Provider at build time.
Distributor makes it easy for provider implementations to furnish new key materials by handling synchronization between the producer and consumers of the key material.
KeyMaterial wraps the certificates and keys returned by a Provider instance.

# Interfaces

Builder creates a Provider.
Provider makes it possible to keep channel credential implementations up to date with secrets that they rely on to secure communications on the underlying channel.