Documentation ¶
Index ¶
- func NewFile(host string, port int, cred credentials.TransportCredentials, ...) (pb.FileClient, func() error, error)
- func NewSystem(host string, port int, cred credentials.TransportCredentials, ...) (pb.SystemClient, func() error, error)
- func WithTLS(hostname string, caCert string, clientKey, clientCert string) (credentials.TransportCredentials, error)
- func WithoutTLS() (credentials.TransportCredentials, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFile ¶
func NewFile(host string, port int, cred credentials.TransportCredentials, timeout time.Duration) (pb.FileClient, func() error, error)
func NewSystem ¶
func NewSystem(host string, port int, cred credentials.TransportCredentials, timeout time.Duration) (pb.SystemClient, func() error, error)
func WithTLS ¶
func WithTLS(hostname string, caCert string, clientKey, clientCert string) (credentials.TransportCredentials, error)
func WithoutTLS ¶
func WithoutTLS() (credentials.TransportCredentials, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.