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
Click to show internal directories.
Click to hide internal directories.