Files
mps/cert/container.go
telanflow 1b6a370f99 init
2020-08-09 02:38:46 +08:00

14 lines
256 B
Go

package cert
import "crypto/tls"
// certificate storage Container
type Container interface {
// Get the certificate for host
Get(host string) (*tls.Certificate, error)
// Set the certificate for host
Set(host string, cert *tls.Certificate) error
}