Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct { IsAdmin bool CanView bool CanEdit bool HasSolved bool ReviewRef string UpdatedFiles map[string]io.Reader Metrics base.Metrics }
Context stores a few variables that are request-specific.
func FromContext ¶
FromContext unwraps a Context from the provided context.Context.
Click to show internal directories.
Click to hide internal directories.