exporter

package
v0.0.0-...-6ba9a89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FormatCombined = Format("combined")
	FormatDirect   = Format("direct")
	FormatPBX      = Format("pbx")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cisco

type Cisco struct{}

func (*Cisco) Export

func (c *Cisco) Export(entries []*data.Entry, format Format, activePfx string, resolve, indicateActive, filterInactive bool) ([]byte, error)

type CiscoPhonebook

type CiscoPhonebook struct {
	Title  string `xml:"Title"`
	Prompt string `xml:"Prompt"`
}

type Exporter

type Exporter interface {
	Export([]*data.Entry, Format, string, bool, bool, bool) ([]byte, error)
}

type Format

type Format string

type Generic

type Generic struct{}

func (*Generic) Export

func (g *Generic) Export(entries []*data.Entry, format Format, activePfx string, resolve, indicateActive, filterInactive bool) ([]byte, error)

type Snom

type Snom struct{}

func (*Snom) Export

func (s *Snom) Export(entries []*data.Entry, format Format, activePfx string, resolve, indicateActive, filterInactive bool) ([]byte, error)
type Yealink struct{}

func (*Yealink) Export

func (y *Yealink) Export(entries []*data.Entry, format Format, activePfx string, resolve, indicateActive, filterInactive bool) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL