Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultFileHelper ¶
type DefaultFileHelper struct{}
DefaultFileHelper using real filesystem
func (DefaultFileHelper) Exists ¶
func (fh DefaultFileHelper) Exists(path string) bool
Exists checks if file at path exists
type DefaultTemplateLoader ¶
type DefaultTemplateLoader struct{}
type FileHelper ¶
FileHelper interface to provide utility-funcations for common file-operations
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator capsulates generation-functionality with its dependencies
type IPDetector ¶
IPDetector interface to detect local outbound-ip-address
type TemplateLoader ¶
TemplateLoader interface to provide data from file at path as dictionary
type UplinkIPDetector ¶
type UplinkIPDetector struct{}
func (UplinkIPDetector) Detect ¶
func (ipd UplinkIPDetector) Detect() net.IP
Detect detects local-outbound ip-address
Click to show internal directories.
Click to hide internal directories.