Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bridge ¶
type Bridge struct { Endpoints []string `json:"endpoints"` CACert string `json:"ca_cert"` ClientCert string `json:"client_cert"` ClientKey string `json:"client_key"` Listener net.Listener `json:"-"` // contains filtered or unexported fields }
func NewBridge ¶
NewBridge generates all that is needed to serve a bridge. It generates crypto material (ca cert+key and client cert+key), creates the listener, lists the available IPs.
func NewCachedBridge ¶
func NewFromDefaultConfig ¶
func NewFromString ¶
func (*Bridge) ClientTLSConfig ¶
Click to show internal directories.
Click to hide internal directories.