Documentation ¶
Index ¶
- func CacheConfiguration() (err error)
- func DiscoveryDisable() bool
- func DiscoveryHidden() bool
- func InitTLSForPeer() credentials.TransportCredentials
- func MaxMessageSize() int
- func NewClientConnectionWithAddress(peerAddress string, block bool, tslEnabled bool, ...) (*grpc.ClientConn, error)
- func TLSEnabled() bool
- func TLSEnabledForLocalSrv() bool
- func TLSEnabledforService() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheConfiguration ¶
func CacheConfiguration() (err error)
CacheConfiguration computes and caches commonly-used constants and computed constants as package variables. Routines which were previously
func DiscoveryDisable ¶
func DiscoveryDisable() bool
func InitTLSForPeer ¶
func InitTLSForPeer() credentials.TransportCredentials
InitTLSForPeer returns TLS credentials for peer
func MaxMessageSize ¶
func MaxMessageSize() int
func NewClientConnectionWithAddress ¶
func NewClientConnectionWithAddress(peerAddress string, block bool, tslEnabled bool, creds credentials.TransportCredentials) (*grpc.ClientConn, error)
NewClientConnectionWithAddress Returns a new grpc.ClientConn to the given address.
func TLSEnabled ¶
func TLSEnabled() bool
TLSEnabled return cached value for "peer.tls.enabled" configuration value
func TLSEnabledForLocalSrv ¶
func TLSEnabledForLocalSrv() bool
func TLSEnabledforService ¶
func TLSEnabledforService() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.