stats_pkg

package
Version: v5.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type STATS

type STATS interface {
	GetStatsGET(*time.Time, *time.Time, models_pkg.AggregatedByEnum, *int64, *int64) (interface{}, error)
}

* Interface for the STATS_IMPL

type STATS_IMPL

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

* Client structure as interface implementation

func NewSTATS

func NewSTATS(config configuration_pkg.CONFIGURATION) *STATS_IMPL

* Factory for the STATS interaface returning STATS_IMPL

func (*STATS_IMPL) GetStatsGET

func (me *STATS_IMPL) GetStatsGET(
	startdate *time.Time,
	enddate *time.Time,
	aggregatedBy models_pkg.AggregatedByEnum,
	offset *int64,
	limit *int64) (interface{}, error)

*

* Lets you fetch all the subaccounts created by you
* @param    *time.Time                         startdate         parameter: Required
* @param    *time.Time                         enddate           parameter: Optional
* @param    models_pkg.AggregatedByEnum        aggregatedBy      parameter: Optional
* @param    *int64                             offset            parameter: Optional
* @param    *int64                             limit             parameter: Optional
* @return	Returns the interface{} response from the API call

Source Files

Jump to

Keyboard shortcuts

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