opfsgw

package
v0.0.0-...-88bad87 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Xmlpath string

Functions

This section is empty.

Types

type Fs_Gateway

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

func (*Fs_Gateway) EarseGateway

func (f *Fs_Gateway) EarseGateway(gateway string) error

func (*Fs_Gateway) FileIsExist

func (f *Fs_Gateway) FileIsExist(filename string) bool

func (*Fs_Gateway) GetAGateway

func (f *Fs_Gateway) GetAGateway(gw_name string) Fs_Gateway

func (*Fs_Gateway) GetAllGw

func (f *Fs_Gateway) GetAllGw() ([]Fs_Gateway, bool)

func (*Fs_Gateway) GetCallerIdInFrom

func (f *Fs_Gateway) GetCallerIdInFrom() string

func (*Fs_Gateway) GetContactParams

func (f *Fs_Gateway) GetContactParams() string

func (*Fs_Gateway) GetExpireSeconds

func (f *Fs_Gateway) GetExpireSeconds() string

func (*Fs_Gateway) GetExtension

func (f *Fs_Gateway) GetExtension() string

func (*Fs_Gateway) GetFilename

func (f *Fs_Gateway) GetFilename() string

func (*Fs_Gateway) GetFromDomain

func (f *Fs_Gateway) GetFromDomain() string

func (*Fs_Gateway) GetFromUser

func (f *Fs_Gateway) GetFromUser() string

func (*Fs_Gateway) GetFromuser

func (f *Fs_Gateway) GetFromuser() string

func (*Fs_Gateway) GetGateway

func (f *Fs_Gateway) GetGateway() Fs_Gateway

func (*Fs_Gateway) GetGatewayName

func (f *Fs_Gateway) GetGatewayName() string

func (*Fs_Gateway) GetOutboundProxy

func (f *Fs_Gateway) GetOutboundProxy() string

func (*Fs_Gateway) GetPassword

func (f *Fs_Gateway) GetPassword() string

func (*Fs_Gateway) GetPing

func (f *Fs_Gateway) GetPing() string

func (*Fs_Gateway) GetProxy

func (f *Fs_Gateway) GetProxy() string

func (*Fs_Gateway) GetRealm

func (f *Fs_Gateway) GetRealm() string

func (*Fs_Gateway) GetRegister

func (f *Fs_Gateway) GetRegister() string

func (*Fs_Gateway) GetRegisterProxy

func (f *Fs_Gateway) GetRegisterProxy() string
func (f *Fs_Gateway) GetSeq() int {
	return f.seq
}

func (*Fs_Gateway) GetRegisterTransport

func (f *Fs_Gateway) GetRegisterTransport() string

func (*Fs_Gateway) GetRetrySeconds

func (f *Fs_Gateway) GetRetrySeconds() string

func (*Fs_Gateway) GetUsername

func (f *Fs_Gateway) GetUsername() string

func (*Fs_Gateway) GetXmlPath

func (f *Fs_Gateway) GetXmlPath() (string, bool)

func (*Fs_Gateway) LoadXmlFile

func (f *Fs_Gateway) LoadXmlFile(filename string) (*Fs_Gateway, error)

func (*Fs_Gateway) MySenquence

func (f *Fs_Gateway) MySenquence(key int) (keyadd int)

func (*Fs_Gateway) SaveFile

func (f *Fs_Gateway) SaveFile() error

func (*Fs_Gateway) SetCallerIdInFrom

func (f *Fs_Gateway) SetCallerIdInFrom(value string)

func (*Fs_Gateway) SetContactParams

func (f *Fs_Gateway) SetContactParams(value string)

func (*Fs_Gateway) SetExpireSeconds

func (f *Fs_Gateway) SetExpireSeconds(value string)

func (*Fs_Gateway) SetExtension

func (f *Fs_Gateway) SetExtension(value string)

func (*Fs_Gateway) SetFromDomain

func (f *Fs_Gateway) SetFromDomain(value string)

func (*Fs_Gateway) SetFromUser

func (f *Fs_Gateway) SetFromUser(value string)

func (*Fs_Gateway) SetGatewayName

func (f *Fs_Gateway) SetGatewayName(value string)

func (*Fs_Gateway) SetOutboundProxy

func (f *Fs_Gateway) SetOutboundProxy(value string)

func (*Fs_Gateway) SetPassword

func (f *Fs_Gateway) SetPassword(value string)

func (*Fs_Gateway) SetPing

func (f *Fs_Gateway) SetPing(value string)

func (*Fs_Gateway) SetProxy

func (f *Fs_Gateway) SetProxy(value string)

func (*Fs_Gateway) SetRealm

func (f *Fs_Gateway) SetRealm(value string)

func (*Fs_Gateway) SetRegister

func (f *Fs_Gateway) SetRegister(value string)

func (*Fs_Gateway) SetRegisterProxy

func (f *Fs_Gateway) SetRegisterProxy(value string)

func (*Fs_Gateway) SetRegisterTransport

func (f *Fs_Gateway) SetRegisterTransport(value string)

func (*Fs_Gateway) SetRetrySeconds

func (f *Fs_Gateway) SetRetrySeconds(value string)

func (*Fs_Gateway) SetUsername

func (f *Fs_Gateway) SetUsername(value string)

func (*Fs_Gateway) SetXmlPath

func (f *Fs_Gateway) SetXmlPath(xmlpath string)

func (*Fs_Gateway) WriteXmlFile

func (f *Fs_Gateway) WriteXmlFile(filename string) (bool, error)

type Gw

type Gw struct {
	XMLName xml.Name  `xml:"gateway"`
	Name    string    `xml:"name,attr"`
	Params  []Paramgw `xml:"param"`
}

type Paramgw

type Paramgw struct {
	XMLName xml.Name `xml:"param"`
	Name    string   `xml:"name,attr"`
	Value   string   `xml:"value,attr"`
}

/////////////////////////////////////////////////////////// 以下struct用于读取xml ///////////////////////////////////////////////////////////

Jump to

Keyboard shortcuts

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