processapi

package
v0.0.0-...-4d35127 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiResponse

type ApiResponse struct {
	Status int
	Data   interface{}
}

type ApiResponseCallback

type ApiResponseCallback func(*ApiResponse)

type ProcessAPI

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

func NewProcessAPI

func NewProcessAPI(url, apiKey string, timeout time.Duration, logger *zap.SugaredLogger, concurrent int) *ProcessAPI

func (*ProcessAPI) Await

func (s *ProcessAPI) Await(callback common.Callback)

func (*ProcessAPI) FindUserAsync

func (s *ProcessAPI) FindUserAsync(callback ApiResponseCallback, email string)

func (*ProcessAPI) GetAllOrdersAsync

func (s *ProcessAPI) GetAllOrdersAsync(callback ApiResponseCallback)

func (*ProcessAPI) GetOrderByIdAsync

func (s *ProcessAPI) GetOrderByIdAsync(callback ApiResponseCallback, orderId string)

func (*ProcessAPI) GetOrderDetailsByIdAsync

func (s *ProcessAPI) GetOrderDetailsByIdAsync(callback ApiResponseCallback, orderId string)

func (*ProcessAPI) GetOrdersByDomainAsync

func (s *ProcessAPI) GetOrdersByDomainAsync(callback ApiResponseCallback, domainId string)

func (*ProcessAPI) GetOrdersByEmailAsync

func (s *ProcessAPI) GetOrdersByEmailAsync(callback ApiResponseCallback, email string)

func (*ProcessAPI) GetUrl

func (s *ProcessAPI) GetUrl(path string) string

func (*ProcessAPI) HasActiveRequest

func (s *ProcessAPI) HasActiveRequest() bool

Jump to

Keyboard shortcuts

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