Documentation ¶ Index ¶ func ClientIPFrom(ctx context.Context) string func UserFrom(ctx context.Context) (*core.User, bool) func WithClientIP(ctx context.Context, ip string) context.Context func WithUser(ctx context.Context, user *core.User) context.Context Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ClientIPFrom ¶ func ClientIPFrom(ctx context.Context) string func UserFrom ¶ func UserFrom(ctx context.Context) (*core.User, bool) func WithClientIP ¶ func WithClientIP(ctx context.Context, ip string) context.Context func WithUser ¶ func WithUser(ctx context.Context, user *core.User) context.Context Types ¶ This section is empty. Source Files ¶ View all Source files request.go Click to show internal directories. Click to hide internal directories.