go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/vttls Index | Files

package vttls

import "gopkg.in/src-d/go-vitess.v1/vt/vttls"


Package Files


func ClientConfig Uses

func ClientConfig(cert, key, ca, name string) (*tls.Config, error)

ClientConfig returns the TLS config to use for a client to connect to a server with the provided parameters.

func ServerConfig Uses

func ServerConfig(cert, key, ca string) (*tls.Config, error)

ServerConfig returns the TLS config to use for a server to accept client connections.

Package vttls imports 4 packages (graph) and is imported by 12 packages. Updated 2019-06-13. Refresh now. Tools for package owners.