fsconf

package
v0.0.0-...-f6c93a4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CONFIGURATION = `
<document type="freeswitch/xml" encoding="UTF-8">
  <section name="configuration">
    %s
  </section>
</document>`
View Source
const DIALPLAN_APP_PARK = `` /* 537-byte string literal not displayed */

esl inbound default action park. profile internal context=public => directory useragent context=default profile external context=public

View Source
const DIALPLAN_APP_SOCKET = `` /* 580-byte string literal not displayed */

esl outbound default action socket. profile internal context=public => directory useragent context=default profile external context=public

View Source
const DIRECTORY = `
<document type="freeswitch/xml" encoding="UTF-8">
  <section name="directory">
    %s
  </section>
</document>`
View Source
const DOMAIN = `` /* 419-byte string literal not displayed */
View Source
const NOT_FOUND = `` /* 172-byte string literal not displayed */
View Source
const USERAGENT = `` /* 594-byte string literal not displayed */
View Source
const USERAGENT_A1HASH = `` /* 593-byte string literal not displayed */
View Source
const USERAGENT_REVERSE = `` /* 380-byte string literal not displayed */
View Source
const VARS_NEW_PASSWORD_WITH_IPV4_AND_PGHANDLE = `` /* 249-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type Fsconf

type Fsconf struct {
	// contains filtered or unexported fields
}

func DefaultConf

func DefaultConf() *Fsconf

func New

func New(conf string, bakext string) *Fsconf

func NewConf

func NewConf(conf string) *Fsconf

func (*Fsconf) Comment

func (p *Fsconf) Comment(file string, content []byte) error

func (*Fsconf) Dir

func (p *Fsconf) Dir() string

func (*Fsconf) Init

func (p *Fsconf) Init() error

func (*Fsconf) IsInited

func (p *Fsconf) IsInited() bool

func (*Fsconf) Reset

func (p *Fsconf) Reset() error

func (*Fsconf) Uncomment

func (p *Fsconf) Uncomment(filename string, content []byte) error

func (*Fsconf) Update

func (p *Fsconf) Update(file string, old []byte, new []byte) error

Directories

Path Synopsis
acl
av

Jump to

Keyboard shortcuts

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