Documentation ¶
Overview ¶
Package easytls and the rest of this library is intended to provide a simple interface for creating simple HTTP(S) Client/Server applications.
This package provides a mechanism for preparing the tls.Config object of an http.Client or http.Server with common levels of enablement. The TLSBundle object intends to simplify preparing and understanding what components are necessary in a standard TLS setup, instead of needing to understand the full settings of the tls.Config struct.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTLSConfig ¶
NewTLSConfig will convert the TLSBundle, containing the filenames of the relevant certificates and Authorization policy, into a workable tls.Config object, ready to be used by either a SimpleClient or SimpleServer application.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package client implements a minor extension of the default http.Client.
|
Package client implements a minor extension of the default http.Client. |
examples
|
|
example-client-plugin
This module represents a ...
|
This module represents a ... |
example-server-framework
This package implements a minimalist example of a Server-Side Framework, using the EasyTLS library.
|
This package implements a minimalist example of a Server-Side Framework, using the EasyTLS library. |
example-server-plugin
This command represents a...
|
This command represents a... |
Package proxy implements the extensions to a SimpleServer necessary to implement a full HTTP(S) Reverse Proxy.
|
Package proxy implements the extensions to a SimpleServer necessary to implement a full HTTP(S) Reverse Proxy. |
rule-editor
Command rule-editor implements a basic command-line utility for managing an EasyTLS Proxy Rules file.
|
Command rule-editor implements a basic command-line utility for managing an EasyTLS Proxy Rules file. |
Package server implements a minor extension of the standard http.Server struct.
|
Package server implements a minor extension of the standard http.Server struct. |