app

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APP

type APP interface {
	UploadApp() (*models.AppInformation, error)

	DeleteUninstallApp(int64, int64) error

	CreateInstallApp(int64, int64) (*models.AppInformation, error)

	GetApps() ([]*models.AppInformation, error)
}

* Interface for the APP_IMPL

type APP_IMPL

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

* Client structure as interface implementation

func NewAPP

func NewAPP(config configuration.CONFIGURATION) *APP_IMPL

* Factory for the APP interaface returning APP_IMPL

func (*APP_IMPL) CreateInstallApp

func (me *APP_IMPL) CreateInstallApp(
	appUid int64,
	version int64) (*models.AppInformation, error)

*

  • Only purchased apps can be installed using this api.
  • @param int64 appUid parameter: Required
  • @param int64 version parameter: Required
  • @return Returns the *models.AppInformation response from the API call

func (*APP_IMPL) DeleteUninstallApp

func (me *APP_IMPL) DeleteUninstallApp(
	appUid int64,
	version int64) error

*

  • App must already been installed for this api to work.
  • @param int64 appUid parameter: Required
  • @param int64 version parameter: Required
  • @return Returns the response from the API call

func (*APP_IMPL) GetApps

func (me *APP_IMPL) GetApps() ([]*models.AppInformation, error)

*

  • Api provides the list of the apps which are available for the user to install
  • or are already installed. App object provides basic app information along with
  • app metadata.
  • @return Returns the []*models.AppInformation response from the API call

func (*APP_IMPL) UploadApp

func (me *APP_IMPL) UploadApp() (*models.AppInformation, error)

*

  • Api provides the list of the apps which are available for the user to install
  • or are already installed. App object provides basic app information along with
  • app metadata.
  • @return Returns the *models.AppInformation response from the API call

Jump to

Keyboard shortcuts

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