Documentation ¶ Index ¶ Variables func NewClientConfig(store Store) (*tls.Config, error) func NewServerConfig(store Store) (*tls.Config, error) type Dir func (d Dir) ReadFile(name string) ([]byte, error) type Store Constants ¶ This section is empty. Variables ¶ View Source var EmbedStore embed.FS Functions ¶ func NewClientConfig ¶ func NewClientConfig(store Store) (*tls.Config, error) func NewServerConfig ¶ func NewServerConfig(store Store) (*tls.Config, error) Types ¶ type Dir ¶ type Dir string func (Dir) ReadFile ¶ func (d Dir) ReadFile(name string) ([]byte, error) type Store ¶ type Store interface { ReadFile(string) ([]byte, error) } Source Files ¶ View all Source files cert.go embed.go Click to show internal directories. Click to hide internal directories.