Documentation
¶
Overview ¶
ftpserver allows to create your own FTP(S) server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FTPLogin ¶
func FTPLogin() (*ftp.ServerConn, error)
The ftp client is for CDR Pull method, that is the billing domain actively query CDR file from CHF
func PullCDRFile ¶
func PullCDRFile(c *ftp.ServerConn, fileName string) ([]byte, error)
Types ¶
type BillingDomain ¶
type BillingDomain struct {
// contains filtered or unexported fields
}
func OpenServer ¶
func OpenServer(wg *sync.WaitGroup) *BillingDomain
The ftp server is for CDR Push method, that is the CHF will send the CDR file to the FTP server
func (*BillingDomain) Serve ¶
func (b *BillingDomain) Serve()
func (*BillingDomain) Stop ¶
func (b *BillingDomain) Stop()
Click to show internal directories.
Click to hide internal directories.