Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestContext ¶
type RequestContext struct { context.Context // These are also stored on the context object itself Log *logrus.Entry // common.ContextLogger Config config.DomainRepoConfig // common.ContextServerConfig Request *http.Request // common.ContextRequest }
func Initial ¶
func Initial() RequestContext
func InitialNoConfig ¶
func InitialNoConfig() RequestContext
func (RequestContext) AsBackground ¶ added in v1.3.5
func (c RequestContext) AsBackground() RequestContext
func (RequestContext) LogWithFields ¶
func (c RequestContext) LogWithFields(fields logrus.Fields) RequestContext
func (RequestContext) ReplaceLogger ¶
func (c RequestContext) ReplaceLogger(log *logrus.Entry) RequestContext
Click to show internal directories.
Click to hide internal directories.