Documentation ¶
Index ¶
- Variables
- func CreateCredentials()
- func CreateSession()
- func CreateUser()
- func DeleteCredential()
- func DeleteUser()
- func DownloadAttachments()
- func DownloadFile(filepath string, url string)
- func GetAccounts()
- func GetAttachments()
- func GetCredentials()
- func GetDocuments()
- func GetSitesByOrganization()
- func GetTransactions()
- func GetUsers()
- func ModifyUser()
- func SetCredentials(credentials string)
- func SetDebug(debug bool)
- func SetIDAccount(idAccount string)
- func SetIDCredential(idCredential string)
- func SetIDJob(idJob string)
- func SetIDSite(idSite string)
- func SetIDTransaction(idTransaction string)
- func SetIDUser(idUser string)
- func SetToken(token string)
- func SetTransactionLimit(transactionLimit int)
- func SetUserName(userName string)
- func Setup(baseURL string, apiKey string)
- func VerifySessions()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // APIkey for all API requests APIkey string // BaseURL for all API requests BaseURL string // Credentials used on requests Credentials string // Debug option on request Debug bool // IDAccount for requests IDAccount string // IDCredential for requests IDCredential string // IDJob for documents requests IDJob string // IDSite for requests IDSite string // IDTransaction for requests IDTransaction string // IDUser for requests IDUser string // Token used on requests Token string // TransactionLimit for requests TransactionLimit int // UserName for requests UserName string )
Functions ¶
func DownloadFile ¶
DownloadFile will download a url to a local file. It's efficient because it will write as it downloads and not load the whole file into memory.
func SetTransactionLimit ¶
func SetTransactionLimit(transactionLimit int)
SetTransactionLimit for requests
Types ¶
This section is empty.
Source Files ¶
- create_credentials.go
- create_session.go
- create_user.go
- delete_credential.go
- delete_user.go
- download_attachments.go
- get_accounts.go
- get_attachments.go
- get_catalogues_organizations_sites.go
- get_credentials.go
- get_documents.go
- get_transactions.go
- get_users.go
- modify_user.go
- set_environment.go
- verify_sessions.go
Click to show internal directories.
Click to hide internal directories.