certificate

package
v11.9.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator interface {
	Generate(host string) (tls.Certificate, []byte, error)
}

type MockGenerator

type MockGenerator struct {
	mock.Mock
}

MockGenerator is an autogenerated mock type for the Generator type

func (*MockGenerator) Generate

func (_m *MockGenerator) Generate(host string) (tls.Certificate, []byte, error)

Generate provides a mock function with given fields: host

type X509Generator

type X509Generator struct{}

func (X509Generator) Generate

func (c X509Generator) Generate(host string) (tls.Certificate, []byte, error)

Jump to

Keyboard shortcuts

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