apilogic

package
v0.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildHandleRequest

func BuildHandleRequest(req *http.Request) (*handle.Request, error)

BuildHandleRequest builds a handle.Request object from the API Gateway request

func HandleCampaigns

func HandleCampaigns(w http.ResponseWriter, req *http.Request, decisionContext *connectors.DecisionContext, handleDecision func(http.ResponseWriter, *handle.Request, error), tracker *common.Tracker)

HandleCampaigns get campaigns from request, add checks and side effect and return response

func SendVisitorContext

func SendVisitorContext(handleRequest *handle.Request)

SendVisitorContext sends a pubsub event to handle visitor context

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL