events_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 EVENTS

type EVENTS interface {
	GetEventsGET(*time.Time, models_pkg.EventsEnum, models_pkg.SortEnum, *time.Time, *int64, *int64, *string, *string, *string, *string) (interface{}, error)
}

* Interface for the EVENTS_IMPL

type EVENTS_IMPL

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

* Client structure as interface implementation

func NewEVENTS

func NewEVENTS(config configuration_pkg.CONFIGURATION) *EVENTS_IMPL

* Factory for the EVENTS interaface returning EVENTS_IMPL

func (*EVENTS_IMPL) GetEventsGET

func (me *EVENTS_IMPL) GetEventsGET(
	startdate *time.Time,
	events models_pkg.EventsEnum,
	sort models_pkg.SortEnum,
	enddate *time.Time,
	offset *int64,
	limit *int64,
	subject *string,
	xapiheader *string,
	fromaddress *string,
	email *string) (interface{}, error)

*

* Lets you to retrieve the email transaction logs.
* @param    *time.Time                   startdate       parameter: Required
* @param    models_pkg.EventsEnum        events          parameter: Optional
* @param    models_pkg.SortEnum          sort            parameter: Optional
* @param    *time.Time                   enddate         parameter: Optional
* @param    *int64                       offset          parameter: Optional
* @param    *int64                       limit           parameter: Optional
* @param    *string                      subject         parameter: Optional
* @param    *string                      xapiheader      parameter: Optional
* @param    *string                      fromaddress     parameter: Optional
* @param    *string                      email           parameter: Optional
* @return	Returns the interface{} response from the API call

Jump to

Keyboard shortcuts

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