Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextHandler ¶
type ContextHandler interface { SetUser(context.Context, *user.SignedInUser) context.Context GetUser(context.Context) *user.SignedInUser }
func ProvideContextHandler ¶
func ProvideContextHandler(tracer tracing.Tracer) ContextHandler
type GRPCServerContext ¶
type GRPCServerContext struct { SignedInUser *user.SignedInUser Tracer tracing.Tracer Logger log.Logger }
func FromContext ¶
func FromContext(ctx context.Context) *GRPCServerContext
Click to show internal directories.
Click to hide internal directories.