Documentation ¶
Index ¶
Constants ¶
View Source
const ( // const keys used to pass values from gRPC methods to http mux interface SessionIDGatewayKey = "gateway-session-id" SessionDeleteGatewayKey = "gateway-session-delete" UserTokenGatewayKey = "gateway-user-token" LocationGatewayKey = "gateway-location" UserSecretGatewayKey = "gateway-user-secret" // UserTokenRequestKey is returned from the application to client containing user details in // response headers UserTokenRequestKey = "x-user-token" // LocationRequestKey is used to set location response header for redirecting browser LocationRequestKey = "location" // ProjectRequestKey is used to set current project in jwt token ProjectRequestKey = "x-project" // SessionRequestKey is the key to store session value in browser SessionRequestKey = "sid" // StripeTestClockRequestKey is used to store stripe test clock id which will // be used to simulate a customer & subscription StripeTestClockRequestKey = "x-stripe-test-clock" )
Variables ¶
View Source
var ( // AuthenticatedPrincipalContextKey is context key that contains the principal object AuthenticatedPrincipalContextKey = contextKey{/* contains filtered or unexported fields */} AuditActorContextKey = contextKey{/* contains filtered or unexported fields */} AuditMetadataContextKey = contextKey{/* contains filtered or unexported fields */} AuditServiceContextKey = contextKey{/* contains filtered or unexported fields */} // BillingStripeTestClockContextKey is context key that contains the stripe test clock id BillingStripeTestClockContextKey = contextKey{/* contains filtered or unexported fields */} )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.