Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultFileTemplate = `` /* 210-byte string literal not displayed */
DefaultFileTemplate is the default file exporter template, suitable for use by the kamailio dispatchers module as a flat file.
Functions ¶
This section is empty.
Types ¶
type FileExporter ¶
type FileExporter struct {
// contains filtered or unexported fields
}
FileExporter is a dispatchers.Exporter which exports formatted dispatcher set data to a file.
func NewFileExporter ¶
func NewFileExporter(filename string, tmpl string) (*FileExporter, error)
NewFileExporter creates a new dispatchers.Exporter which writes the dispatcher sets to a file. tmpl is optional and if it is set to the empty string, the DefaultFileTemplate will be used, which is compatible with kamailio's dispatchers module as a flat file source.
Click to show internal directories.
Click to hide internal directories.