Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MemoryClient ¶
type MemoryClient struct { UploadRequests []map[string]interface{} // contains filtered or unexported fields }
MemoryClient is used for testing Amplitude events are sent without sending anything to Amplitude API
func UseMemoryClient ¶
func UseMemoryClient() *MemoryClient
func (*MemoryClient) LastEvent ¶
func (c *MemoryClient) LastEvent() (map[string]interface{}, error)
func (*MemoryClient) Size ¶
func (c *MemoryClient) Size() int
Click to show internal directories.
Click to hide internal directories.