billing

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

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()

Jump to

Keyboard shortcuts

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