Documentation ¶
Index ¶
- type Client
- func (c *Client) DeleteFile(fileId uint64) error
- func (c *Client) GetBalance() (float64, error)
- func (c *Client) GetFaxCost(number string, docId uint64) (float64, error)
- func (c *Client) GetFaxHistory() ([]FaxHistoryEntry, error)
- func (c *Client) GetFaxStatus(faxJobId int) (string, error)
- func (c *Client) GetFiles() ([]File, error)
- func (c *Client) SendFax(number string, fileId uint64) error
- func (c *Client) UploadFile(file string) (uint64, error)
- type FaxHistoryEntry
- type File
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteFile ¶
func (*Client) GetBalance ¶
func (*Client) GetFaxCost ¶
func (*Client) GetFaxHistory ¶
func (c *Client) GetFaxHistory() ([]FaxHistoryEntry, error)
type FaxHistoryEntry ¶
type FaxHistoryEntry struct { Id uint64 `json:"id"` Created struct { Date time.Time `json:"date"` DateTimeZone uint8 `json:"datetime_zone"` Timezone string `json:"timezone"` } `json:"created"` DocumentId uint64 `json:"document_id"` Document string `json:"document"` Recipient string `json:"recipient"` Status string `json:"status"` }
Click to show internal directories.
Click to hide internal directories.