Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithSessionData ¶
func ContextWithSessionData(ctx context.Context, data *SessionData) context.Context
Types ¶
type SessionData ¶
type SessionData struct { SessionID string LpaID string // if a supporter Email string OrganisationID string }
func SessionDataFromContext ¶
func SessionDataFromContext(ctx context.Context) (*SessionData, error)
type SessionMissingError ¶
type SessionMissingError struct{}
func (SessionMissingError) Error ¶
func (s SessionMissingError) Error() string
Click to show internal directories.
Click to hide internal directories.