Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileStorage ¶
type FileStorage struct {
Path string
}
func NewFileStorage ¶
func NewFileStorage(path string) *FileStorage
func (*FileStorage) Reader ¶
func (this *FileStorage) Reader() (io.ReadCloser, error)
type PairStorage ¶
type PairStorage struct {
Cert, Key Storage
}
func NewSafeFilePairStorage ¶
func NewSafeFilePairStorage(certPath, keyPath string, mode ...os.FileMode) *PairStorage
type Storage ¶
type Storage interface {
Reader() (r io.ReadCloser, err error)
}
Click to show internal directories.
Click to hide internal directories.