Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GTag ¶
type GTag struct {
// contains filtered or unexported fields
}
func (*GTag) HTTPClient ¶
type GTagHandler ¶
func GTagMiddlewarClientID ¶
func GTagMiddlewarClientID(next GTagHandler) GTagHandler
func GTagMiddlewarIsDebug ¶
func GTagMiddlewarIsDebug(next GTagHandler) GTagHandler
func GTagMiddlewareRichsstsse ¶
func GTagMiddlewareRichsstsse(next GTagHandler) GTagHandler
type GTagMiddleware ¶
type GTagMiddleware func(next GTagHandler) GTagHandler
func GTagMiddlewarProtocolVersion ¶
func GTagMiddlewarProtocolVersion(v string) GTagMiddleware
func GTagMiddlewarSessionID ¶
func GTagMiddlewarSessionID(measurementID string) GTagMiddleware
func GTagMiddlewareTrackingID ¶
func GTagMiddlewareTrackingID(v string) GTagMiddleware
type GTagOption ¶
type GTagOption func(*GTag)
func GTagWithCookies ¶
func GTagWithCookies(v ...string) GTagOption
func GTagWithHTTPClient ¶
func GTagWithHTTPClient(v *http.Client) GTagOption
func GTagWithMiddlewares ¶
func GTagWithMiddlewares(v ...GTagMiddleware) GTagOption
func GTagWithPath ¶
func GTagWithPath(v string) GTagOption
type MPv2 ¶
type MPv2 struct {
// contains filtered or unexported fields
}
func (*MPv2) HTTPClient ¶
type MPv2Handler ¶
func MPv2MiddlewarClientID ¶
func MPv2MiddlewarClientID(next MPv2Handler) MPv2Handler
func MPv2MiddlewarDebugMode ¶
func MPv2MiddlewarDebugMode(next MPv2Handler) MPv2Handler
func MPv2MiddlewareTimestamp ¶ added in v0.4.0
func MPv2MiddlewareTimestamp(next MPv2Handler) MPv2Handler
type MPv2Middleware ¶
type MPv2Middleware func(next MPv2Handler) MPv2Handler
func MPv2MiddlewarSessionID ¶ added in v0.4.0
func MPv2MiddlewarSessionID(measurementID string) MPv2Middleware
func MPv2MiddlewareUserID ¶ added in v0.4.0
func MPv2MiddlewareUserID(cookieName string) MPv2Middleware
type MPv2Option ¶
type MPv2Option func(*MPv2)
func MPv2WithAPISecret ¶ added in v0.4.0
func MPv2WithAPISecret(v string) MPv2Option
func MPv2WithCookies ¶
func MPv2WithCookies(v ...string) MPv2Option
func MPv2WithHTTPClient ¶
func MPv2WithHTTPClient(v *http.Client) MPv2Option
func MPv2WithMeasurementID ¶ added in v0.4.0
func MPv2WithMeasurementID(v string) MPv2Option
func MPv2WithMiddlewares ¶
func MPv2WithMiddlewares(v ...MPv2Middleware) MPv2Option
func MPv2WithPath ¶
func MPv2WithPath(v string) MPv2Option
Click to show internal directories.
Click to hide internal directories.