Documentation ¶
Overview ¶
Package fixtures provid fake data so we can mock the `Client` struct in mailjet_client.go
Index ¶
- type Fixtures
- func (f *Fixtures) Contact() (*[]resources.Contact, []byte)
- func (f *Fixtures) ContactList() (*[]resources.Contactslist, []byte)
- func (f *Fixtures) ListRecipient() (*[]resources.Listrecipient, []byte)
- func (f *Fixtures) Read(v interface{}) error
- func (f *Fixtures) Sender() (*[]resources.Sender, []byte)
- func (f *Fixtures) User() (*[]resources.User, []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fixtures ¶
type Fixtures struct {
// contains filtered or unexported fields
}
Fixtures definition
func New ¶
func New() *Fixtures
New loads fixtures in memory by iterating through its fixture method
func (*Fixtures) ContactList ¶
func (f *Fixtures) ContactList() (*[]resources.Contactslist, []byte)
ContactList fixture info
func (*Fixtures) ListRecipient ¶
func (f *Fixtures) ListRecipient() (*[]resources.Listrecipient, []byte)
ListRecipient fixture info
Click to show internal directories.
Click to hide internal directories.