Documentation
¶
Index ¶
- func Adjust(email string, adjust string) (respBody []byte, err error)
- func Create(email string, firstName string, lastName string, username string, ...) (respBody []byte, err error)
- func CreateSubscription(email string, name string, apiproduct string, startTime string, endTime string) (respBody []byte, err error)
- func Credit(email string, transact string) (respBody []byte, err error)
- func Delete(email string) (respBody []byte, err error)
- func ExpireSubscriptions(email string, subscription string) (respBody []byte, err error)
- func Export() (respBody []byte, err error)
- func ExportSubscriptions(email string) (respBody []byte, err error)
- func Get(email string) (respBody []byte, err error)
- func GetApps(name string, expand bool) (respBody []byte, err error)
- func GetDeveloperId(email string) (developerId string, err error)
- func GetSubscriptions(email string, subscription string) (respBody []byte, err error)
- func Import(conn int, filePath string) error
- func List(count int, expand bool, ids string) (respBody []byte, err error)
- func ListSubscriptions(email string) (respBody []byte, err error)
- type Appdeveloper
- type Appdevelopers
- type Attribute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(email string, firstName string, lastName string, username string, attrs map[string]string) (respBody []byte, err error)
Create
func CreateSubscription ¶
func ExpireSubscriptions ¶
ExpireSubscriptions
func ExportSubscriptions ¶
ExportSubscriptions
func GetDeveloperId ¶
GetDeveloperId
func GetSubscriptions ¶
GetSubscriptions
func ListSubscriptions ¶
ListSubscriptions
Types ¶
type Appdeveloper ¶
type Appdeveloper struct {
EMail string `json:"email,omitempty"`
FirstName string `json:"firstName,omitempty"`
LastName string `json:"lastName,omitempty"`
Attributes []Attribute `json:"attributes,omitempty"`
Username string `json:"userName,omitempty"`
DeveloperId string `json:"developerId,omitempty"`
}
Appdevelopers holds a single developer
type Appdevelopers ¶
type Appdevelopers struct {
Developer []Appdeveloper `json:"developer,omitempty"`
}
Appdevelopers hold an array of developers
func ReadDevelopersFile ¶
func ReadDevelopersFile(filePath string) (Appdevelopers, error)
ReadDevelopersFile
Click to show internal directories.
Click to hide internal directories.