context_data

package
v0.0.0-...-5b4c5eb Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIToken

func GetAPIToken(ctx context.Context) (string, error)

func GetGAMeasurementEvent

func GetGAMeasurementEvent(ctx context.Context) (*model2.GAMeasurementEvent, error)

func GetLoggedInUser

func GetLoggedInUser(ctx context.Context) (*model.User, error)

func GetTrackingID

func GetTrackingID(ctx context.Context) (string, error)

func MustGAMeasurementEvent

func MustGAMeasurementEvent(ctx context.Context) *model2.GAMeasurementEvent

func MustLoggedInUser

func MustLoggedInUser(ctx context.Context) *model.User

func MustTrackingID

func MustTrackingID(ctx context.Context) string

func SetAPIToken

func SetAPIToken(ctx context.Context, apiToken string) context.Context

func SetGAMeasurementEvent

func SetGAMeasurementEvent(ctx context.Context, v *model2.GAMeasurementEvent) context.Context

func SetLoggedInUser

func SetLoggedInUser(ctx context.Context, user *model.User) context.Context

func SetTrackingID

func SetTrackingID(ctx context.Context, trackingID string) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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