Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) PostEvent ¶
func (a *API) PostEvent(ctx context.Context, p facebookgen.EventRequest) (facebookgen.ResponseSuccess, error)
PostEvent hashes the fields that require hashing (UserData) and sends the event.
This call will hash fields, but the caller is expected to make sure they're in correct format.
func (*API) RawSend ¶
func (a *API) RawSend(ctx context.Context, p facebookgen.EventRequest) (facebookgen.ResponseSuccess, *http.Response, error)
RawSend does not hash the fields but just posts instead.
May want to use `PostEvent` instead.
Click to show internal directories.
Click to hide internal directories.