auth

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate struct {
	CAFile     string
	CertFile   string
	KeyFile    string
	ServerName string
}

func (Certificate) GetTLSConfigForServer

func (c Certificate) GetTLSConfigForServer() (*tls.Config, error)

func (Certificate) GetTransportCredsForClient

func (c Certificate) GetTransportCredsForClient() (credentials.TransportCredentials, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL