request

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2025 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallationFrom

func InstallationFrom(ctx context.Context) (*core.Installation, bool)

InstallationFrom returns the value of the installation key on the ctx

func MembershipFrom

func MembershipFrom(ctx context.Context) (*core.Membership, bool)

MembershipFrom returns the value of the perm key on the ctx

func UserFrom

func UserFrom(ctx context.Context) (*core.User, bool)

UserFrom returns the value of the user key on the ctx

func WithInstallation

func WithInstallation(parent context.Context, installation *core.Installation) context.Context

WithInstallation returns a copy of parent in which the installation value is set

func WithMembership

func WithMembership(parent context.Context, membership *core.Membership) context.Context

WithMemberWithMembership returns a copy of parent in which the membership value is set

func WithUser

func WithUser(parent context.Context, user *core.User) context.Context

WithUser returns a copy of parent in which the user value is set

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL